Having stepped further in my IAP firmware update project I now want to flash sectors on a LPC1343. I decided to use the flash source code delivered with the KEIL MDK V4.23 (C:\Keil\ARM\Flash\LPC_IAP\FlashPrg.c). I'm wondering about a function 'Init()' which switches the processors clock to the internal oscillator. As my bootloader app has already executed its startup code, my processsor is running from an external oscillator. So, why to switch to the internal osc before flashing? Best regards, Juergen.
It's quite common to do the reverse - place CRC and other information last.
'last'... But where in memory is 'last'? The bin filesize varies.
So i decided to put crc and size information in front of the application program, at fixed addresses, where the loader can find it.
Maybe you have a hint or link to some doc, how to IAP the firmware of a target?
Last would be last in flash - your processor will not get bigger/smaller flash size just because the binary file changes in size.