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/LAUNCHXL-F28069M: Launchxl-f28069m C28xx: Flash Programmer: Error erasing flash memory. Device is locked or not connected. Operation cancelled

Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: DRV8305, UNIFLASH

Tool/software: Code Composer Studio

Hello ti community,

we are using LaunchXL-f28069m and loaded instaspins lab progarm 10d ,unexpectedly error occured "C28xx: Flash Programmer: Error erasing flash memory. Device is locked or not connected. Operation cancelled",shows device is locked we have settings as flash [active] build configuration ,during loaded connected drv8305 and removed JP1,JP2,JP5,JP7 from the launched .

after getting the error try out this steps with reference e2e posts

1.uniflash ,tried to erase flash memory but device is still locked

2.settings view-target configuration-launch selected configuration -connect target

3.referred e2e post ,if password location 0x3F7FF8is 0x00 device is locked otherwise 0xFFFF device is locked ,shows 0x00 may be device is locked

we have tried out this steps, how to edit memory location PWL0x3F7FF8 and unlock launchpad f28069m plz help us to resolve this issue ASAP .

thank&regards

JS

  • hello ti community,

    unexpectedly images didnt uploaded ,

    2.settings view-target configuration-launch selected configuration -connect target

    3.referred e2e post ,if password location 0x3F7FF8is 0x00 device is locked otherwise 0xFFFF device is locked ,shows 0x00 may be device is locked

    helps us to resolve issue ...

    thanks&regards

    JS

  • JS,

    From CCS and uniflash snapshots, the device is indeed locked. Only way to erase the flash is by unlocking the device. You can unlock the device by entering the password in 0xAE0 - 0xAE7.

    Regards,

    Manoj

  • Hii manoj ,

    we didn't get u...have to change password in GEL file ???? already tried to change password in uniflash but it doesn't changing ..if possible share me any reference to change password orelse is it crt to change in GEL files ..thanks for the  reply ..plzz guide me resolve this issue 

    thanks&regards,

    JS

  • No, you don't to change the gel file.

    1) Open Memory window and enter address 0xAE0

    2) Enter your password from 0xAE0 - 0xAE7

    3) If you enter the correct password, the device will get unlocked. Once unlocked, you can erase and program the flash.

    I hope you know the password which you programmed into the device previously.

    Regards,

    Manoj

  • Hii manoj

    we have loaded the motoware -instaspin lab program 10d and  new to "motoware" not aware "csm" password can u show password location in the 10d program,during the time10d program loading the device is loaded ,plz guide me to resolve this issue ...

    thanks&regards,

    Js

  • Hi JS,

    What Manoj is talking about is not in the lab 10d program. What he's saying is if you know the passwords that were programmed to the 0x3F 7FF8 - 0x3F 8000 CSM passwords section, then you need to unlock and erase the flash per the below:

    1. Connect to the device in CCS or Uniflash

    2. Open the "On-chip Flash Programmer" in CCS or "Settings & Utilities" tab --> "Security"  in Uniflash

    3. Type in the known CSM passwords that were programmed and click Unlock

    4. Device will unlock and you can erase the flash if the passwords are correct

    Best,

    Kevin

  •  Hii kevin,

    we have tried with uniflash and ccs default password as 0xFFFF many times "the device is still locked" but we don't know the"CSM" password ,for that we mentioned during 10d lab program loading the error occured ...we are new to picolo series not aware of "csm".... plz  guide to solve this issue...

    Thanks&regards,

    JS

  • Hi JS,

    The screenshot your showing is memory address 0xAE0. The passwords are at 0x3F 7FF8 through 0x3F 8000 as I mentioned previously.

    If you don't know the passwords, or they were wrongly programmed all to 0x0000, the device is likely permanently locked. This can also happen per the below, described in the device datasheet:

    Any brownout or interruption to power during erasing/programming could potentially corrupt the password locations and lock the device permanently.

    Best,

    Kevin

  • Hii kevin,

            we have checked out with two memory addresses u have mentioned using uniflash but it shows 0x00 device is locked .,

    As i mentioned early,don't know about "csm" and checked out the program we have loaded it seems default password ....may be this is reason, as u mentioned brown out& power interruption may lock the device..if it is plz guide me to resolve this issue..

    Thanks&regards,

    Js

  • Hi Js,

    If the F2806x device is permanently locked, which seems to be the case, then there is no way to recover / unlock it. You will need to acquire a new device or board.

    If you hadn't programmed the CSM (Code Security Module) passwords of the device, either in your program or some other way, then some interruption or power related issue may be the culprit. You should take special care to not interrupt the device when programming / erasing the flash and ensure a stable power supply is used in the future.

    Best,

    Kevin