Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

RE: [AVR-Chat] Urgent help needed: JTAG Programming and Debugging of ATMega1284p with AVR Studio

2012-02-06 by Steven Hodge

A Dragon should not break the bank account.   Steve

 

From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of Chuck Hackett
Sent: Monday, February 06, 2012 8:44 AM
To: AVR-Chat
Subject: [AVR-Chat] Urgent help needed: JTAG Programming and Debugging of
ATMega1284p with AVR Studio

 

  

Well, it turns out that I didn't 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 (I'm 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 I'll 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





[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.