This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I have a working dual CPU application on the F28377, and the DSP has an external serial-flash for configuration and firmware-upgrade storage. In our application, I can load new firmware via CAN into the serial-flash, and CPU1 can restart and load its own internal flash from the serial-flash in order to upgrade the firmware. I cannot do this via the DSP internal bootloader die to hardware restrictions.
I want to do the same or similar operation with CPU2. Ideally CPU1 would still control the CAN communication and CPU1 would bring the new CPU2-image into serial-flash. After that I am unclear on what restrictions I have to allow CPU2 to program its own internal flash. Whenever I try to call the FlashApi library functions from CPU2, I ESTOP on an illegal ISR. When loading both CPUs via the debugger, there is a warning message that states "If erase/program (E/P) operation is being done on one core, the other core should not execute from shared-RAM (SR) as they are used for the E/P code. Also, CPU1 will be halted to determine SR ownership for the CPU which will run the Flash Plugin code, after which CPU1 will be set to run its application. User code execution from SR could commence after both flash banks are programmed."
Is this warning relevant to the debugger only, or does this warning suggest that I need to halt my CPU1 application before I can allow my CPU2 to program its own internal flash? Are there other actions I must take on the CPU1-side in order to allow CPU2 to seize the Flash pump and program its own flash?
Thanks,
Jim