Using an LPCS55S16. PCBA based to a large extent on the reference design. NOT using the secure features.
Use MCUXpresso to do pin configuration, BSP generation, etc... but use IAR to perform application development debugging.
Working with integrating a 3rd party bootloader from Embedded Systems Academy.
Following their instructions for establishing memory map, where application FLASH should essentially run from 0x4400 - 0x3CFFB. I am aware of the PFR located at 0x3D000.
Using the default flash loader from IAR, but when I try to push out the modified application from the debug environment, I get the error message:
If I lower the upper limit for the application flash to less than 0x38000 there is no issue.
Any idea what is going on? I realize that the flash is broken up into 32KB regions to allow a mixture of secure and non-secure access, and 0x38000 alligns with the start of the last region. However, as I already stated we are not using scure mode, and I looked at the relevant registers and see no reason why that last region would be for secured use.
Why can't I access the flash between 0x38000 and the start of the PFR?
Thanks.
Hi @JK_265,
What is the specific part number that you are using? As you can see in "Figure 1. LPC5500 series flash memory layout" of the following App note: Flash Programming Tips for LPC5500 Series, there are two variants of LPC55s1x, where one can be programmed until 0x3_CFFF and another cannot.
BR,
Edwin.