Yahoo Groups archive

AVR-Chat

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

Thread

JTAG programming for the AVR644

JTAG programming for the AVR644

2006-06-24 by anding_eunding

I struggling to program an AVR644 (40DIP) with AVR Studio 4.12 SP2, 
and an RS232 JTAG ICE programmer/debugger.  

Problem - AVR644 is not listed as a supported device for the JTAG ICE. 
Even though it apparently reads all the fuse and lock bits OK, 
programming ends in an error (FLASH Byte address is 0x00 should be 
0x0C).

I thought the AVR microcontrollers were quite intercompatible.  Do I 
have to buy a new programmer just for the AVR644, or am I doing 
something wrong?   I really hope I can program this with the regular 
JTAG ICE!

Many thanks for your help in advance,

Andrew

Re: [AVR-Chat] JTAG programming for the AVR644

2006-06-24 by James Hatley

Is there a ATmega644 ... that's it.

Jim

----- Original Message ----- 
Show quoted textHide quoted text
From: "anding_eunding" <anding_eunding@yahoo.com>
To: <AVR-Chat@yahoogroups.com>
Sent: Friday, June 23, 2006 10:34 PM
Subject: [AVR-Chat] JTAG programming for the AVR644


> I struggling to program an AVR644 (40DIP) with AVR Studio 4.12 SP2, 
> and an RS232 JTAG ICE programmer/debugger.  
> 
> Problem - AVR644 is not listed as a supported device for the JTAG ICE. 
> Even though it apparently reads all the fuse and lock bits OK, 
> programming ends in an error (FLASH Byte address is 0x00 should be 
> 0x0C).
> 
> I thought the AVR microcontrollers were quite intercompatible.  Do I 
> have to buy a new programmer just for the AVR644, or am I doing 
> something wrong?   I really hope I can program this with the regular 
> JTAG ICE!
> 
> Many thanks for your help in advance,
> 
> Andrew
> 
> 
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
>

Re: JTAG programming for the AVR644

2006-06-24 by anding_eunding

Yes, I'mean ATmega644.  It exists; I have a few.  Can anyone offer 
any clues on my original question?

Many thanks,

Andrew

--- In AVR-Chat@yahoogroups.com, "James Hatley" <james.hatley@...> 
wrote:
>
> Is there a ATmega644 ... that's it.
> 
> Jim
> 
> ----- Original Message ----- 
> From: "anding_eunding" <anding_eunding@...>
> To: <AVR-Chat@yahoogroups.com>
> Sent: Friday, June 23, 2006 10:34 PM
> Subject: [AVR-Chat] JTAG programming for the AVR644
> 
> 
> > I struggling to program an AVR644 (40DIP) with AVR Studio 4.12 
SP2, 
> > and an RS232 JTAG ICE programmer/debugger.  
> > 
> > Problem - AVR644 is not listed as a supported device for the 
JTAG ICE. 
> > Even though it apparently reads all the fuse and lock bits OK, 
> > programming ends in an error (FLASH Byte address is 0x00 should 
be 
> > 0x0C).
> > 
> > I thought the AVR microcontrollers were quite intercompatible.  
Do I 
> > have to buy a new programmer just for the AVR644, or am I doing 
> > something wrong?   I really hope I can program this with the 
regular 
Show quoted textHide quoted text
> > JTAG ICE!
> > 
> > Many thanks for your help in advance,
> > 
> > Andrew
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >  
> > Yahoo! Groups Links
> > 
> > 
> > 
> >  
> > 
> > 
> >
>

Re: JTAG programming for the AVR644

2006-06-24 by anding_eunding

Hi Jim,

Many thanks.  No offence taken!  I appreciate your clarification and 
response.

I'm a little stuck now as I think I've confirmed that my JTAG ICE 
doesn't work with the 644.  This seems a bit crazy to me - JTAG is a 
standard, and all the pins are the same between MkI and MkII. 
Shouldn't it just be possible to update the software in the MkI ICE 
or similar to make it work with the newer devices?

Best regards,

Andrew





