AnsweredAssumed Answered

Meaning of the error message

Question asked by yuichi chikahiro on Apr 19, 2015
Latest reply on Feb 22, 2017 by Alice_Yang

Hello everyone,


I am using FRDM-K64F.

I try to run demo application in debug mode, but  it doesn't run and shows following message in console window:


  Open On-Chip Debugger 0.8.0-dev (2014-10-31-11:10)

  Licensed under GNU GPL v2

  For bug reports, read

  Info : only one transport option; autoselect 'cmsis-dap'

  Info : CMSIS-DAP: SWD  Supported

  Info : CMSIS-DAP: Interface Initialised (SWD)

  Info : add flash_bank kinetis kinetis.flash

  cortex_m reset_config sysresetreq

  adapter speed: 1000 kHz

  Info : CMSIS-DAP: FW Version = 1.0

  Info : SWCLK/TCK = 0 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1

  Info : DAP_SWJ Sequence (reset: 50+ '1' followed by 0)

  Info : CMSIS-DAP: Interface ready

  Info : clock speed 1000 kHz

  Info : IDCODE 0x2ba01477

  Error: Cannot access device, device is secured

  Info : Mass erasing a device will unsecure it until the next reset. To permanently unsecure, mass erase then flash a program containing an appropriate flash configuration field.


I have seen quite a few articles in which it states.

I don't resolve this trouble.

How can I run my device?

I am using Kinetis Design Studio IDE v2.0 and GDB Open OCD Debugging.


Yuichi Chikahiro.