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.

CC2538: Disabling Debug Lock using J-Link + J-Flash

Part Number: CC2538
Other Parts Discussed in Thread: SEGGER

Hi,

We are using the CC2538SF23 and trying to program them using a J-Link Ultra+ and J-Flash.

We find that once we set the debug lock bit, the next time we go to program the part the J-Flash software detects the debug lock bit is set, but it is unable to (erase and) unsecure the device.

If we use a SmartRF06 and TI's Flash Programmer 2 we can successfully un-secure the chip.

Does anyone have any further info on the J-Link and it's ability to unsecure CC2538's? (I also contacted Segger support, jsut hoping for a quick answer!)

Thanks,

Mark

  • Hi Mark,

    As far as I know J-flash does not support the CC2538.
  • Hi Again,

    Just to close this thread: This was a bug in the J-Flash software that is now fixed in v6.22d, as shown in the release notes here: www.segger.com/.../ReleaseNotes_JLink.html

    Version V6.22d (2017-12-14)

    1. DLL / Flasher stand-alone mode: There has been a regression regarding the flash programming speed of Marvell 88MW300 series devices. Introduced in V6.16i. Fixed.
    2. DLL: Fixed programming speed regression for CFI based flash algorithms (AMD). Introduced in V6.xx. Fixed.
    3. DLL: Flash programming of the Flex NVM area of NXP MWCT101xS series devices did not work. Fixed.
    4. DLL: TI CC2538: Unlocking of secured devices did not work. Fixed.
    5. DLL: The sector size of NXP S32K142 series devices was incorrect (4KB instead of 2KB). This could cause issues during flash programming. Fixed.
    6. DLL: Updated the flashloader for Analog Devices ADUCM4x50 (erase timing updated).
    7. J-Flash: Added a new tab (Performance), which can be used to configure certain optimizations which are valid for all actions in J-Flash (Production Programming & Manual Programming).
    8. J-Flash: J-Flash does no longer perform a erase prior "Manual Programming" -> "Program" or "Manual Programming" -> "Program & Verify".

    Cheers,

    Mark