Tool/software:
Hi - I am well along in developing for the CC2340R5 and last week upgraded CCS to version 20.0.0 which of course is all new. I am debugging with two dev boards on one machine and have been running for a very long time without problems. After installing the new IDE, both of my boards went through a firmware upgrade and I think initially both worked. Within a day, I could no longer upload my code to one of the boards. The message is:
Error connecting to the target: (Error -1274 @ 0x0) Error encountered during connect sequence. The specific reason is unknown but may be the result of trying to access a Core or logic that is inaccessible due to a lack of Power, Clocks, or Authentication (i.e. Security is preventing). If blocked by security, and if supported, access may be allowed after following the Authentication process. (Emulation package 20.0.0.3264)
My other board works fine. I decided to try a new debugger board to replace the one that is not working. The new board upgraded the debugger firmware on the first run, and then gave me the same error.
Right now I just have one working board and I've tried a few things I read about but nothing is changing. It is the same CSS and machine so it seems hard to blame the project itself. Some advice is greatly appreciated.
The debug output also includes the following which i am not sure can be done in the new CCS. This approach and the "authentication process" mentioned above are two things I have no info on.
Debugging is not allowed. If this is not expected, check your CCFG.
If you are experiencing issues with loading your application, do the following (this will erase the chip):
- Code Composer Studio:
- End the current debug session (if any is active).
- View -> Target Configurations -> Right click on .ccxml file for your project -> Launch Selected Configuration.
- Right click on the 'Debug Probe/Cortex_M0P' and select 'Show all cores'.
- Select the 'Debug Probe/CS_DAP0' item after expanding the 'Non Debuggable Devices' item.
- Scripts -> CC23xx -> ChipErase to start Chip erase.
- You should now be able to load your application to the target.
Debugging is not allowed. If this not expected, check your CCFG.
Flash loading is currently not supported if debugging is not allowed.
Halting at entry of application is not allowed. Are you sure debugging is allowed?
Running the application, without halting at the entry of the application.