We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello everybody, Is there a Bootloader wich load the firmware from a flash card (MMC or SD)? I use uVision3 for programming an LPC2148. I just found App Notes but no Examples.
Could anyone help me?
Adrian
Yes, I want to update the Firmware from an MMC/SD-Card.
that is not what I asked. you need to add SD card support to one of the available bootloader. it will cost you ROM, though.
Ok... So I need help. I don't really understand how these Bootloaders work.
Could give me someone a hint, how Bootloaders are built or set up?
Before you ask a lot about boot loaders - have you spent any time reading about them? Maybe tried Google or searched on this forum?
What you need to do is: * Understand IAP (in application programming). * USB basics (especially MSD). * Read the code. It really is not too hard. * Implement a SD card interface - that is complex, and RL-ARM (assuming you have a license) is rather ROM heavy.
Why do you need the SD card? isn't a RAM image provided via the MSD enough?
I spent about 2 weeks reading and searching. But in case I have to build a Bootloader by my own, I will loose time. If there would be already a Bootloader, I could minimize the evaluation time.
But now I try to learn about Bootloaders. I hope I am on the right way...
Yes, there are plenty!
As you're using an NXP processor, the NXP website would be the obvious place to start looking... Keil also have a number of NXP examples on this very site...
"... I could minimize the evaluation time."
Could you? How can you evaluate a Bootloader if you don't know what it's supposed to do, or how it's supposed to work?
"But now I try to learn about Bootloaders. I hope I am on the right way..."
Yes, it is best to understand a thing in order to evaluate and/or apply it!
The Project Idea is to build a small, portable Datalogger, which firmware can easily be updated by MMC/SD-Card. Simultaneously, this Card is needed as storage for the logged Data. This Data you can view on your workstation. The case is that you can't always take out the Datalogger (For Ex. into a model aircraft).
I posted:
Why do you need the SD card?
I should have posted:
Why do you need the SD card in the bootloader? Why not use the MSD for firmware update and use the SD card in application?
I'd like to update my Datalogger "in the field", without using a workstation for updating. It's just more comfortable. And I don't need an USB-Port on the Datalogger which have to be very small. That's the reason why I need it.
The bottom line: you want a "turn-key" solution. It is rarely that simple!
Or, if it is that simple, it will not be free - not by a long way!