Yahoo Groups archive

AVR-Chat

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

Thread

ATMega644 to replace an ATMega32A, Need new JTAG?

ATMega644 to replace an ATMega32A, Need new JTAG?

2011-01-21 by Chuck Hackett

Well it's an old story and I should have known better but I am running out of memory
on my controller and I need to upsize and I only have a couple of weeks to get this
done.

I'm looking at switching from an ATMega32a in a TQFP-44 to a ATMega644 in a TQFP-44.

Due to the fact that the boards are already made, I need to stick with the TQFP-44
package and ATMega32 pin assignments.

I have compared the pin assignments and the "Features List" at the top of the
respective data sheets and it appears that the ATMega644 will work for me.

I have also looked at Atmel's Application Note: "AVR505: Migration between
ATmega16/32 and ATmega164P/324P/644P", which states, in part:

"The ATmega164P and the ATmega324P are new and enhanced versions of the ATmega16 and
the ATmega32 respectively, and ATmega644P is a new 64kB device with the same
features. An important improvement is the possibility for low voltage operation
(1.8V) with ATmega164P/324P/644P and decreased power consumption.
ATmega164P/324P/644P also features an extra USART and can run at frequencies up to
20 MHz."

"This application note summarizes the differences between ATmega16/32 and
ATmega164P/324P/644P and is a guide to assist current ATmega16/32 users in
converting existing designs to the ATmega164P/324P/644P."

I see nothing in the App. Note that would indicate that the ATMega644 would not work
in this application.  The "low voltage operation", second USART, etc. are nice to
have but are not of concern at the moment.

As far as I can tell AVR Studio and WinAVR both support the ATMega644.

I use the processor defines supplied with WinAVR so, according to the App. Note I
might have to change some register names in my code, but, otherwise I should be ok.

One thing that concerns me is that it appears that AVR Studio does not support JTAG
debugging of the ATMega644 via JTAG ICE Mk-1 which (as far as I know) is what my
ECROS AVR "ICE Cube" emulates (Graham: Can you speak to this?).

This means that I will have to upgrade to a new JTAG adapter.  Since the ICE-Cube
has served my needs well I have not kept up on developments in this area, which
leads to the question:

What options should I look at?  Are there any "deals" out there?  It seems to me I
saw mention on the list of a low cost Dragon, is that still available, would this be
satisfactory?  Pros/Cons?

I currently do all my work with AVRs but, who knows, I may check out ARMs in the
future.  Does that effect my JTAG choice?
 
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] ATMega644 to replace an ATMega32A, Need new JTAG?

2011-01-21 by Mike Payson

The clone JTAG debuggers only support very old chips. For more modern chips
you need either an AVR Dragon, an AVR JTAG ICE MK II or an AVR One.

On Thu, Jan 20, 2011 at 9:20 PM, Chuck Hackett <egroupscdh@up844.us> wrote:

> Well it's an old story and I should have known better but I am running out
> of memory
> on my controller and I need to upsize and I only have a couple of weeks to
> get this
> done.
>
> I'm looking at switching from an ATMega32a in a TQFP-44 to a ATMega644 in a
> TQFP-44.
>
> Due to the fact that the boards are already made, I need to stick with the
> TQFP-44
> package and ATMega32 pin assignments.
>
> I have compared the pin assignments and the "Features List" at the top of
> the
> respective data sheets and it appears that the ATMega644 will work for me.
>
> I have also looked at Atmel's Application Note: "AVR505: Migration between
> ATmega16/32 and ATmega164P/324P/644P", which states, in part:
>
> "The ATmega164P and the ATmega324P are new and enhanced versions of the
> ATmega16 and
> the ATmega32 respectively, and ATmega644P is a new 64kB device with the
> same
> features. An important improvement is the possibility for low voltage
> operation
> (1.8V) with ATmega164P/324P/644P and decreased power consumption.
> ATmega164P/324P/644P also features an extra USART and can run at
> frequencies up to
> 20 MHz."
>
> "This application note summarizes the differences between ATmega16/32 and
> ATmega164P/324P/644P and is a guide to assist current ATmega16/32 users in
> converting existing designs to the ATmega164P/324P/644P."
>
> I see nothing in the App. Note that would indicate that the ATMega644 would
> not work
> in this application.  The "low voltage operation", second USART, etc. are
> nice to
> have but are not of concern at the moment.
>
> As far as I can tell AVR Studio and WinAVR both support the ATMega644.
>
> I use the processor defines supplied with WinAVR so, according to the App.
> Note I
> might have to change some register names in my code, but, otherwise I
> should be ok.
>
> One thing that concerns me is that it appears that AVR Studio does not
> support JTAG
> debugging of the ATMega644 via JTAG ICE Mk-1 which (as far as I know) is
> what my
> ECROS AVR "ICE Cube" emulates (Graham: Can you speak to this?).
>
> This means that I will have to upgrade to a new JTAG adapter.  Since the
> ICE-Cube
> has served my needs well I have not kept up on developments in this area,
> which
> leads to the question:
>
> What options should I look at?  Are there any "deals" out there?  It seems
> to me I
> saw mention on the list of a low cost Dragon, is that still available,
> would this be
> satisfactory?  Pros/Cons?
>
> I currently do all my work with AVRs but, who knows, I may check out ARMs
> in the
> future.  Does that effect my JTAG choice?
>
> 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
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>


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

Re: [AVR-Chat] ATMega644 to replace an ATMega32A, Need new JTAG?

2011-01-21 by Cat

I don't know the tool you already use, I thought anything that can do the 
32A can do the 644P, but I know the Dragon.

Yes, get the Dragon IF you need another tool.

It works, it's cheap.

Good luck,

Cat
Show quoted textHide quoted text
-----Original Message----- 
From: Chuck Hackett
Sent: Thursday, January 20, 2011 10:20 PM
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] ATMega644 to replace an ATMega32A, Need new JTAG?

...
What options should I look at?  Are there any "deals" out there?  It seems 
to me I
saw mention on the list of a low cost Dragon, is that still available, would 
this be
satisfactory?  Pros/Cons?

...

Re: ATMega644 to replace an ATMega32A, Need new JTAG?

2011-01-25 by ecros_technology

--- In AVR-Chat@yahoogroups.com, "Chuck Hackett" <egroupscdh@...> wrote:

> This means that I will have to upgrade
> to a new JTAG adapter.  Since the ICE-Cube
> has served my needs well ...

Mike Payson is correct in his analysis.  The AVR ICE-Cube, as a "clone" of the original Atmel JTAG ICE, supports only a short list of devices, that were the first AVRs to use JTAG, plus the new variations of them, i.e. the "A" parts.  I also agree with everything else that has been written in this thread, including 1) you should not have much trouble doing what you're proposing to do and 2) the AVR Dragon is a decent choice for a new JTAG interface.  I don't know much about this business of them being fragile, however, as I bought mine as soon as they came out and have had no trouble at all.

Graham.

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.