AnsweredAssumed Answered

LPC1768 Bootloader

Question asked by Shyam Shankar on Mar 18, 2018
Latest reply on Mar 20, 2018 by Shyam Shankar

Hi,

 

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 :

--Chip_IAP_PreSectorForReadWrite

--Chip_IAP_EraseSector

--Chip_IAP_PreSectorForReadWrite

--Chip_IAP_CopyRamToFlash

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??

 

Regards,
Shyam.

Outcomes