Memory map LPC55S66

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,592件の閲覧回数
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,355件の閲覧回数
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,355件の閲覧回数
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,354件の閲覧回数
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,354件の閲覧回数
soledad
NXP Employee
NXP Employee

Hi, 

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

Regards 

Soledad

0 件の賞賛
返信
2,355件の閲覧回数
dingelen
Contributor III

Hi Soledad,

any news on this?

Thanks!

Tom

0 件の賞賛
返信
2,356件の閲覧回数
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