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.
Tool/software:
I am working with the CC2640R2 and encountering an issue while trying to debug the device through Code Composer Studio. I am not using an external XDS110 debugger but relying on the built-in debug interface of the CC2640R2. The error I encounter is:
Error connecting to the target:
(Error -241 @ 0x0)
A router subpath could not be accessed.
A security error has probably occurred.
Make sure your device is unlocked.
(Emulation package 9.13.0.00201)
I suspect that the debug interface might still be locked or there’s an issue with the device configuration. Are there specific steps or tools to ensure the CC2640R2's debug interface is fully unlocked and accessible?
Thank you for your support!
Hi,
Thank you for reaching out.
In general, this kind of issue is caused either by conflicting programs trying to access the board, or incorrect wireing between the XDS110 and the CC2640R2F.
Could you please ensure only CCS is open on your computer, and all the other applications (UniFlash, SmartRF Studio, Windows Device Manager) are closed?
Could you please provide a photo of your board to see the connections?
Best regards,
Dear Clément,
Thank you for your response and the suggestions.
I have ensured that only Code Composer Studio (CCS) is open on my computer, and all other applications such as UniFlash, SmartRF Studio, and Windows Device Manager are closed. However, the issue persists.
I have attached a photo of my board showing the connections for your reference here the PIN DI03 is TX and DI02 is RX here here I am doing UART project . Please let me know if there are any adjustments or further steps I should take.
Looking forward to your guidance.
Best regards,
Saravanan
Hi,
Everything you have shared looks good.
For sanity, could you check whether the issue reproduces with an other board and a new USB cable?
Best regards,
Hi,
"Thank you for your response. This is my second board, and I encountered the same issue as before. The board works properly when used with another laptop running CCS. However, when I try to use it on my laptop, the board enters a lock state. Afterward, even when using the same board on the other laptop, it still shows the lock state."
Best regards,
Saravanan,
Hi,
Are you using the same projects on the two computers?
In general you can force the debug interface to be locked using the CCFG. I'd recommend checking this.
Regards,
Hi,
I am using same project on two computers
could you tell be some what brief about debug interface to be locked using the CCFG!
Hi,
The CCFG is detailed in section §9.1 of the Technical Reference Manual - https://www.ti.com/lit/pdf/swcu117
In a nutshell, your project will overwrite certain of the settings set by <SDK>\source\ti\devices\cc26x0r2\startup_files\ccfg.c - this means if the SDK files are not identical (e.g. accidentally altered) on both machines, then there is risk for an issue to occur.
Best regards,
Hi,
Thanks, for your response I will check and let you know.
Best regards,
Saravanan.
Hi,
I'll mark the thread resolved as I am about to be out for the end of year holidays.
If needed, please open a new thread as ownership over this one will not be transferred.
Best regards,
Hi,
My problem is not resolved yet. Now the board is locked can you send me some reference video, could you please provide resource person to help me over this. I was checked the SDK files are identical.
Best regards,
Saravanan.