Hardware requirements
Mini/micro USB cable
FRDM-K32L3A6 board
Personal Computer
Board settings
No special settings are required. If download M0+ core project, need to let MCU boot from M0+ core, please follow below steps:
Download blhost.exe from www.nxp.com/kboot.
Connect J8 on baord to PC using USB cable.
After PC recognize the USB HID device, go to blhost.exe folder, open command line.
Run command “blhost.exe -u – flash-erase-all-unsecure”, it will erase the flash on chip.
Run command “blhost.exe -u – flash-program-once 0x84 4 ffffffbf”, set FOPT3 to boot from M0+ core.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.