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
Reading the SD card, or doing the bootloader?
As far as reading the SD card is concerned, the nature of the content is irrelevant;
As far as doing the bootloader is concerned, th source of the image is irrelevant...
Hello, Ok, my Problem is the Bootloader. I hoped that there would be someone who could give me a complete Bootloader. But I'd like to learn how to create my own Bootloader. I've never programmed a kind of a Bootloader, so I would need help.
There are samples of bootloaders at the site of NXP suitable for uv4.
Thanks, but there are no Examples including an MMC/SD-Card available. I found an Example, but this was created for an AVR Controller.
Some more help?
Do you want to boot from a SD card?
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?
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!
View all questions in Keil forum