As Andreas Løhre wrote: > I have attached a couple of the failing runs on my Atmega2560. The device > is running at 8MHz and no clkdiv8.
Kinda strange, it's always the "start debugging" command that fails, i.e. the target doesn't answer the JTAG initialization. Curious, is the board's JTAG known to work well? I.e., could you attach a JTAGICEmkII to the same board, and it works? You might also give the -R (aka. --reset-srst) option a try, to force an external reset through nSRST when attaching. This can e.g. help in situations where the target is asleep by the time you try connecting. Ahem, I have not implemented automatically setting the OCDEN fuse before starting the debugging session. That's not perchance your problem? Use AVRDUDE to set this fuse first, please (by now). -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ avarice-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/avarice-user
