I want examples lpc2378 bootloader. But I don't understand algorithm.
Example of ,
- First program : open one led testboard.Output:first.hex - Second program : open two led testboard.Output:second.hex
First program , first.hex ,use flashmagic.exe program to lpc2378. It's program ok. Run. Programing Flash memory starting adres 0x000000 ------
Second program second.hex convert second.bin ,edit binary file hex-editor-neo program.
0x000000 - 18 0x000001 - 21 0x000010 - 0g . . .
First program variable equalize second.bin
unsigned char const BootLoader_secondhex[] = { 0x18, 0x21, 0x0g, ...... }
use iap flash memory writing starting 0x8000=0x18 0x8001=0x21 0x8002=0x0g . . .
finish write flash memory go to run adress 0x8000 , program was written to address the program starts right?
bootloader algorithm is done as described above.
- Could you help me ?