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.

CCS/TMS570LC4357: Reset MCU through serial frame command

Part Number: TMS570LC4357

Tool/software: Code Composer Studio

Hello Jean-Marc,

I'm new in the use of this MCU and read the post and I tested a little code with an instruction to reset the TMS570 but I have two problems in my program.

The main function of the program in my MCU is sent each minute a frame in the serial port 1, the secondary function receives a command in serial port 2 and one of this command should be an instruction to reset the MCU. This part work fine, but I add in this day the instruction to reset the microcontroller according in this post of the forum: "e2e.ti.com/.../400558"

To use this instruction I needed to add the header file: #include "HL_reg_system.h" but when I add and compiled the program not present any problems during this process, but when I run the program in the MCU, the device no send more frames to the serial port 1. I don't know what is the reason for this situation because I only add a header file and the MCU do the same.

Could you say me or guide me to do the best process to reset the system?

Thanks

  • Hello,

    Please try this way:

    1. comment out #include "HL_reg_system.h"

    2. add this statement for RESET: *((volatile unsigned int *)0xFFFFFFE0) = (0x10) << 14;

    If SCI port1 still doesn't work, the problem is not caused by the header file.

    Regards,
    QJ