From: Armin O. <arm...@gm...> - 2014-12-09 09:27:45
|
I assume you're on Linux? I did the Tracing with Wireshark (http://wiki.wireshark.org/CaptureSetup/USB). There you can set the time-display to "relative to previous captured packet" (or similar) and then you can quickly see where the USB is hanging. Hmm the DEBUGWIRE SYNC FAILD doesn't sound too good. When I'm downloading I don't have to unplug. Maybe there is some problem with the DebugWire communication alltogether. Do you have anything connected to Reset apart from the AVR Dragon? Cheers, Armin PS.: sorry missed the reply-all in the first response... so now back to the mailinglist... 2014-12-09 10:14 GMT+01:00 Rémi Pincent <mr....@la...>: > Hi Armin, > > I'm using AVaRICE version 2.13, Sep 19 2014 09:15:10. > According to sf status "AVaRICE 2.12 is the latest release."! > What is your version? > > How did you trace these USB issues? > > Another question, after flashing code using debugger, I have to > unplug/plug debugger and MCU otherwise when I launch avarice I have "set > paramater command failed: DEBUGWIRE SYNC FAILED", have you some tips in > order to solve this issue? > > Cheers > Lah > > Le 09/12/2014 10:08, Armin Otterstätter a écrit : > > Which Version of avarice are you using? > I had similar problems when using the avarice that came with an apt-get > install on a recent ubuntu (Version 2.11). I traced it down to some USB > timeout issue. But the problem is resolved in trunk. Just get the most > recent version from sf.net. > If you're on the trunk already then it'll probably be something > different... > > Cheers, > Armin > > 2014-12-09 9:54 GMT+01:00 Rémi Pincent <mr....@la...>: > >> 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. >> >> >> >> >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> >> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk >> _______________________________________________ >> avarice-user mailing list >> ava...@li... >> https://lists.sourceforge.net/lists/listinfo/avarice-user >> > > > |