This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to build an application for dual core(M4+M0) MCU?

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

Parents
  • 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

Reply
  • 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

Children