cancel
Showing results for 
Search instead for 
Did you mean: 

SD Card Bootloader

tkjmail2
Associate II
Posted on February 05, 2010 at 08:40

SD Card Bootloader

10 REPLIES 10
Posted on June 08, 2011 at 18:36

Yeah, I think the forum has died and been resurrected a couple of times since the thread was originally posted. The dates all look wrong. This was from February 2

https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/FLASH Copy Vector Table Update Core Reboot&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&currentviews=461

I'm not sure how much baggage the Keil File System brings along with it. The sector access method I'd tend to advocate might take a few hundred lines of code layered over some basic sector read functionality. Basically a very simple boot loader, with a minimal read-only, root directory only, FAT16/32, single file reader.

Ideally you'd physically separate the boot loader, and application code, so that the boot loader doesn't get re-written, and sanity checks the app code before running it. The boot loader would provide several recovery paths, as well as pulling an app update from an external device, SD/MMC card, or whatever.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..