Urgent help needed: JTAG Programming and Debugging of ATMega1284p with AVR Studio
2012-02-06 by Chuck Hackett
Well, it turns out that I didnt do ALL my homework in preparing to switch from the ATMega32A to the ATMega1284P I have replaced the ATMega32A on ten boards with the ATMega1284P and recompiled the firmware but when I try to open the .elf file with AVRStudio 4 (4.18.716) to program and debug I find that it apparently does not support debugging of the ATMega1284P via JTAG ICE (Im actually using the ECROS JTAG ICE Cube). It apparently does support it via the Dragon, AVR ONE!, and JTAG MKII. Any way I can fool it to get from here to there? I really need to get this resolved in the next day or so I fear Ill have to: 1) Upgrade to AVR Studio 5 2) Purchase a Dragon, etc. Or, switch to GDB? I have attempted GDB with the ATMega32A before but was not successful and I fear that my timeline does not allow for the learning process at the moment unless someone has a "step-by-step" I can follow to get me started. My environment: - Windows 7 64-bit - Code::Blocks IDE - WinAVR C compiler - JTAG ICE-cube - Serial or USB datalinks available (currently using serial via an ExpressCard 16950 2 port adapter) - Target board of my own design with JTAG connections (SMD ATMega1284p so can't put it on another board for programming/debugging) If I have to purchase a new JTAG hardware device (Dragon?) what do folks recommend that won't break my bank account and I can have overnight shipped to me? Cheers, Chuck Hackett "Good judgment comes from experience, experience comes from bad judgment" 7.5" gauge Union Pacific Northern (4-8-4) 844 http://www.whitetrout.net/Chuck