Tool/software:
Why can't CC2340R5 call main function after downloading software, can only run in DEBUG mode?
Hello,
Did you already try to run the guide here?
https://dev.ti.com/tirex/explore/node?node=A__ARFcZGXa9bs0Ce8tQOHRow__SIMPLELINK-ACADEMY-CC23XX__gsUPh5j__LATEST
Is this custom board or TI EVM (Launchpad)?
Thanks,
Toby
2340 The program cannot run normally after downloading the software. The MAIN function cannot be selected and can only be run in DEBUG mode.I checked the relevant register and it seems that stack overflow caused the heap to fail init. But I'm using an unmodified routine. The chip loops indefinitely from 0xf0024e8 to 0xf0024f8. I can't see where exactly this part of flash corresponds,What hardware issues can cause this
What program are you running? Can you try with default SDK examples?
Is this custom board or TI EVM (Launchpad)?
In order to better help you, please provide answers to my previous questions:
From a previous issue I saw before, make sure that the default bootloader pin is not held low after a reset (including reset by power).
In your project, try to disable the ROM bootloader:
Then flash, disconnect debugger, reset.