Boot Loader

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: Matthew Cornelisse (propmodule.com), created: 2009-06-29 | updated: 2013-05-02

 

Small program that sits on eeprom allowing for code update through sd card attached to pins p0-p3
 
requirements:
  • 512kbit EEPROM instead of normal 256kbit
  • SD or uSD card reader on p0-p3
  • sd or uSD card to store your program
 
how it works:
when the program first starts up it looks to see if there is an sd card with code.bin on it. If not present it will load whatever code is stored in top half of eeprom. If the file is found then the code is copied to the top half of eeprom. deletes the update code file and then starts the code.
 
Run Time:
  • New code present: ~17sec until code starts
  • No new code present: ~0.5 sec until code starts
 
Advantages:
  • Code can always be updated through sd card even if bad transfer
  • Can program many systems from 1 sd card
  • No programmer needed once initial bootloader is loaded.
 
Was designed mainly for propmod-us_sd and propmod-us_ps_sd but can be used by anyone.
Original File Upload
AttachmentSize
Package icon boot_loader_v1.01.zip31.39 KB