Part Number: TMS320F28379D
Hello!
We have developed a solution that includes a bootloader and application for the F28379D device. Now we want to protect the flash memory readings, so we have activated the Zone 1 protection to all memories (FLASH and RAM) for both CPUs.
The problem we have now is on the bootloader. We are not able to enable the bootloader on CPU2. I will explain briefly the boot sequence:
- CPU1 starts running
- Through serial commands, the CPU 1 is erased and flashed
- CPU1 gives control of peripherals to CPU2 and then runs it through IPC commands and waits to CPU2
- CPU2 starts running, erasing and flashing its own memory
- When CPU2 finishes, notify to CPU1
- CPU1 resets both CPUs
This was working perfectly until we lock the memories.
Now we are able to flash CPU1 successfully (we have included the unlock sequence inside code) but when CPU1 runs CPU2, it looks like that this one is not started properly. We don't have too much information because we cannot debug the CPUs if they are protected. We, we can debug CPU1, but not CPU2.
Is it the DCSM affecting to the IPC peripheral? Is there any specific boot sequence for CPU2 if the protections are enabled?
Thank you
