lpcware

Is it possible to write user application code to make change in secondary bootloader flash data?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by dhanapal on Fri Mar 27 06:46:22 MST 2015
Hi All,

My LPC1765 has secondary bootloader. that is running at 0x00 address. User application runs at 0x00010000 - Sector 16(0x10).

Is it possible to change secondary bootloader flash data from user application?
Is there any flash lock for SBL when user application runs?

In my testing
User application can reset the SBL flash value,User application unable to set the flash value. Eg if SBL area flash value is 0xFF, then user can reset that flash value to 0x00. But if the SBL flash value is 0x00 then user application unable to set the flash value even to 0x01.

What is the reason?

Regards
R.Dhanapal

Outcomes