Hi there,
I'm using an LPC5504. According to its own configuration and data from API functions the size is 128KB. While trying to store some data at the end of the memory map it turns out that I cannot write successfully in the last 2KB (in the range 1F800-1FFFF). Well, I can write on the memory without error but when I restart the board the data are just not there.
Is there a reason for this? Is it because of the space needed for spare memory in case some pages are not working anymore?
Solved! Go to Solution.
Hello @pejo
Please create a simple flash project by referring to the SDK demo "flashiap" for the LPC55S06. Then, check whether it can work with the address range from 0x1F800 to 0x1FFFF.
BR
Alice
Hello @pejo
Could you please show your project code, as well as your testing steps and results? I will help you check. Thank you.
BR
Alice
Hi Alice,
unfortunately I can't share the whole code without taking the time to remove proprietary code but I can share the procedure that you can use for test it:
If I do the same at address 0x1F600 it works properly
Hello @pejo
Please create a simple flash project by referring to the SDK demo "flashiap" for the LPC55S06. Then, check whether it can work with the address range from 0x1F800 to 0x1FFFF.
BR
Alice
Hi Alice,
I've found where the problem was, thanks to the example you mentioned. Just so that you know in the debug build I had a different linker script which reserved the section from 0x1F800 (sigh..). So, as you see it was all my mistake.
Thank you again and best regards