Code Monkey home page Code Monkey logo

Comments (19)

kolipakakondal avatar kolipakakondal commented on June 16, 2024 1

09

Hi, How did you install the Eclipse CDT Package? Have you installed this https://www.eclipse.org/downloads/packages/release/2020-06/r/eclipse-ide-cc-developers

Looks like some of the CDT components are not installed.

from idf-eclipse-plugin.

JKSAR avatar JKSAR commented on June 16, 2024 1

09

Hi, How did you install the Eclipse CDT Package? Have you installed this https://www.eclipse.org/downloads/packages/release/2020-06/r/eclipse-ide-cc-developers

Looks like some of the CDT components are not installed.

Hello @kolipakakondal !

I did the installation of Eclipse through this link that you passed and now the Menu and Widget are appearing correctly!

Thank you!

from idf-eclipse-plugin.

kolipakakondal avatar kolipakakondal commented on June 16, 2024

I'm able to see this issue when I play around with the launch configuration or when I create a new ESP Application configuration- Until we fix this, can you please do the following:

  1. Create a new ESP-IDF Project in eclipse
  2. This will automatically create the default launch configuration with the project name(it's selected by default). We needn't change anything here.
  3. Now you should be able to see the third drop-down(Launch Target) which you're asking for - there you should create a new launch target as mentioned in the doc.

from idf-eclipse-plugin.

bbeliveau avatar bbeliveau commented on June 16, 2024

Hi Kolipakakondal,

What you said works fine. Thanks.

But when I try to execute the HelloWorld on my ESP-WROVER-KIT 4.1 using the built-in JTAG, and following all the steps concerning debugging with JTAG in Eclipse, it fails because xtensa-esp32-elf-gdb --version returns nothing. So I get this in Eclipse:

image

And if I ask for the verion in the DOS shell I get this (nothing):

image

Any idea what the problem is?
Thanks.

from idf-eclipse-plugin.

kolipakakondal avatar kolipakakondal commented on June 16, 2024

It seems to be xtensa-esp32-elf esp32-2019r1-8.2.0 is having this issue - let us check, can you try with this https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2019r2-win32.zip and this seems to work fine.

While debugging choose the newly downloaded xtensa-esp32-elf-gdb file

from idf-eclipse-plugin.

bbeliveau avatar bbeliveau commented on June 16, 2024

I'm not sure how to choose the newly downloaded xtensa-esp32-elf-gdb file. I'm not enough familiar with all of this. So I tried this:

I deleted the original content of the folder and replaced by what is in the zip file. Then I try and still get the same error. Then I called export.bat to verify if the batch file was seeing and shown this:

image

Can you help on this please?
Thanks

from idf-eclipse-plugin.

kolipakakondal avatar kolipakakondal commented on June 16, 2024

debugger

See if this can help you!

from idf-eclipse-plugin.

bbeliveau avatar bbeliveau commented on June 16, 2024

Make some progress but now I have this:
image

It says (if I translate): No Connection have been established because the target computer has expressly refused it.

I did have my ESP-Wrover_Kit 4.1 connected to my computer.

Any idea?

from idf-eclipse-plugin.

kolipakakondal avatar kolipakakondal commented on June 16, 2024

Have you started the GDB server from the command line?

Check this https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/jtag-debugging/index.html#jtag-debugging-configuring-esp32-target

You can find the demonstration here https://youtu.be/DqnZy4d03_s - check the demo part

from idf-eclipse-plugin.

bbeliveau avatar bbeliveau commented on June 16, 2024

That was it, it works, I can now debug.
Thanks you so much Kondal for your help, very appreciated!
And nice video!

Thanks again.

from idf-eclipse-plugin.

szekelyisz avatar szekelyisz commented on June 16, 2024

I have a similar issue. I also thought that the Launch Target drop-down disappeared, but then I had to realize that you need to select an entry with a different type. Here's how it looks for me:

image

You can see the Launch Target drop-down but if you select '8k_firmware Configuration', then it disappears. '8k_firmware Configuration' is I think a Debug Configuration that I created manually under "ESP-IDF GDB OpenOCD Debugging":

image

I have no idea why it shows up in the Launch Bar.

I can see on @bbeliveau's screenshots that the configuration selected there also had a different icon (that's like a crosshair, mine is an Espressif logo). The other looks like a "C program" type of icon for both of us, and that's the right one. Quite confusing.

BTW I can successfully start a debug session on my Ethernet Kit by selecting the "wrong" "8k_firmware Configuration" entry and clicking the Debug button on the Launch Bar after seeing No esp launch target found. Please create/select the correct 'Launch Target' on the build console in red...

And I am able to come up with a constellation like this:

image

Which is weird: how do I "Run" a configuration which is a Debug configuration?

from idf-eclipse-plugin.

kolipakakondal avatar kolipakakondal commented on June 16, 2024

@szekelyisz

That's an Eclipse CDT standard naming convention for defining Run and Debug configuration.

8k_firmware >> Application RUN configuration
8k_firmware Configuration >>> Application DEBUG configuration

The first drop-down defines the application launch mode - It can be either Run or Debug

If you want to compile an application - please select Run from the drop-down, this automatically selects the required configuration from the second drop-down which is 8k_firmware in your case

If you want to Debug the application, select Debug from the first drop-down, this should ideally select the required debug configuration for the selected project. However, I could see some issues here. I would request to select it manually if you see some issue here, which is 8k_firmware Configuration in your case. We will fix this soon.

We will also see how we can re-work on the naming convention for a run and debug to make it more clear.

from idf-eclipse-plugin.

steph0xr avatar steph0xr commented on June 16, 2024

@kolipakakondal

I verify the same issue on current master branch. It's very unconfortable and error prone, after modifying code while debugging, that code will not automatically build before launch debugging (the message "No esp launch target found. Please create/select the correct 'Launch Target'" is very fast and fade away as soon as debugger messages are shown). there is possibly some workaround to fix the build process while in debugging mode or we have to wait for new plugin release?

from idf-eclipse-plugin.

kolipakakondal avatar kolipakakondal commented on June 16, 2024

Hi @steph0xr

Sorry for the inconvenience, we have fixed this with #155

We will update here once it's released

from idf-eclipse-plugin.

steph0xr avatar steph0xr commented on June 16, 2024

Hi @kolipakakondal ,
can you tell me when your fix on this issue has been planned to be released?
Development it's very slow changing view for build while debugging. Moreover after some swap between view it's not possible to build anymore, even in build view, and eclipse must be restarted each time.

thanks

from idf-eclipse-plugin.

forcecodema avatar forcecodema commented on June 16, 2024

I have just installed idf-eclipse plugin on eclipse 2020-12 (windows 10). I can't see Build button widget. When I try to build project based on hello_world tmplate I see: No esp launch target found. Please create/select the correct 'Launch Target'

Please help

from idf-eclipse-plugin.

kolipakakondal avatar kolipakakondal commented on June 16, 2024

Hi @forcecodema Eclipse 2020-12 is not yet supported by the plugin, could you switch to Eclipse 2020-09 and see that helps

from idf-eclipse-plugin.

JKSAR avatar JKSAR commented on June 16, 2024

Hi,

I have installed idf-eclipse plugin on Eclipse 2020-09 (windows 10), but just like I @forcecodema I can't see Build button widget when creating an Espressif IDF Project.

IMGG1

*I'm using Java 15.0.2

Any ideia?

Regards!

from idf-eclipse-plugin.

sigmaaa avatar sigmaaa commented on June 16, 2024

The problem related to disappearing the target's drop-down menu is fixed. You can find related changes in the 2.2.0 release

from idf-eclipse-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.