--- In AVR-Chat@yahoogroups.com, "James Hatley" <james.hatley@...> 
wrote:
>
> Sorry I thought you were looking in the list for an AVR644 which 
won't be
> there ... but the ATmega644 may not be there either as some of the 
newer
> processors need a different JTAG namely they require the MKII. I 
gave up on
> JTAG here, I have a MK I and an ICE that I used for ATmega32 work. 
Worked
> great but for newer work I just put in output were I need data and 
have
> written an old fashion serial debug capability into my software. I 
do just
> fine with old fashion techniques. JTAG when I was using it had a 
pretty
> flaky studio and it was a pain.
> 
> Study the documentation for the device you have and the processor. 
You may
> be out of luck with the JTAG you have.
> 
> I find the 644 a very nice chip and we just switch production from 
the 32 to
> the 644. The 644 has more flash but for us it has an ability to 
switch the
> processor clock divider from software which help keep the power 
down.
> 
> Anyway good luck, didn't mean to infer anything other that a miss-
read name
> like I've done many times.
> 
> Jim
> 
> 
> ----- Original Message ----- 
> From: "anding_eunding" <anding_eunding@...>
> To: <AVR-Chat@yahoogroups.com>
> Sent: Saturday, June 24, 2006 2:48 PM
> Subject: [AVR-Chat] Re: JTAG programming for the AVR644
> 
> 
> > Yes, I'mean ATmega644.  It exists; I have a few.  Can anyone 
offer
> > any clues on my original question?
> >
> > Many thanks,
> >
> > Andrew
> >
> > --- In AVR-Chat@yahoogroups.com, "James Hatley" <james.hatley@>
> > wrote:
> > >
> > > Is there a ATmega644 ... that's it.
> > >
> > > Jim
> > >
> > > ----- Original Message ----- 
> > > From: "anding_eunding" <anding_eunding@>
> > > To: <AVR-Chat@yahoogroups.com>
> > > Sent: Friday, June 23, 2006 10:34 PM
> > > Subject: [AVR-Chat] JTAG programming for the AVR644
> > >
> > >
> > > > I struggling to program an AVR644 (40DIP) with AVR Studio 
4.12
> > SP2,
> > > > and an RS232 JTAG ICE programmer/debugger.
> > > >
> > > > Problem - AVR644 is not listed as a supported device for the
> > JTAG ICE.
> > > > Even though it apparently reads all the fuse and lock bits 
OK,
> > > > programming ends in an error (FLASH Byte address is 0x00 
should
> > be
> > > > 0x0C).
> > > >
> > > > I thought the AVR microcontrollers were quite 
intercompatible.
> > Do I
> > > > have to buy a new programmer just for the AVR644, or am I 
doing
Show quoted textHide quoted text
> > > > something wrong?   I really hope I can program this with the
> > regular
> > > > JTAG ICE!
> > > >
> > > > Many thanks for your help in advance,
> > > >
> > > > Andrew
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Yahoo! Groups Links
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>

Re: [AVR-Chat] Re: JTAG programming for the AVR644

2006-06-24 by James Hatley

Sorry I thought you were looking in the list for an AVR644 which won't be
there ... but the ATmega644 may not be there either as some of the newer
processors need a different JTAG namely they require the MKII. I gave up on
JTAG here, I have a MK I and an ICE that I used for ATmega32 work. Worked
great but for newer work I just put in output were I need data and have
written an old fashion serial debug capability into my software. I do just
fine with old fashion techniques. JTAG when I was using it had a pretty
flaky studio and it was a pain.

Study the documentation for the device you have and the processor. You may
be out of luck with the JTAG you have.

I find the 644 a very nice chip and we just switch production from the 32 to
the 644. The 644 has more flash but for us it has an ability to switch the
processor clock divider from software which help keep the power down.

Anyway good luck, didn't mean to infer anything other that a miss-read name
like I've done many times.

Jim


----- Original Message ----- 
Show quoted textHide quoted text
From: "anding_eunding" <anding_eunding@yahoo.com>
To: <AVR-Chat@yahoogroups.com>
Sent: Saturday, June 24, 2006 2:48 PM
Subject: [AVR-Chat] Re: JTAG programming for the AVR644


> Yes, I'mean ATmega644.  It exists; I have a few.  Can anyone offer
> any clues on my original question?
>
> Many thanks,
>
> Andrew
>
> --- In AVR-Chat@yahoogroups.com, "James Hatley" <james.hatley@...>
> wrote:
> >
> > Is there a ATmega644 ... that's it.
> >
> > Jim
> >
> > ----- Original Message ----- 
> > From: "anding_eunding" <anding_eunding@...>
> > To: <AVR-Chat@yahoogroups.com>
> > Sent: Friday, June 23, 2006 10:34 PM
> > Subject: [AVR-Chat] JTAG programming for the AVR644
> >
> >
> > > I struggling to program an AVR644 (40DIP) with AVR Studio 4.12
> SP2,
> > > and an RS232 JTAG ICE programmer/debugger.
> > >
> > > Problem - AVR644 is not listed as a supported device for the
> JTAG ICE.
> > > Even though it apparently reads all the fuse and lock bits OK,
> > > programming ends in an error (FLASH Byte address is 0x00 should
> be
> > > 0x0C).
> > >
> > > I thought the AVR microcontrollers were quite intercompatible.
> Do I
> > > have to buy a new programmer just for the AVR644, or am I doing
> > > something wrong?   I really hope I can program this with the
> regular
> > > JTAG ICE!
> > >
> > > Many thanks for your help in advance,
> > >
> > > Andrew
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>

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.