diff options
author | Jun Wako <wakojun@gmail.com> | 2015-01-04 17:22:06 +0900 |
---|---|---|
committer | Jun Wako <wakojun@gmail.com> | 2015-01-04 17:22:06 +0900 |
commit | 3dbb762dcc5b1d340cb145fc4ca60748ccf7c890 (patch) | |
tree | 2cf2fe560e83fef19c9a99adcc5d2b2300145bfc /keyboard/infinity/tool/README | |
parent | 06527bde4f873ffc6eb8e359fb3b150e880b89ba (diff) | |
parent | d0fefb76f8a1430c749e67bc72b4dba00c7143c9 (diff) |
Merge branch 'mbed_infinity'
Diffstat (limited to 'keyboard/infinity/tool/README')
-rw-r--r-- | keyboard/infinity/tool/README | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboard/infinity/tool/README b/keyboard/infinity/tool/README new file mode 100644 index 0000000000..3dd3316568 --- /dev/null +++ b/keyboard/infinity/tool/README @@ -0,0 +1,25 @@ +OpenOCD config files for Kinetis +================================ +http://nemuisan.blog.bai.ne.jp/?eid=192848#OPENOCD + +These are needed for SWD debug and programing bootloader. To flash keyboard firmware use 'dfu-util'. + +Flash security of Freescale kinetis +----------------------------------- +If FSEC of flash config is changed accidentally SWD/JTAG you can't get debug access until doing 'mdm mass_erase' with JTAG, CMSIS-DAP or OpenSAD adapter. HLA(high level adapter) like stlink doesn't work for this. + + +Example +------- +Debug: + $ openocd -s tool -f tool/openocd.cfg + $ arm-none-eabi-gdb build/infinity.elf -ex "target remote localhost:3333" + +Flash bootloader: + $ openocd -s tool -f tool/openocd.cfg -c "mt_flash kiibohd_bootloader.bin" + + +Infinity SWD pinout +------------------- +SWD pins are placed next to reset button; SWD_CLK, SWD_DIO, GND, VCC from top. +Note that RESET is also needed to get full control with OpenOCD. |