Yahoo Groups archive

AVR-Chat

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

Thread

Urgent help needed: JTAG Programming and Debugging of ATMega1284p with AVR Studio

Urgent help needed: JTAG Programming and Debugging of ATMega1284p with AVR Studio

2012-02-06 by Chuck Hackett

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

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
Show quoted textHide quoted text
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]

Re: Urgent help needed: JTAG Programming and Debugging of ATMega1284p with AVR Studio

2012-02-06 by ecros_technology

--- In AVR-Chat@yahoogroups.com, "Chuck Hackett" <egroupscdh@...> wrote:
>
> ... AVRStudio 4 (4.18.716) ... does not
> support debugging of the ATMega1284P via
> JTAG ICE ...

The AVR JTAG-ICE (Mark I) does not support the ATmega1284P.  I recommend that you buy an AVR Dragon.  They are less than $50 from Mouser.  You will be fine with AVR Studio 4; it is not necessary to switch to AVR Studio 5.

Graham.

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

2012-02-06 by John Samperi

At 03:44 AM 7/02/2012, you wrote:
>1) Upgrade to AVR Studio 5

That will only make things extremely WORSE.



Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

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

2012-02-06 by Chuck Hackett

> From: John Samperi
> >1) Upgrade to AVR Studio 5
> 
> That will only make things extremely WORSE.

Thanks Graham, Steve & John,

I figured I'd have to upgrade to the Dragon.  I had added it to my Mouser
shopping cart but waited for confirmation from here.

Sigh ... my JTAG Ice-Cube has been such a trusty friend ...

Thanks also for the confirmation on NOT upgrading to Studio 5.  Sad that
they haven't got it squared away yet ...
 
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

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

2012-02-06 by bobgardner@aol.com

Studio5 will work just fine with a jtag3. Just use it as a programmer. Seems like you could program with avrdude and debug by inserting print statements.
Show quoted textHide quoted text
-----Original Message-----
From: Chuck Hackett <egroupscdh@up844.us>
To: AVR-Chat <AVR-Chat@yahoogroups.com>
Sent: Mon, Feb 6, 2012 4:50 pm
Subject: RE: [AVR-Chat] Urgent help needed: JTAG Programming and Debugging of ATMega1284p with AVR Studio



 From: John Samperi
 >1) Upgrade to AVR Studio 5
 
 That will only make things extremely WORSE.
Thanks Graham, Steve & John,
I figured I'd have to upgrade to the Dragon.  I had added it to my Mouser
hopping cart but waited for confirmation from here.
Sigh ... my JTAG Ice-Cube has been such a trusty friend ...
Thanks also for the confirmation on NOT upgrading to Studio 5.  Sad that
hey haven't got it squared away yet ...

heers,
Chuck Hackett
Good judgment comes from experience, experience comes from bad judgment"
.5" gauge Union Pacific Northern (4-8-4) 844
ttp://www.whitetrout.net/Chuck

------------------------------------
Yahoo! Groups Links
   Individual Email | Traditional
   http://docs.yahoo.com/info/terms/



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

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.