Hi,
I'm using the LPC55S66 since only this one is available in revision 1B.
Now I'm looking for the difference in flash and SRAM allocation but can't seem to find any good information on it.
SDK shows the same memory sizes as for the LPC55S69 and the Datasheet/UserManual only seem to cover the LPC55S69.
Where can I find the info to generate a correct linker file?
I've tried using the examples from the LPC55S69 in the LPC55S66 but they don't seem to work. Could this be due to the incorrect linker file. I've always assumed that this would only give problems as soon as the memories used exceeded the available memory.
Thanks!
Tom
Solved! Go to Solution.
Tom,
This issue will be fixed in next SDK release. SDK_2.6.3_LPC55S66
The correct memory region definition should be:
MEMORY
{
/* Define each memory region */
PROGRAM_FLASH (rx) : ORIGIN = 0x0, LENGTH = 0x40000 /* 256K bytes (alias Flash) */
SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x18000 /* 96K bytes (alias RAM) */
SRAMX (rwx) : ORIGIN = 0x4000000, LENGTH = 0x8000 /* 32K bytes (alias RAM2) */
USB_RAM (rwx) : ORIGIN = 0x40100000, LENGTH = 0x4000 /* 16K bytes (alias RAM3) */
}
Have a nice day,
Jun Zhang
Hi,
You need to download the SDK for the LPC55s66 device.
I hope this helps,
Have a great day,
Sol
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi Soledad,
I was already using this SDK and noticed that these values weren't the same as in the user manual.
As you can see it's 256kB and 144kB. Not 320kB and 176kB.
Hi,
I am verifying this information, I will update as soon as possible.
Regards
Soledad
Hi Soledad,
any news on this?
Thanks!
Tom
Tom,
This issue will be fixed in next SDK release. SDK_2.6.3_LPC55S66
The correct memory region definition should be:
MEMORY
{
/* Define each memory region */
PROGRAM_FLASH (rx) : ORIGIN = 0x0, LENGTH = 0x40000 /* 256K bytes (alias Flash) */
SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x18000 /* 96K bytes (alias RAM) */
SRAMX (rwx) : ORIGIN = 0x4000000, LENGTH = 0x8000 /* 32K bytes (alias RAM2) */
USB_RAM (rwx) : ORIGIN = 0x40100000, LENGTH = 0x4000 /* 16K bytes (alias RAM3) */
}
Have a nice day,
Jun Zhang