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.

F28M36P63C2: Breakpoint manager error, Action "Remain Halted"

Part Number: F28M36P63C2
Other Parts Discussed in Thread: UNIFLASH

i am currently getting a breakpoint manager error and cannot erase flash in CCS. I have also attempted to erase using UniFlash and get the same error. I can read the memory with Uniflash.

I believe this is occurring when I accidentally have two boards plugged into my USB ports and attempt to debug one of them. This also happened on a piccolo eval board. 

any help clearing this would be appreciated.

thanks 

Cortex_M3_0: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x20004118: (Error -1066 @ 0x20004118) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 6.0.407.3)
Cortex_M3_0: Breakpoint Manager: Retrying with a AET breakpoint
Cortex_M3_0: Breakpoint Manager: Error enabling this function: Address exceeds the allowed range
Cortex_M3_0: Error occurred during flash operation: Run was cancelled due to an earlier error while trying to execute pwrite_en.alg
Cortex_M3_0: Flash operation timed out waiting for the algorithm to complete. Operation cancelled.
Cortex_M3_0: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x20004118: (Error -1066 @ 0x20004118) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 6.0.407.3)
Cortex_M3_0: Breakpoint Manager: Retrying with a AET breakpoint

  • Hi Regis,

    It may be because the device got secured and the breakpoint insertion failed as the RAM is secure.
    Did you program any DCSM settings (password, PSWDLOCK bit-field etc)?
    When you read the memory using UniFlash, do you see the correct data (as you expect)? Or do you see all zeros?

    If PSWDLOCK (in OTPSECLOCK) is not programmed, then you will be able to read the password programmed in the Flash (via debugger memory window), which you can use to unlock. If PSWDLOCK is not programmed and if you see all zeros in the password locations, it means that the password locations are programmed with all 0s. Such a device can not be unlocked anymore.

    If PSWDLOCK is programmed, then you can check the executable's hex file (convert coff to hex) to know what values are programmed in to the password locations. If it is not all zeros, you can unlock if you figure out the password.

    Thanks and regards,
    Vamsi
  • There is data in the expected flash ranges. The Z1 and Z2 CSM passwords are all F's. Also checked the DCSM OTP Fields are also F's

  • Regis,

    When you get this error, open the memory window for 0x20004118 in CCS and try to write at that address. Let me know if the write goes through.

    Thanks and regards,
    Vamsi

  • I am not able to connect to the device to manipulate the memory.
    This error happens immediately on debug start.

    Cortex_M3_0: GEL Output: Memory Map Initialization Complete
    Cortex_M3_0: GEL Output: Watchdog Timers Enabled
    Cortex_M3_0: GEL Output: UARTs Enabled
    Cortex_M3_0: Writing Flash @ Address 0x00200030 of Length 0x00000006
    Cortex_M3_0: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x20004118: (Error -1066 @ 0x20004118) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 6.0.407.3)
    Cortex_M3_0: Breakpoint Manager: Retrying with a AET breakpoint
  • Using UniFlash I do see that that the data at that address and neighboring address are all zeros.

     

  • Regis,

    I think you are launching the target config via project.

    In CCS, can you go to Target configurations view -> User Defined -> Right click on the ccxml -> Launch Selected configuration.

    Then connect to the core, and see whether you are able to write to that location. 

    Thanks and regards,

    Vamsi

  • thanks I will give this a try