Memory map LPC55S66

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Memory map LPC55S66

跳至解决方案
2,596 次查看
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

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
2,359 次查看
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

在原帖中查看解决方案

5 回复数
2,359 次查看
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 项奖励
回复
2,358 次查看
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 项奖励
回复
2,358 次查看
soledad
NXP Employee
NXP Employee

Hi, 

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

Regards 

Soledad

0 项奖励
回复
2,359 次查看
dingelen
Contributor III

Hi Soledad,

any news on this?

Thanks!

Tom

0 项奖励
回复
2,360 次查看
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