Page 1 of 2

Which Bootloader?

PostPosted: Fri Aug 28, 2009 6:04 pm
by jman 31
How do I know which bootloader I have installed?

Re: Which Bootloader?

PostPosted: Fri Aug 28, 2009 8:33 pm
by Ken Forgettable
jman 31 wrote:How do I know which bootloader I have installed?

Good question!
If you have the original hex files - load them one-by-one into into Ponyprog and verify against your AVR.

Re: Which Bootloader?

PostPosted: Fri Aug 28, 2009 8:59 pm
by jman 31
Thanks for the reply. I did that but I guess I don't know what I am looking for. I opened the .hex file, but it looks like Greek Hieroglyphs to me! Can you tell me what to look for?

Re: Which Bootloader?

PostPosted: Fri Aug 28, 2009 9:43 pm
by Ken Forgettable
Greek? Stand on your head. Now put one of your ankles on the floor...
"Bitches crystal, no sound - you twist all the lines"
"Fortune teller, future seller of lies"


Sorry I can't get to my backups now.
I have the sources here but they don't result in the same hexes as Dmitris posts - so that's no good to you.
And I don't think anyone even knows what version is on the download page.

If you have the AVR ICSP programmer cable from the documentation pages we can process.

Re: Which Bootloader?

PostPosted: Fri Aug 28, 2009 10:49 pm
by jman 31
I do have a programmer, but it will be tomorrow before I can get back to working on it. I will let you know when I can look at it again.

Re: Which Bootloader?

PostPosted: Fri Aug 28, 2009 11:36 pm
by Ken Forgettable
jman 31 wrote:I do have a programmer, but it will be tomorrow before I can get back to working on it. I will let you know when I can look at it again.

OK, so if you have a hex which you know is version X, then load that into ponyprog.
(Ponyprog converts the HEX records into AVR data and that's what you see in the buffer display). You also need to use the 'read fuses' command here.

Now if you ask ponyrog to verify (flash) it will compare its buffer against the data it reads from the AVR.
If verification is ok, then you can assume the AVR data is the same as the hex you loaded into ponyprog.

On the other hand - once you have the programming cable set up why not just program the V2 bootloader.

Re: Which Bootloader?

PostPosted: Fri Aug 28, 2009 11:40 pm
by jman 31
It's only been a month or two since I downloaded the bootloader that I used off of the documentation pages. When was the last time it was changed?

Re: Which Bootloader?

PostPosted: Sat Aug 29, 2009 12:33 am
by Ken Forgettable
jman 31 wrote:It's only been a month or two since I downloaded the bootloader that I used off of the documentation pages. When was the last time it was changed?

Date stamp says 21/5/09.

Dmitri, what version bootloader is currently current?

Synthex, what version bootloader are you currently supplying?

Re: Which Bootloader?

PostPosted: Sat Aug 29, 2009 10:15 am
by dmitri
Current version is v4 according to how elrules calls them.

Re: Which Bootloader?

PostPosted: Sat Aug 29, 2009 11:46 pm
by Synthex
Ken Forgettable wrote:Synthex, what version bootloader are you currently supplying?

Bootloader "v4"