Yahoo Groups archive

AVR-Chat

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

Thread

644P bootloader and uploader

644P bootloader and uploader

2008-09-24 by Roger Arrick

Getting a serial bootloader to work on the 644p has been harder than
writing the application code :)

I'm using a modified version of Design Note #032 bootloader written in
assembly and made a section for the 644P plus fixed some issues with
Def file.  There is no name on it, but it's dated Oct 07, V3.1.

Never could get AVRPROG.exe to work.  AVROSP finally worked when I set
the BOOTIDSTRING to "AVRBOOT".

Where are the 1-byte Device Type codes listed for all the various
CPUs?  I'm not sure if AVROSP uses this DT or signature bytes to
determine what commands to use - anyone know?

Re: 644P bootloader and uploader

2008-09-24 by Roger Arrick

> >Where are the 1-byte Device Type codes listed for all the various
> >CPUs?
> 
> I would not try and use those older type of device codes.
> Atmel has not issued any more for newer devices and therefore
> AVRPROG is no longer maintained.
> 
> I think I have a list for the last lot supplied as i was trying
> to maintain the AVR910 type programmer.
> 
> You would be better trying to use the actual signature bytes.
> However they are only accessible for newer chips in boot-loader mode.


John:

Is there not any standardized serial bootloader/uploader program for
the 644P or other newer models?  I guess I'll roll my own if I have
to.  My goal is to incorporate an uploader in control program written
in VB.

Roger

Re: [AVR-Chat] 644P bootloader and uploader

2008-09-24 by John Samperi

At 12:03 AM 25/09/2008, you wrote:
>Where are the 1-byte Device Type codes listed for all the various
>CPUs?

I would not try and use those older type of device codes.
Atmel has not issued any more for newer devices and therefore
AVRPROG is no longer maintained.

I think I have a list for the last lot supplied as i was trying
to maintain the AVR910 type programmer.

You would be better trying to use the actual signature bytes.
However they are only accessible for newer chips in boot-loader mode.

Regards

John Samperi

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

Re: [AVR-Chat] 644P bootloader and uploader

2008-09-24 by John Samperi

At 07:01 AM 25/09/2008, you wrote:
>However they are only accessible for newer chips in boot-loader mode.

...and of course there nothing stopping you from programming
the signature bytes in yourself, just not as nice as being
able to read them directly from the chip.

Regards

John Samperi

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

Re: [AVR-Chat] Re: 644P bootloader and uploader

2008-09-24 by John Samperi

At 08:16 AM 25/09/2008, you wrote:
>Is there not any standardized serial bootloader/uploader program for
>the 644P or other newer models?

Possibly. Here is a longish thread about a C boot-loader.
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=60893&highlight=bootloader

I have tried it and it works. I'm about to try out the AES boot-loader
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=67920&highlight=bootloader

Just too busy at the moment to play with it even though it has been
ported to the top of the range GCC compiler. :-)

I need to get the encrypted hex file to be read off a USB stick
to make it easier for the client to update the firmware.


Regards

John Samperi

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

Re: 644P bootloader and uploader

2008-09-25 by stevech11

Tried BLIPS (download from AVRfreaks).

It uses the same chip IDs as are stored within Atmel's XML part files
that install with AVR studio. Blips searches the XML files.

--- In AVR-Chat@yahoogroups.com, "Roger Arrick" <roger@...> wrote:
Show quoted textHide quoted text
>
> Getting a serial bootloader to work on the 644p has been harder than
> writing the application code :)
> 
> I'm using a modified version of Design Note #032 bootloader written in
> assembly and made a section for the 644P plus fixed some issues with
> Def file.  There is no name on it, but it's dated Oct 07, V3.1.
> 
> Never could get AVRPROG.exe to work.  AVROSP finally worked when I set
> the BOOTIDSTRING to "AVRBOOT".
> 
> Where are the 1-byte Device Type codes listed for all the various
> CPUs?  I'm not sure if AVROSP uses this DT or signature bytes to
> determine what commands to use - anyone know?
>

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.