Part Number: TMS320F28379D
Hello team
I am trying to perform flash write operations on CPU2 flash using the boot ROM on CPU2 and I'm using IPCs to provide CPU2 boot ROM with 16-bit data to be flashed at given memory location. I know that we need WAIT_IN_BOOT mode for CPU2 core to have boot ROM IPCs supported, so, the flow which I have for now is as mentioned below:
- CPU1 boots-up to application.
- CPU1 resets CPU2 (using DevRegs for CPU2 reset)
- Wait for CPU2 to boot-up (monitoring IPCBOOTSTATUS for CPU2).
- Once CPU2 has booted-up, CPU1 provides memory addr, 16-bit data and IPC flahs for CMD and STATUS for flash write operation (as required for IPCLiteLtoRDataWrite function)
- Wait until we get ACK and written data (IPCLiteLtoRGetResult).
- Verify written data (from above step) with the actual data provided.
The problem which I am facing are:
1. I'm not sure on the debug configuration settings. For now, I have CPU1 loading the .out file for CPU1 only, but CPU1 and CPU2 are enabled to load symbols).
2. Is the flow (mentioned above) correct to perform a flash write using boot ROM for the slave core?
3. If the slave core already has something written at the memory address, is that cleared before writing to the same location (via boot ROM)? Or the boot ROM provides a different return in such cases?
Please help clearing the above mentioned problems.
Regards.
Sumit Panse