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.

TMS320F28388D: Program does not run after hardware reset

Part Number: TMS320F28388D


Tool/software:

Hello Team,

Posting on behalf of my customer:

I am programming on a TMS320F28388D using Code Composer Studio 12.8.1, and I am facing some issues to make the program boot when an hardware reset is performed. I just want that, when either the board is powered on, or a reset is applied via the XRSn pin, the program starts. When the program is loaded via CCS (Run->Debug or Run->Load), the program runs normally, but when an hardware reset is applied or the board is powered off, nothing happens, and the program has to be loaded again.

This issue occurs on MCU063B-003 evaluation board, as well as on a "custom" board embedding the MCU.

I think I have tried almost everything, and cannot figure out what the issue is.

The program is loaded in Flash memory, of course. The linker command files files are attached to this inquiry. A screenshot of the debug configuration (Debug Configuration->Target->Auto Run and Launch Options) for CPU1 is also attached.

I ensured that GPIOs 72 and 84 are at high state, so that the CPU1 boots on Flash memory, and tried with debugger connected and disconnected.

I also tried to configure OTP memory, as suggested here : https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1093307/tms320f28388d-f28388d-otp-program. The right values were saved into OTP memory, but the program did not start as expected on reset anyway.

I am desperately looking for help, because on other types of MCUs, I never faced this kind of issue. Can you find a mistake in the linker command files or in the debug configuration, or do you have an idea of what other settings could cause this ?

Regards,

Renan

  • Hi Renan,

    Can you please attach the linker cmd file for further analysis?

    There are couple of points to be verified - 

    1) BOOT switch should be positioned such that it will boot from flash. (which i see that you have ensured)

    2) Codestart BEGIN address in the linker cmd file should be from the FLASH starting address.

    Can you confirm if the FLASH memory locations are populated correctly, you can use the memory window and read the contents.

    Thanks

    Aswin