I am working on developing a LPC1768 bootloader to load an application from address 0x5000 using IAP.
I understand that these are the steps to be followed for IAP :
However, I seem to be confused on how we load the binary to that particular location in Flash i.e. 0x5000.
Chip_IAP_CopyRamToFlash copies the binary to that address in the Flash, but how do we specify the RAM address where the application.bin is residing in order to be copied to 0x5000 ?
Also, I am using LPCExpresso IDE, so is setting the Flash address in the MCU Settings enough for specifying the load address from the application side??