Support for the NXP FRDM-K64F. More...
Support for the NXP FRDM-K64F.
The board has a K64F Kinetis MCU and is supported by cpu/kinetis_common.

| MCU | MK64FN1M0VLL12 | 
|---|---|
| Family | ARM Cortex-M4F | 
| Vendor | Freescale | 
| RAM | 256KiB | 
| Flash | 1024KiB | 
| Frequency | 120MHz | 
| FPU | yes | 
| Timers | yes | 
| ADCs | yes | 
| UARTs | yes | 
| SPIs | yes | 
| I2Cs | yes | 
| Ethernet | WIP | 
| USB | WIP | 
| LPM | TODO | 
| DAC | TODO | 
| Vcc | TODO | 
| Reference Manual | TODO | 
The board has an integrated debugger adapter (k20dx128) with the firmware from ARMmbed. There are three interfaces available:
Please update the firmware to version 0221, see below.
The latest (01.07.2015) OpenOCD version (also current git) does not support the K64F. There is a patch which makes flashing and debugging possible. A refactored and rebased version can be found here.
make BOARD=frdm-k64f flash
Simply mount the mbed Mass Storage Device und copy new RIOT firmware. See also the ARMmbed instructions.
A update of CMSIS-DAP firmware is necessary to using the board with OpenOCD. A good step by step guide is available here.
When a flash process has failed or a wrong firmware has been programmed, the following OpenOCD message may appear:
Solution 1:
Solution 2:
reset_config srst_only srst_nogate connect_assert_srst in boards/frdm-k64f/dist/openocd.cfgSolution 3:
Files | |
| file | adc_params.h | 
| Board specific configuration of direct mapped ADC.  | |
| file | board.h | 
| Board specific definitions for the FRDM-K64F.  | |
| file | periph_conf.h |