Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to debug FreeRTOS #647

Closed
shineviayan opened this issue Jan 28, 2017 · 4 comments
Closed

How to debug FreeRTOS #647

shineviayan opened this issue Jan 28, 2017 · 4 comments

Comments

@shineviayan
Copy link

I want to use Sloeber to compile and debug FreeRTOS Task on Arduino Due.
Is this supported ? All pointers are welcome

Thanks in advance
-Shine

@jantje
Copy link
Member

jantje commented Jan 28, 2017

As far as I know the due has no native feature to debug.
So this would require a debugger.

@freeck
Copy link

freeck commented Sep 13, 2017

I have adopted a very pragmatic solution for in my case debugging applications for ArduinoMini boards (this board only supports SWD- instead of JTAG-interface):

  • buy an AtmelICE module (or any other compatible ICE for your processor supported by AtmelStudio)
  • edit/compile/build with Sloeber (C/C++ build option set at -ggdb -o0)
  • thereby creating a "elf" file
  • start AtmelStudio, open the objectfile you just created
  • start debugging!

@jantje
Copy link
Member

jantje commented Dec 11, 2017

@freeck
There must be a better way. But lets discuss during the esp32 debug I want to start early next year

@jantje jantje closed this as completed Dec 11, 2017
@freeck
Copy link

freeck commented Dec 12, 2017

OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants