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.

UNIFLASH: Reset CPU for TMS320F28388D Does not work properly

Part Number: UNIFLASH

Using: Windows 11, Uniflash 8.1.1.4146, XDS100v2 USB Debug Probe

See related thread on additional information.  Thread

There is  something not quite right with the "reset cpu" feature.

2 things I've observed:

1.  In uniflash, as mentioned in the thread, the "reset cpu" does not seem to work during the "load" process. 

2. After programming with uniflash and having CPU running, our program accepts a CLI command to reset cpu which executes "SysCtl_simulateReset(SYSCTL_CAUSE_CPU1RSN)".  This also seems to just halt the CPU.  It does not do a reset and get the application running.

After power cycling, the CLI reset command works fine.

#2's behaviour is similar to what happens when using CCS and its debug feature.

  • Also.  Clicking the CPU Reset "Reset Now" button more than once produces an error and does nothing to the CPU.

    [2/1/2023, 10:08:28 AM] [INFO] C28xx_CPU1: GEL Output: Memory Map Initialization Complete
    [2/1/2023, 10:08:28 AM] [INFO] C28xx_CPU1: GEL Output: ... DCSM Initialization Start ...
    [2/1/2023, 10:08:29 AM] [INFO] C28xx_CPU1: GEL Output: ... DCSM Initialization Done ...
    [2/1/2023, 10:08:29 AM] [INFO] C28xx_CPU1: GEL Output: CPU2 is out of reset and configured to wait boot. (If you connected previously, may have to resume CPU2 to reach wait boot loop.)
    [2/1/2023, 10:08:29 AM] [INFO] C28xx_CPU1: GEL Output: CM is out of reset and configured to wait boot. (If you connected previously, may have to resume CM to reach wait boot loop.)
    [2/1/2023, 10:08:41 AM] [INFO] Executing Reset: CPU Reset
    [2/1/2023, 10:08:42 AM] [INFO] C28xx_CPU1: GEL Output: ... DCSM Initialization Start ...
    [2/1/2023, 10:08:42 AM] [INFO] C28xx_CPU1: GEL Output: Memory Map Initialization Complete
    [2/1/2023, 10:08:42 AM] [ERROR] C28xx_CPU1: Failed Software Reset: A reset is already in progress
    [2/1/2023, 10:08:42 AM] [INFO] C28xx_CPU1: GEL Output: ... DCSM Initialization Done ...
    [2/1/2023, 10:08:43 AM] [INFO] C28xx_CPU1: GEL Output: CPU2 is out of reset and configured to wait boot. (If you connected previously, may have to resume CPU2 to reach wait boot loop.)
    [2/1/2023, 10:08:43 AM] [INFO] C28xx_CPU1: GEL Output: CM is out of reset and configured to wait boot. (If you connected previously, may have to resume CM to reach wait boot loop.)
  • Hi Huey Duong,

    We will be able to review and get back to you by this Friday.

    Thanks and regards,

    Vamsi

  • Hi Huey Duong,

    How are your boot mode pins configured?

    Thanks and regards,
    Vamsi

  • GPIO72 and 84 are both pulled high.   Boot from Flash/USB.   For the end customer product configuration, should this not be the setting?  

    The customer will never be using the JTAG.   Occasionally we need to visit the sites to do firmware upgrade using the JTAG and UNIFLASH.

    Regards.

    FYI, we are currently working on a serial FW upgrade kernel to perform upgrades without JTAG in the field.  For now we, still depend on the JTAG.

  • Hi Huey Duong,

    Could you try wait-boot instead once?

    Thanks and regards,
    Vamsi

  • Tried the SCI/wait-boot.  The Uniflash Reset Now feature works the same way as when it was in flash.  Basically does not run the application, nor can you click the Reset Now button more than once.

    Please let me know if it works for you.

    This mode can not be used for production units, as power cycling does not start up the application.

  • Hi Huey Duong,

    I will ask our System expert to review this for you.

    Thanks and regards,
    Vamsi

  • Hi Huey,

    Were you able to get this working ?

    Regards,

    Vivek Singh

  • No, i did not.  From the last few msgs I've tried the SCI/wait-boot as you requested and it still did not work and am currently waiting for further suggestions.

  • With JTAG connected, device boots as per emulation boot and user need to set this properly to boot the device after any CPU reset. If it's not set properly then device will halt inside wait boot. Please refer TRM to find the detail about emulation boot and set it properly before issuing CPU reset.

    Regards,

    Vivek Singh