Multi-Bootloader Support, Upgrading or changing BLS size

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hey,

I have just created a bootloader for use in a series of products I develop. Its a little more complex then your standard bootloader as it had to comply with the systems communication protocols. One feature I would love to include in the ability to not only upgrade the application firmware but to also upload the bootloader firmware.

The safest method i thought would be to have 2 separate boot loader banks (each say 1-2K each), Then i could cycle between each bank, but i don't think you can change the BOOTZ fuses in the application, so i don't see this method working as i wouldn't be able to change the interrupt vector between each bank.

Does anyone have an example of a bootloader that sits in the application section but calls the write functions from the bootloader section? This way, if i needed to upgrade the main bootloader firmware (may not need to be done very often) i could have a second bootloader loaded into the main application section, with the read/write function located in a free section of the bootloader section.

Has anyone attempted to create a duel bank boot loader or any other solution to being able to upgrade the application and boot loader together?

Any links/information would be greatly appreciated.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hey,

If you have some sort of external storage in your system, check out the lubloader system at http://www.newae.com/loonboard/l...

The system I did there is totally failsafe - almost no matter what you will end up with a working bootloader in the system and can rescue it.

Regards,

-Colin