Memory map LPC55S66

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Memory map LPC55S66

Jump to solution
1,130 Views
dingelen
Contributor III

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

Labels (1)
Tags (2)
0 Kudos
1 Solution
893 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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

View solution in original post

5 Replies
893 Views
soledad
NXP Employee
NXP Employee

Hi, 

You need to download the SDK for the LPC55s66 device. 

pastedImage_1.png

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

0 Kudos
892 Views
dingelen
Contributor III

Hi Soledad,

I was already using this SDK and noticed that these values weren't the same as in the user manual.

Aantekening 2019-08-29 095718.png

As you can see it's 256kB and 144kB. Not 320kB and 176kB.

0 Kudos
892 Views
soledad
NXP Employee
NXP Employee

Hi, 

I am verifying this information, I will update as soon as possible.

Regards 

Soledad

0 Kudos
893 Views
dingelen
Contributor III

Hi Soledad,

any news on this?

Thanks!

Tom

0 Kudos
894 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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