Change device from LPC55S69 to LPC55S66

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Change device from LPC55S69 to LPC55S66

ソリューションへジャンプ
1,658件の閲覧回数
huijiwang
Contributor I

Hi, I have a project with LPC55S69JBD100 that works fine. But with the current supply chain issue, the part has a very long lead time. We are remaking the hardware to LPCS66JEV98. I changed the MCU on the project setting and the package changed as well. However, when I compile I still see the summary as:

Memory region Used Size Region Size %age Used
PROGRAM_FLASH: 129432 B 608 KB 20.79%
SRAM: 64336 B 256 KB 24.54%
SRAM4: 0 GB 16 KB 0.00%
SRAMX: 0 GB 32 KB 0.00%
USB_RAM: 0 GB 16 KB 0.00%

I did not change the memory setting, as it is using the LPC55xx.cfx as driver. But I would imaging I need to change the range of the flash and SRAM. I could not find where I should change the range to.

 

Thanks,

 

Huiji

 

ラベル(1)
0 件の賞賛
返信
1 解決策
1,634件の閲覧回数
huijiwang
Contributor I

Hi, Alice,

It works after I uncheck the "Preserve memory configuration" when changing MCU.

Thanks,

 

Huiji

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,635件の閲覧回数
huijiwang
Contributor I

Hi, Alice,

It works after I uncheck the "Preserve memory configuration" when changing MCU.

Thanks,

 

Huiji

0 件の賞賛
返信
1,648件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello ,

Uncheck the "Preserve memory configuration" when chaneg MCU:

Alice_Yang_0-1626752141858.png

 

Now based on your project, if it already lpc55s66, please first change back to lpc55s69, then try again.

 

Hope it helps,

Alice

1,640件の閲覧回数
danielholala
Senior Contributor II

@Alice_Yang wrote:

Uncheck the "Preserve memory configuration" when chaneg MCU:

Thanks. That's a helpful hint. I finally have the proper memory configuration for my CPU.

Heck, why is this option checked in the first place? It's trap, I gues, to make things complicated and befuddle the user. I entered this dialog by right clicking the "MCU" entry in Project Explorer and selecting "Edit MCU". I assume that most of the times when changing MCUs you'd want to update the memory configuration.

0 件の賞賛
返信