2024-03-20 04:07 AM - last edited on 2024-03-20 05:02 AM by SofLit
Hi,
Is it possible to run on the M7 core a piece of program (subroutine call - no input, no output parameters) written, compiled and loaded for the M4 core (i.e. to have global access to program code)?
Best
Solved! Go to Solution.
2024-03-20 04:52 AM - edited 2024-03-20 08:30 AM
Hello,
If you need a shared routine between the two cores (just an algorithm): theoretically yes.. But you need to do the test. Refer to the AN4667 / paragraph 1.1:
2024-03-20 04:52 AM - edited 2024-03-20 08:30 AM
Hello,
If you need a shared routine between the two cores (just an algorithm): theoretically yes.. But you need to do the test. Refer to the AN4667 / paragraph 1.1:
2024-03-20 10:46 AM
Thank you for the answer.
This is good beginning. The core of the question was about the following - do M4 and M7 cores share one and the same program memory (common address space) ? And if YES, if for M4 some address is 0x1000, is it the same for M7?
Best reagdrs
2024-03-21 06:39 AM
Hello;
The flash memory is shared between the two cores and the flash addresses are seen in the same way.
2024-03-22 04:10 AM
Thank you!
After experiments I'll post the feedback.