Is there example MCUXpresso project and code for running in external DDR SDRAM (LPC17x8)

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

Is there example MCUXpresso project and code for running in external DDR SDRAM (LPC17x8)

1,424件の閲覧回数
talktrn
Contributor I

Script files (i.e., *.ldt) for the Linker are needed, as well as Segger .jlinkscript file for the Debug Launcher.  An example is the Embedded Artists LPC1788 Developers Kit which has external DDR.  Much info can be found in MCUXpresso IDE User Guide describing relocation of pieces of code into RAM, but we will have entire app located in external DDR RAM.  Hoping to find something already worked out, even if using MCUXpresso with a different device.

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 返信

1,244件の閲覧回数
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Douglas,

You can navigate to Projects -> C/C++ Build -> Settings -> MCU Linker -> Managed Linker Script and check the "Link application to RAM" checkbox, make sure that the External DDR RAM is the first RAM section defined in the MCU memory configuration. Please notice that  you first need to ensure the external memory controller is setup so the debugger can access the SDRAM. MCUXpresso doesn't know how to do this for you. One approach would be to write a MCUXpresso connect script for this purpose. Connect scripts are configured in the project launch configuration.


Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 件の賞賛
返信