LPC4350 boot from external memory...

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

LPC4350 boot from external memory...

591 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by oprata on Thu Nov 22 17:42:00 MST 2012
Hello Folks,
I need some help to understand how it is possible to write "myappl.axf" file to external memory program to LPC4350FET256. I use the Code Red Suite and external memory is Spansion (S25FL208K0RMFI010).

The "myappl.axf" is the binary application that was generate with Code Red Suite Compiler.

I realy appreciate if somebody suggest a schematic for hardware and piece of code to do that.

Thanks in advance.
Labels (1)
0 Kudos
Reply
3 Replies

565 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Sat Oct 11 00:34:02 MST 2014
Please see the response to your other post..

http://www.lpcware.com/content/forum/lpc4350-dual-core-application#comment-1140841

0 Kudos
Reply

565 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by oprata on Fri Oct 10 10:22:11 MST 2014
Hello Folks,
I am trying to run dual core application for LPC4350FET256 processor. I created a example for dual-core at LPCXpress version 7.4. But when I tried compile the code I saw a problem:

Building target: IPC_M4.axf
Invoking: MCU C++ Linker
arm-none-eabi-c++ -nostdlib -L"D:\oscavo\Documents\RedSuite_5.2.6_2137\CMSIS_LPC43xx_DriverLib\Debug" -L"D:\oscavo\Documents\RedSuite_5.2.6_2137\CMSIS_DSPLIB_CM4\lib" -Xlinker -Map="IPC_M4.map" -Xlinker --gc-sections -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb -T "IPC_M4_Debug.ld" -o "IPC_M4.axf"  ./src/IPC_M4.o ./src/cr_cpp_config.o ./src/cr_start_m0.o ./src/cr_startup_lpc43xx.o ./src/crp.o 
D:/Projects/LPCXpresso_7.4.0_229/workspace/IPC_M0/Debug/IPC_M0.axf.o -lCMSIS_LPC43xx_DriverLib -lCMSIS_DSPLIB_CM4
./src/IPC_M4.o: In function `main':
D:\oscavo\Documents\LPCXpresso_7.4.0_229\workspace\IPC_M4\Debug/../src/IPC_M4.cpp:45: undefined reference to `__core_m0app_START__'
collect2.exe: error: ld returned 1 exit status
make: *** [IPC_M4.axf] Error 1

Does anybody know what is happening?
Thanks in advance.
0 Kudos
Reply

565 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nxp21346 on Wed Nov 28 15:28:33 MST 2012
Hi oprata,

LPCXpresso and Red Suite ship with example projects that program code to external QSPI. In LPCXpresso, they should be located in:
C:\nxp\LPCXpresso_xxxx\lpcxpresso\Examples\FlashDrivers\NXP\LPC18xx_43xx\LPC18xx_43xx_SPIFI.zip

-Dave @ NXP
0 Kudos
Reply