Part Number: TMS320F28P550SJ
Hello,
My team and I are developing a new product that uses the TMS320F28P550SJ and are having intermittent problems with this processor.
Occasionally, when we try to connect the JTAG debugger to a brand new, unflashed processor, the processor comes up in a locked state and can't be programmed. We are able to connect the debugger in Code Composer Studio and view hardware registers, and doing this shows the ALLZERO bit in both DCSM Z1 and Z2 control registers is set.
Different processors of this family have one of three different behaviors:
1. Processors that behave as expected and have never had the ALLZERO bit set
2. Processors that sometimes behave as expected and sometimes have the ALLZERO bit set. This behavior can change after a CPU reset / power cycle.
3. Processors that, as far as we have tried, always have the ALLZERO bit set
For processors in group 2, a CPU reset through Code Composer Studio when the debugger is connected / power cycling the board can sometimes clear the ALLZERO bit. In those cases, we are able to JTAG flash the processor just fine; however, further power cycles / CPU resets may cause the processor to lock itself again with the ALLZERO bit being set.
This is happening on processors that have never been flashed or programmed before. We tried using both the default f28p55x gel file and a gel file that does not try any DCSM unlocks. The gel files seemingly had no effect on the boards.
Attached is the GEL file output when connecting the debugger and performing a power cycle. You can see that connecting the debug probe to the target processor in CCS unlocks the processor, and then the processor comes up in a locked state after a power cycle