We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello
I'm using Cortex-M3, and because of speed and peripherals, I want to use a dual core MCU.
I realized I have to write two separate code and make two separate executable file.
But I don't know how to merge these executable files.
I have to write down the executable files in separate specific region of flash?
Can anyone help me? I'm a little confused
Thank you
Hello mohammad,
NXP's LPC4300 is a Cortex-M4 + M0 single-chip microcontroller, and I suspect this may be your target.
There is more than one strategy for developing with dual core, and you can find some useful tips < here > as well as example projects labelled "dc" in the lpcopen software packages found < here >.
You do need to separate the executable images in memory, for example using 512K Bank A flash for the M4 core, and the other 512k Bank B flash for the M0. When debugging your application, it is not necessary to merge the executable code for the two cores, you may load them separately. The link scripts (scatter files) are also provided separate memory regions in the examples.
-arw
Yes, I want to use LPC4357
Do you know any dual core design reference from ARM?
Thank you for the replay
mohammad,
There are no books or academic studies on this topic, though it is quite a good idea. General multicore development concepts apply with the dual Cortex-M as with other cores; the necessities were added for inter-processor communication and so forth. The chip user manual is the best place to start today!
Hello Mohammad,
Keil MDK includes a number of examples for the MCB4357 development board that show how to work with the two cores of this chip, including debugging them side by side.