- MKE06Z128VLD4 Product Information
- Deep Dive on Kinetis E Series MCUs
- Kinetis Peripheral Module Quick Reference
- KE0x Fact Sheet
- KE06 Sub-Family Data Sheet
- KE06 Sub-Family Reference Manual
- Freedom Beginners Guide
- FRDM-KE06 User's Guide
- FRDM-KE06 Schematic
- FRDM-KExx Driver Library Package (ZIP file)
- Clock: Processor Expert defaults to
FEI
mode (internal oscillator). To use the 8 MHz crystal on the board, configure the clock forFEE
mode. When using the 8 MHz crystal, the maximum core clock is 40 MHz. To get the full 48 MHz, a 9.6 or 19.2 MHz crystal must be used instead. I installed an ABM3B-19.200MHZ-10-1-U-T crystal. - SWD Debugger: An external debugger can be attached by installing a header in J7. No other changes to the board are needed. The built-in OpenSDA debugger will not interfere if it is in bootloader mode. I installed a 3220-10-0100-00 header.
Note from NXP: "The Kinetis Design Studio IDE (KDS IDE) is no longer being actively developed but is being maintained to provide support for legacy Kinetis devices. The MCUXpresso IDE has now replaced the Kinetis Design Studio IDE as the recommended software development toolchain for NXP’s newes Kinetis, LPC and i.MX RT Cortex-M-based devices. For more details on MCUXpresso IDE, please visit http://www.nxp.com/mcuxpresso/ide."
- Download
- User's Guide
- Release Notes
- SpazzTech Video (also web page)
- DZone Processor Expert Overview
- Print Code Size During Build
Installing on Ubuntu 14.04 LTS 64-bit Desktop:
# dpkg -i kinetis-design-studio_3.2.0-1_amd64.deb
Building a project will fail unless these libraries are installed:
# apt update
# apt install -y libc6:i386 libncurses5:i386 libstdc++6:i386
Debugging will fail unless the FRDM-KE06 built-in debugger is flashed. See the OpenSDA notes below.
The FRDM-KE06 board includes an integrated debugger called OpenSDA. There are several incompatible versions of OpenSDA (see the table in the "OpenSDA Overview"). The version that ships on the FRDM-KE06 is OpenSDA v1 from P&E Micro. This version is not open source.
Debugging from Kinetis Design Studio will fail unless the FRDM-KE06's built-in OpenSDA debugger is flashed. OpenSDA can run different "applications" that affect its operation. The default application that ships on the FRDM-KE06 does not support KDS. Flashing a different application fixes it.
From an element14 forum post:
Enter OpenSDA Bootloader Mode
- Unplug the USB cable if attached
- Press and hold the Reset button (SW1)
- Plug in a USB cable between a USB host and the OpenSDA USB connector.
- Release the Reset button.
A removable drive should now be visible in the host file system with a volume label of BOOTLOADER. You are now in OpenSDA Bootloader mode.
Load an OpenSDA Application
- Locate the OpenSDA Applications folder in the downloaded FRDM-KE02Z Quick Start Package
- Copy & paste or drag & drop the Debug Application driver file (DEBUG-APP_Pemicro_v106.SDA) to the BOOTLOADER drive.
- Unplug the USB cable and plug it in again.
On Ubuntu 14.04, the SDA file was found at:
/opt/Freescale/KDS_v3/pemicro/opensda/DEBUG-APP_Pemicro_v108.SDA
Note: While I was able to get OpenSDA to work with KDS on Ubuntu 14.04, I could not get it to work on Ubuntu 18.04. KDS installs and builds projects on 18.04 but it does not recognize the OpenSDA debugger. Clicking "Refresh" in the dialog never finds the OpenSDA debugger, although dmesg
logs a message saying it is attached. I tried it on two different systems without success. I switched from the built-in OpenSDA debugger to an external Segger J-Link connected to J7. The J-Link works fine on Ubuntu 18.04, is supported by Kinetis Design Studio, and is noticeably faster than OpenSDA.