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.

LP-CC1312R7: [ERROR] IcePick_C: 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.

Part Number: LP-CC1312R7
Other Parts Discussed in Thread: UNIFLASH, CC1312R7

Hi, 

I am using Uniflash tool to copy my binary file to the internal flash of the cc1312r7, It was working fine until my recent attempt during which I faced the following error 

[ERROR] IcePick_C: 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.

I tried mass erase of flash as well and tried to powercycle the board, yet I am facing this error when trying to upload to my launchpad. 

Please help me out in unlocking the launchpad.

  • Hi Kiran, 

    When you are using uniflash and try to program a locked device, you should see this pop up. 

    Clicking yes here should mass erase the device, unlock it and program the device automatically. Try using the latest version of uniflash. 

    www.ti.com/.../UNIFLASH 

    Regards,

    Sid

  • Hi Sid,
    I am not able to mass erase, I believe the Chip Erase in CCFG was disabled by mistake and I am using a replacement board as of now

    I am looking into preventing this mistake in future. I wanted to understand how the ccfg is populated. I understand from syscfg we can configure the ccfg params and the tool generates ti_devices_config.c, but my confusion is ti_devices_config.c sits in application flash space (0x00000) so I want to understand how and  when is it copied to the memory location 0x50003000 (the physical location of ccfg referenced from memory map of cc1312r7) 

  • Hi Kiran, 

    The location 0x50003000 seems to be an alias to read the last sector of the flash. Since the last sector is where the CCFG is supposed to be placed (at the end of the last sector). 

    To verify this you can check the address of the CCFG in the map file. Read the contents of this on uniflash. 

    And on Uniflash, go to the address 0x50003000 or go to CCFG .  And at the end of this sector (right before 0x50005000) you will see CCFG contents. 

    So no, there is no copying of CCFG to this address, it is just an alias. 

    I made a quick check with empty example 

    Regards,

    Sid