User's guide for compiling and running the Freescale MQX USB stack and examples on the TWR-K24F120M board.
This user's guide for the Freescale MQX USB Stack on the TWR-K24F120M board explains how to compile the USB stack and examples, download a binary image, and run the examples. It lists the required hardware and software, describes the usb_v2 code structure, and gives an IAR step-by-step build and run procedure.
The guide also covers USB stack configuration for device, host, and OTG modes, including the configuration files and settings that require rebuilding the USB library and example projects.
| Supported IDE (IAR) | IAR Embedded Workbench for ARM Version 6.70.1 |
|---|---|
| Supported IDE (Keil) | Keil µVision5 Version 5.0.5.15 |
| Supported compiler | GNU Tools for ARM Embedded Processors 4.7 2013Q3 |
| Debugger driver | Segger J-Link driver V4.88 or later |
| USB VBUS jumper | J26 1-2 enables 5V VBUS |
The required hardware is a TWR-K24F120M board, a J-Link debugger, and USB cables.
It is located in the usb_v2 subfolder of the MQX RTOS root folder.
The guide adds the USB HID mouse device example.
J26 1-2 enables 5V VBUS.