We are developing an APP for C7x on J721E_EMV. We use CCS 11.0.0.00012 , ti-processor-sdk-rtos-j721e-evm-08_01_00_13.
Our code doesn't use any SCI services. Loading code (program) using CCS works only once in the debug session. It is not possible to re-load the code (after a bug was fixed etc.) again.
That means:
1. Stop debug session
2. Lauch configuration
3. Start the "launch.js" script
4. Connect to C7x,
5. Load, debug
6. Pray the code works otherwise swear and go to step 1 after fixing bugs.
every time.
I have narrowed it down to the MMU Initialization. If the code was started and the MMU was activated,it somehow blocks CCS to load the code normally again. It takes minutes to reload. Even after that long load, the code doesn't run, CCS not able to connect to C7x anymore. Swear and reopen debug session.
We are using default C7x MMU configuration coming with the PDK/IPC example.
I have tried to disable MMU before second reload, looks like CCS is able to re-load the code normally (as fast as usual) , but the code doesn't start and crashes somewhere (no idea where, because CCS loses the connection).
It is not a problem to re-load and run the same code on C66 multiple times, which makes sense, because C66 has no MMU.
The non existing possibility to reload code on C7 makes the debugging a very time consuming and frustrating experience. Please help me with the MMU config so multiple code reloads would be possible.