Thumbs up for SFE LPC2148 USB Bootloader & related quest

I’ve got a little project built around an LPC2148, FPGA and audio codec. I’m using the SFE USB Bootloader for it and I just got the basic firmware load function up & running. Here’s a web page I put together documenting the project:

http://members.cox.net/ebrombaugh1/synt … index.html

Question: I want to read other files (like the FPGA bitstream) off of the micro SD card. Is it possible to somehow link my FW.SFE code to the SD card & FAT filesystem stuff that’s already in the bootloader, or do I have to duplicate those functions in my code?

TIA,

Eric

I checked this a bit further. Apparently there are some options on the linker which would allow one to link against the symbols in the bootloader, but there are enough RAM dependencies in that code that you’d end up restricting the RAM space of the final application.

I decided to just punt and link in my own copy of the SD filesystem code for now. The application only ends up being about 25k, so there’s room for lots more stuff in the future.

FWIW, although the USB mass-storage capability of the Sparkfun Bootloader is nice, I find that it’s just as convenient to swap out the SD card when updating firmware. Options are good.

Thanks to SFE for some useful code!