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

Configuration of ATMEL-ICE #109

Closed
dpeinado opened this issue May 17, 2020 · 1 comment
Closed

Configuration of ATMEL-ICE #109

dpeinado opened this issue May 17, 2020 · 1 comment

Comments

@dpeinado
Copy link

dpeinado commented May 17, 2020

Hello, I'm using Arduino Due with Atmel-Ice for debugging.
As found in other discussion: https://community.platformio.org/t/help-with-pio-debugger-using-atmel-ice-and-arduino-due/8759/34

I needed to put in my platformio.init
debug_server =
/home/user/.platformio/packages/tool-openocd/bin/openocd -d2 -s
/home/user/.platformio/packages/tool-openocd/scripts -f interface/cmsis-dap.cfg
-c "set CHIPNAME at91sam3X8E"
-c "source [find target/at91sam3ax_8x.cfg

This is independent of the IDE used. I have to include this code using VS and using CLion.
It should be done by default. Thanks.

@valeros
Copy link
Member

valeros commented May 19, 2020

Hi @dpeinado ! Thanks for the report. Could you please delete your custom debug_server option and try the upstream version of the platform:

[env:due]
platform = https://github.com/platformio/platform-atmelsam.git
framework = arduino
board = due
debug_tool = atmel-ice

Thanks!

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

No branches or pull requests

2 participants