Unfortunately I tried most of the commands already, the erase worked as
the led no-longer responds  to moving the board.

--------------------------------------------------------------------------------
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Open On-Chip Debugger
> kinetis mdm halt
MDM: halt timed out

> kinetis mdm halt
MDM: halt timed out

> kinetis mdm mass_erase
SWD DPIDR 0x5ba02477
SWD DPIDR 0x5ba02477
SWD DPIDR 0x5ba02477
AP write error, reset will not halt
SWD DPIDR 0x5ba02477
Polling target kx.cpu failed, trying to reexamine
SWD DPIDR 0x5ba02477
**** Your Kinetis MCU is probably locked-up in RESET/WDOG loop. ****
**** Common reason is a blank flash (at least a reset vector).  ****
**** Issue 'kinetis mdm halt' command or if SRST is connected   ****
**** and configured, use 'reset halt'                           ****
**** If MCU cannot be halted, it is likely secured and running  ****
**** in RESET/WDOG loop. Issue 'kinetis mdm mass_erase'         ****
SWD DPIDR 0x5ba02477
Failed to read memory at 0xe000ed00
Examination failed, GDB will be halted. Polling again in 100ms
> 
--------------------------------------------------------------------------------



Tomas Vanek <[email protected]> wrote:

        Try

        kinetis mdm halt

        for the case if reset is not properly connected on the board.

        And if it fails, proceed as suggested in the message:

        **** If MCU cannot be halted, it is likely secured and running  ****
        **** in RESET/WDOG loop. Issue 'kinetis mdm mass_erase'         ****

        There is no point in sending more detailed logs.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to