Bootloader for 1280/2560, reads from SD card

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

Hello, my first project in the Academy :D

This is a simple bootloader for ATMega1280/2560 (and probably 128). It reads a binary file from an SD Card, connected via SPI, and writes it in the application area.

It is called, with a supreme burst of phantasy, SD Bootloader.

If your hardware has an SD socket, then this bootloader may allow you or your customer to upgrade the firmware without any special interface or programming software.

I am using this code in a commercial device that receives upgrades via GPRS, saves them on the SD card and then updates the application.

In this version, you need to convert the file from hex format to pure binary. There are excellent utilities around, like srec_cat. You may find more information in the project.

In a future version I may overcome the limit and allow directly reading hex. It is not difficult, only I have no time right now.

Please let me know if you need additional information or want to give me suggestions

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

Thats great! Actually i m looking for something exactly exactly like that.

great work kalbun.
After playing i givet you really cool suggestion.

From Idea To Invention

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

Here's another one - fits into a smaller space (less than 2K depending on options chosen):

http://spaces.atmel.com/gf/proje...

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

After joining this forum my interest in AVR controller rapidly increase.

thankyou, it's really helpful.
clawson

From Idea To Invention