TMS320F28386S: Trouble running new boards

Part Number: TMS320F28386S


Good morning!

I am developing 2 projects with F28386S chip. Prevoiusely I buuilt prototypes and these boards was running fine.
Now I received new pre-production boards, where the XTAL was replaced by 16MHz one by request of customer.
These boards are programmed and run fine with JTAG, but failing to start up on power up or even after asserting XRST. Examining target in CCS I see target is executing in ROM instead of FLASH.
The BOOT0 and BOOT1 pins are driven high.

  • Hi Oleg,

    Have you made sure to update the clock defines in the project for the new board? If you are using the provided device.h header, it may be expecting a different clock frequency which may be overclocking the device. Please double check this

    What other board modifications were made between the working prototype and pre-production board?

    Are you directly probing the inputs of the BOOT0 and BOOT1 pins (72 and 84 if not modified in OTP). When loading the device into flash, please be sure no error messages appear in the IDE and that the flash is properly cleared and flashed with the program code

    Regards,

    Peter

  • Thank you for answer!

    I found the cause of the issue, and it was not hardware.

    I used DCL library as it made in DCL example, but did not mentioned the example is RAM, so dclfuncs section was declared but not loaded in the begining of code, so on JTAG it was loaded by JTAG, but on standalone operation the memory of dclfuncs was empty causing the trap.

    For the future it is good idea to include dclfuncs load routine in RAM examples guarded by #ifdef _FLASH.