Other Parts Discussed in Thread: CONTROLSUITE
Hi, Champs,
My customer is using TMS320F28034PNT for long time in motor inverter application, and the latest silicon revision they are using now is Rev. A.
For a fresh device, they have developed a customized bootloader to program it and it works for years successfully, but recently they have some boards failed the programming while some of them work well.
The basic programming flow is as following:
They use SCI boot to run TI BOOTROM and transmit customer bootloader to RAM for running following the data stream TI BOOTROM requires, with the end of an executable file, the PC should jump to RAM and execute their codes which perform SCI baud rate modification, read customized bootloader version, call FlashAPI erase and program function as well as transmitting the application codes' image.
What we found now is, for those boards work well, all these procedures can be executed successfully and the device can be programmed as expected, while for those failed boards, although the customized bootloader's image was transmitted successfully, it can not be executed as the PC won't jump to related RAM.
Some tests we have completed are:
1. Monitor the data stream of customized bootloader transmitting in both "good" and "bad" boards, and found they are identical;
2. Customized bootloader codes will firstly perform a SCI baud rate modification command, but it's failed to execute, then we commented these lines to execute next command of reading customized bootloader version, it failed either, which indicated that customized bootloader codes to be placed in RAM were never executed;
3. We then sent another data of 'A' from PC software after the customized bootloader was transmitted, we got a response from F28034 BOOTROM with identical response of 'A', which means the BOOTROM is still running even if correct image's data stream transmission was done successfully.
As the hardware set-up and PC software as well as the customized bootloader image are completely identical, but only found some boards work while some boards fail (and earlier boards worked well all the time for years), we suspected that the BOOTROM in some devices are not working as normal, could you please advise what further debug should we do, or what other information would be required for you to analyze this issue? Please do not hesitate to let us know.
We also wonder if there're ways to verify the RAM contents, PC information and device information in emulation mode, can customer do it when running BOOTROM? Please advise.
Best Regards.
Ricky Zhang