Hi,
I'm using the MPC55S66 for a new project. This is a dual core and I want to optimally make use of bus and memory structure. So each core it's own code area (flash and sramx) and each it's own working ram.
So my question is how do I setup a project so that:
Core 0 uses:
- FLASH for code and data
- SRAM0 for variables, heap, stack
- USB_SRAM for USB
- SRAM2 shared memory with core 1
Core 1 uses:
- SRAMX for cade and data
- SRAM1 for variables, heap, stack
- SRAM2 shared memory with core 0
I've found the "LPC55xx multicore applications ..." manual and all similar online but they didn't completly answer my question. They only seem to answer how to load Core 1 to SRAMX.
The SDK examples are also not very clear on how to do this.
Thanks!
Tom
Too bad the RAM allocation is only 32k would be best at 64K min. Also the ability to separate flash banks for true multi MCU
parallel execution from flash.
Dear Tom,
I will suggest to check the following posts:
Relocating Code and Data Using the MCUXpresso IDE
Relocating code from FLASH to RAM
This could help you to reallocate code between memories. Also the following thread could help you to know how to place code in different memories.
https://community.nxp.com/thread/506558
Let me know if this helps you.
Best Regards,
Alexis Andalon