User Manual
Hexiwear Workstation
Page 11
mikroProg
Onboard programmer
The Hexiwear Workstation board is equipped with the mikroProg, an onboard
OpenSDA compatible programmer and hardware in-circuit debugger for Kinetis
MCUs. It is used to program and debug docked Hexiwear. The programmer allows
seamless programming and debugging operations directly from within the mikroC
PRO for ARM, mikroPascal PRO for ARM, or mikroBasic PRO for ARM compilers, as
well as using it with the stand-alone programming application, called mikroProg
Suite. It also supports the DAPLink programming method, which off ers an easy to
use drag&drop based programming of the docked Hexiwear platform.
These three LEDs indicate specifi c
programmer operations (Figure 10).
Link LED lights up when USB link is
established. Active LED lights up when
programmer is active. Data LED lights
up when data is being transferred
between the programmer and the host
computer.
Before using the Hexiwear Workstation board for the first time, it is necessary to
take the following steps:
∫ Install the required software:
- Install USB drivers (Page 20)
- Install mikroProg Suite for ARM® software (Page 21)
∫ Power up the board:
- Plug in the programmer USB cable
- Turn on Power switch
- LINK and POWER LED should light up.
What is mikroProg?
Why so many LEDs?
How do I start?
OpenSDA is an open-standard serial and debug adapter. It allows serial and debug
communications between a USB host and an embedded microcontroller (K64F
and KW40Z in case of Hexiwear). Hexiwear Workstation has an integrated OpenSDA
compatible programmer on board. The hardware circuit of the programmer is based
on the NXP Kinetis K20 family MCU and an integrated USB controller. This programmer
offers several distinctive features, with more planned to be developed in the future:
∫ It features a Mass Storage Device class interface (MSD) - The programmer
appears as a mass storage device, which can be used to program the docked Hexiwear
by simple drag&drop of the binary (.bin) or hex (.hex) fi les to the mass storage folder.
∫ It features a USB Communications Device class (CDC) - The programmer
exposes its UART component as the COM port on a Windows platform.
∫ It provides a channel over which the CMSIS-DAP debug protocol runs. This
allows compilers to use the OpenSDA compatible programmer to debug the application
software in compilers which support it.
If you want to know more about the OpenSDA project, be sure to read the OpenSDA
user guide on the link below: nxp.com/docs/en/user-guide/OPENSDAUG.pdf
About OpenSDA
Figure 10: Programmer LEDs