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.

28335 ePWM cold boot from FLASH failure



I have a project using many peripherals including ePWM and eCAP, but not XINTF. I developed it with CCS and a JTAG emulator. Everything worked fine. The prototype was approved by a customer and a larger quantity of sample boards were built. Now, I find about half of the boards don't boot up properly. They act like the ePWM is not initializing correctly. Some ePWM pins are just stuck on with no control.

Of the boards that fail boot up initialization, they will reset and run correctly if I connect CCS and use the JTAG to reset and start. They also reset and start running if I do a hard reset after power up, but by then the unacceptable pin action has already taken place. This almost sounded like the XINTF power-up boot issue, so I tried to set up an automatic reboot pulse using the Watchdog upon initial power up. The ePWM still malfunctioned using this reset method. A hard reset reboots the part correctly, but the watchdog reset does not.

I heard elsewhere that some ePWM init commands may need to be followed with a bunch of NOP statements or some parts may not reset/initialize correctly, but I cannot find any documentation for this. The ePWM also depends upon the eCAP, so I don't really know if the issue is with the ePWM, eCAP, or interrupts not initializing correctly.

Can anyone provide some advise?