From: Rémi P. <mr....@la...> - 2014-12-09 08:55:09
|
Hi all, I'm debugging ATmega328p with avarice + avr-gdb + avrdragon using debugWire. My binary is compiled with following options : -g2 -gstabs -O0 -ffunction-sections -fdata-sections -std=gnu99 All is right... But debugging is very slow, stepping is awfully slow (~5s), and breaking is also quite slow (~2s). Moreover if have often to reflash code, it seems flash get corrupted when debug sessions does not finish cleanly. I've written topic about this issue here http://www.avrfreaks.net/forum/avrdragon-debugwire-atmega328p-nice-unusable But for now, I haven't found any people working with a usable debugging environment with debugWire and avr-gdb... Suggestions are about changing toolchain and debugging tools in order to use some proprietary solutions... Have you got some suggestions in order to debug efficiently? Regards. |