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.

TMX320F28377D烧写程序时,出现状态异常的问题

Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE

1.烧写环境:

PC:Win7    64位机

2.烧写工具:

ti\controlSUITE\device_support\~Utilities\serial_flash_programmer\serial_flash_programmer.exe

3.芯片:

TMX320F28377D

4.烧写APL文件:

客户提供的.out文件,通过hex2000.exe -boot -sci8 -a -o <file.txt> <file.out>  转换成的txt文件,转换后的文件大小为400KB。

5.烧写ti\controlSUITE\device_support\~Utilities\serial_flash_programmer\f2837xD_fw_upgrade_example\F2837xD_sci_flash_kernels_cpu01.txt后,进入选择页面,选择的步骤为:

①擦除CPU1,选择ALL

②DFU CPU1,在此过程中,进行APL文件的写入,写入最后进行验证时,命令正确,但是状态异常,返回状态为0x4000(烧写错误)。

为什么会返回0x4000状态吗?

在什么情况下返回0x4000的错误码?

烧写ti\controlSUITE\device_support\~Utilities\serial_flash_programmer\f2837xD_fw_upgrade_example\blinky_dc_cpu01.txt文件的话,状态正常。

拜托大神帮忙确认一下。

  • 您好!
    建议您到以下网址下载最新版本的C2000ware:
    www.ti.com/tool/C2000ware
    安装后用以下目录下的serial_flash_programmer.exe再试一下看看:
    C:\ti\C2000Ware_1_00_02_00\utilities\flash_programmers\serial_flash_programmer
  • 您好,感谢您的回复。

    按照你说的下载了最新版本的软件,执行升级动作时还会出相同的问题。

    麻烦您是否可以帮忙分析一下,出现[PROGRAM_ERROR]的错误,kernal那边在什么情况下会返回i

    Log参照

    **************************

    a0
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    88
    c0
    73
    c
    0
    c0
    7b
    c
    80
    d0
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    c1
    73
    4
    88
    c0
    74
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    88
    c0
    73
    0
    0
    c0
    7b
    c0
    89
    d0
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    4
    88
    d0
    73
    0
    0
    d1
    74
    0
    0
    a0
    7f
    0
    0
    41
    78
    0
    88
    c0
    73
    1
    0
    81
    78
    4
    0
    c0
    7c
    0
    88
    c0
    74
    0
    0
    40
    78
    80
    0
    80
    78
    0
    88
    d0
    73
    4
    0
    20
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    e6
    fe
    82
    79
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    80
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    80
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    80
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    80
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    80
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    80
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    80
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    a0
    7f
    0
    0
    80
    7f
    0
    0
    Bit rate /s of transfer was: 7347.575684
    SUCCESS of Command
    ERROR Status: PROGRAM_ERROR
    ERROR Address: 0x2dcce6

    What operation do you want to perform?
             1-DFU CPU1
             2-DFU CPU2
             3-Erase CPU1
             4-Erase CPU2
             5-Verify CPU1
             6-Verify CPU2
             7-Unlock CPU1 Zone 1
             8-Unlock CPU1 Zone 2
             9-Unlock CPU2 Zone 1
            10-Unlock CPU2 Zone 2
            11-Run CPU1
            12-Reset CPU1
            13-Run CPU1 and Boot CPU2
            14-Reset CPU1 and Boot CPU2
            15-Run CPU2
            16-Reset CPU2
             0-DONE

  • sorry,想请教您kernel那边什么情况下会答复[PROGRAM_ERROR 0现0x4000]
  • sorry,想请教您kernel那边什么情况下会答复[PROGRAM_ERROR 0现0x4000]