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.

CCS/cc1310: Error message while debugging

Part Number: CC1310
Other Parts Discussed in Thread: CC1350

Tool/software: Code Composer Studio

I have my own board with cc1310 device on it. i was able to load the program on the device and run it properly earlier. Suddenly, I started seeing the error message:

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 6.0.628.1)

Using smart rf flash programmer 2, i tried mass erase of the flash. It says mass erase of flash is successful but i am still unable to the program the device. Another thing that i observed was that when the device was working properly smartRF flash programmer detected the device as cc1310. After the device started showing an error message it is being detected as cc1350.

  • Did you change something in the ccfg.c? From the error message it could look like you have write protected the flash.
  • Hi,
    I did not make any changes to ccfg.c file. This is the same file as it came with the rfpacketrx example. Also, when i load the same code onto CC1310 launchpad board, there is no issue with programming it again. If there was something in the code which write-protected the flash, then it should have done the same with CC1310 on the launchpad board as well.
  • Ok.
    Then I assume that your board uses a CC1310 F128 7x7 (no changes to what is used by the LaunchPad? ) and this is what you see when you connect to Flash Programmer 2 the first time?

    As I understand it: You program the LP with a file and that is never an issue. But if you program your board with the same file, you get the error message and the device pops up as CC1350 afterwards?

    If that is the case, what is the difference between your board and the LP, especially with regards to the JTAG interface.
  • Yes, my board uses CC1310 F128 7x7. I have not faced an issue when i programmed launchpad cc1310 using the same file.
    Yes, the board is now being detected as cc1350 by smart rf flash programmer.
    The JTAG interface is the same for both my board and launchpad. I am using XDS110.

    Since I am unable to debug the device, is there any other way to check whether the cc1310 on my board is working or not?

    e2e.ti.com/.../2159614

    In one of the replies to this thread, it was suggested to use the xdsdfu tool to check if the device is alive or not.
    I did not get any error while trying to manually update the firmware. Does this mean that the device is alive?
  • If flash programmer 2 reads the CC1310 as a CC1350 the device is probably at least partially bricked.

    Could you post the schematic of your board? I'm trying to understand why your board behave differently than the LP. If you don't want it public, you can send me a friend request and send it to me directly.
  • Not sure if it's related but VDDR should never be powering anything other than the chip itself. Connecting a LED to this pin should not be done.
  • We disconnected the LED. However, I am still unable to program the device. It was working fine previously with the LED connected to the VDDR pin and I was able to program it and run the program several times before so I assume this is not the issue.
    Any way I can know for sure if the device is bricked or is working fine?
    Also, if the problem is that I have write protected the flash, is there any way to recover the device? 
    Also, for future reference I would like to know whether apart from making changes to the ccfg file any other debugging practices could lead to the flash accidentally getting write protected. Because I am not sure what caused this problem and would like to avoid it while working with other boards in the future.  

  • Hello. Any updates?
  • I got the same error message today when I tried to download a CC1350 example (that requires dual mode) into a CC1310 but other than that my LP behaves normally after I tried to program it.