Join GitHub today
Debug probe support for atmel-ice / dragon and atmega328p processor #53
Hi @warrenwoolseyiii ! Thanks for your request!
Then create a new project and modify
[env:uno] platform = atmelavr framework = arduino board = uno debug_port = :4242 debug_tool = custom debug_init_cmds = target remote $DEBUG_PORT file "$PROG_PATH" load debug_server = /path/to/avarice --edbg --debugwire --ignore-intr :4242
Now you can start debugging session from terminal using
valerii this is awesome thank you so much for getting me started. I will keep you updated with progress.…
On Tue, Jun 20, 2017 at 5:14 AM, Valerii Koval ***@***.***> wrote: Hi @warrenwoolseyiii <https://github.com/warrenwoolseyiii> ! Thanks for your request! We don't have required hardware, so it would be great if you could help us implement initial support for debugging in atmelavr platform. First steps: Install the development version of atmelavr: pio platform uninstall atmelavr pio platform install https://github.com/platformio/platform-atmelavr.git Then create a new project and modify platformio.ini to fit your needs, e.g.: [env:uno]platform = atmelavrframework = arduinoboard = unodebug_port = :4242debug_tool = customdebug_init_cmds = target remote $DEBUG_PORT file "$PROG_PATH" load tb maindebug_server = /path/to/avarice --edbg --debugwire --ignore-intr :4242 Now you can start debugging session from terminal using pio debug --interface gdb Some of above commands might now work, especially load (in this case you will need to upload debug version of firmware manually using avrdude) — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#53 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AF0ZGieEa6Y7OCXg32q_uMYeLgdEGNXHks5sF7eMgaJpZM4N-kdg> .
-- Warren Woolsey firstname.lastname@example.org 805 602 0458
I tried this and got:
With PlatformIO 3.5.1 I get: