CC2340R5: Custom Board Boot Issue: Program only runs after Debug Restart, not on Power-On Reset

Part Number: CC2340R5
Other Parts Discussed in Thread: SYSCONFIG

Body:

Dear TI Support Team,

I am working on a custom board using CC2340R52E0RGER  and Code Composer Studio.

Issue Description:
My program does not execute when I simply power up the board (Power-On Reset). However, if I connect the debugger (e.g., XDS110), enter the Debug session, and click the "Restart" button within the Debug view, the program runs perfectly as expected.

My Question:
What is the fundamental difference between a Power-On Reset (POR) and the "Restart" command issued by the CCS debugger?
Specifically, why would the debugger's Restart cause the program to boot correctly, while a standard hardware power cycle does not?

Relevant Context:

  • MCU: CC2340R5

  • Debugger: XDS1110

  • CCS Version: 20.1.0.6

  • Custom Board: Four-layer PCB.

Could this be related to the Boot Mode pins (e.g., GPIO pins for boot mode selection) on my schematic? Is it possible that debugger's Restart bypasses the initial Boot ROM check, while the POR is getting stuck at a wrong boot mode (e.g., Wait Mode or SCI Boot)?

Thank you for your help.

  • Hi bai,

    My first thought is that this is very similar to a recent E2E thread.  It is a common mistake for custom boards which do not know how to properly set the ROM Serial Bootloader configuration.  Please see my response below:

    This is a common issue likely related to the default backdoor bootload pin from the SysConfig Device Configuration settings.

    The Default FCFG bootloader settings are in the TRM:

    So likely your hardware has DIO21 (pinTriggerDIO) pulled to ground (pinTriggerLevel).  To resolve this, you can disable the Bootloader in SysConfig ("Any bootloader forbidden"), use a custom CCFG settings ("Default FCFG bootloader, with CCFG settings"), or move your hardware away from using DIO21 entirely.

    Please let me know if this resolves your issue.

    Regards,
    Ryan