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.

TMS320F28376S: Error while Flash the code through RS422 in TMS320F28376S controller

Part Number: TMS320F28376S
Other Parts Discussed in Thread: C2000WARE, TMS320F28069

Dear sir,

I am using TMS320F28376S controller. In this controller i am trying to flash the code through Serial flash programmer. When I gave the command it is showing error, which was attached below.

Here i am using SCI-A channel GPIO28 as RX,GPIO29 as TX. And the boot mode is sciboot here GPIO72 is LOW , GPIO84 is HIGH.

please help me to resolve this problem

  • Hi,

    From your screenshot It looks like you are using old version of C2000WARE 1.00.02.00.

    Can you please upgrade your C2000ware to latest version and check if you are facing similar issue?

    C2000WARE can be downloaded from https://www.ti.com/tool/download/C2000WARE

    Thanks and Regards,

    Rajeshwary

  • Dear Rajeshwari,

    Thank you for your quick response. As per your suggestion i updated the C2000Ware_1_00_02_00 to C2000Ware_5_01_00_00 which is latest version. With this i updated the compiler version also, but the issue was not resolved.

    And also I tried with the example program “blinky_cpu01” program from latest C2000Ware_5_01_00_00 version, but same issue I am facing, which is attached below.

    please help me to resolve this problem

  • Hi,

    Thanks for writing.

    Can you please try command by giving baud rate as an input in your command using -b option?

    Also looking at your 1st screen shot their is mismatch between your Tx value (41) and Rx value (0).

    Please check your clock settings are proper or not and ensure your serial communication is working otherwise it will get stuck in AutobaudLock() function. 

    Regards,

    Rajeshwary

  • Dear Rajeshwari

    As per your suggestion i updated sci low speed peripheral clock to 50MHZ in F2837xS_sci_flash_kernel program but the issue was not resolved, snippet is attached below.

    We have done sci boot mode in TMS320f28069 controller with the same procedure, the code was flashed successfully.

    And also in your comment you said baud rate mismatch is there, but those tx(41) and rx(0) values coming at the power off time

    please help me to resolve this problem

  • Hi Gkoteswararao,

    Can you please confirm which board you are using?

    1. Check if SCI Boot pins is configured correctly by referring to SCIA_Init(BootMode) in SCI_GetFunction.c?

    2. Check if clock is configured properly?

    Normally once you connect to host, host will send AutoBaud character i.e 'A' to the device and keeps waiting in while loop for the device to echoback the sent character which determines the baud rate at which the load will take place. In your scenario it seems that character is not sent back thereby getting it stuck.

    Regards,

    Rajeshwary