LPC4330 M0 start up

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

LPC4330 M0 start up

550 Views
koenvanderaa
Contributor II

HI,

I'm working on a project with the LPC4330. I want to start the M0 core with the M4 core.

My goal is to place the code for the M0 in the RAM section at start-up and then activate the M0. To compile the M0 code I use keil with the command: 

fromelf --cadcombined --output="..\LPC4330_Xplorer_CM4\CM0_Image.c" ".\RAM\CM0_RAM.axf"

This comes from the example code and convertes the axf file to a C code file (with a array of the hex code). 

But if I copy this code in the RAM section I can't place it at address 0x20008000 but only to address 0x20008001. The last three numbers should be zero in order to start the M0. Is this the reason the M0 does not start or does someone has another solution? 

LPCXpresso provides the multicore option but since i have a Segger J-link programmer I can't use this option. 

Have a nice day!

Koen Van der Aa

Labels (1)
Tags (3)
0 Kudos
1 Reply

343 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Koen Van der Aa,

Thank you for your interest in NXP Semiconductor products and 
for the opportunity to serve you.
I've attached the AN11177 which contains some demos that are along the same line as you apply for.
Have a great day,

TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------