AnsweredAssumed Answered

OpenSDAv2 for TWR-K65F180M

Question asked by Paul Brown on Feb 24, 2016
Latest reply on Mar 21, 2016 by Peter Ruesch

From what I have read in other documents and posts, this page should provide the binary bootloader for this board:

http://www.nxp.com/products/software-and-tools/run-time-software/kinetis-software-and-tools/ides-for-kinetis-mcus/opensda-serial-and-debug-adapter:OPENSDA

I chose the TWR-K65 board and it gave a link to this file:

http://www.nxp.com/files/soft_dev_tools/software_tools/debuggers/k20dx128_twr_k65f_if_0x8000.bin

I dropped this onto the BOOTLOADER drive, USB-cycled the board, and it appears dead. No virtual COM port or any other new devices show up in Windows Device Manager. Forging ahead anyway, I tried initiating a debug session with KDS, following the instructions here:

https://community.freescale.com/docs/DOC-100720

The OpenOCD debugger is selected, as per the instructions here:

GDB Debugging with Kinetis Design Studio

I get "OpenOCD failed with code(1)." The console messages are:

Open On-Chip Debugger 0.8.0-dev (2015-01-09-16:22)

Licensed under GNU GPL v2

For bug reports, read

  http://openocd.sourceforge.net/doc/doxygen/bugs.html

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

Error: unable to open CMSIS-DAP device

Error: unable to init CMSIS-DAP driver

Error: Error selecting 'cmsis-dap' as transport

Runtime Error: C:/Freescale/KDS_3.0.0/openocd/bin/..//scripts/kinetis.cfg:3:

in procedure 'script'

at file "embedded:startup.tcl", line 58

in procedure 'interface' called at file "C:/Freescale/KDS_3.0.0/openocd/bin/..//scripts/kinetis.cfg", line 3

The document "Getting Started with Kinetis SDK (KSDK) v.2.0" says a Windows driver is required, gives a link which provides this driver: mbedWinSerial_16466.exe

This driver did not install because "no mbed microcontrollers were found".

 

I have previously used this board with the P&E OpenSDA debug interface. Hopefully I can restore it back to the board.

Is OpenSDAv2 available and working correctly for the TWR-K65 board? Is there something wrong with the file k20dx128_twr_k65f_if_0x8000.bin?

Outcomes