Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. KL27Z128/256 board
  2. ==================
  3. 2016/11/30
  4. KL27Z is configured to use internal 48MHz RC oscillator.
  5. The board has push button on PTA4 and LED on PTD7. The button works as 'a' key and the LED as an indicator for capslock.
  6. Resources
  7. ---------
  8. ### Kinetis KL2x
  9. http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/kinetis-cortex-m-mcus/l-series-ultra-low-power-m0-plus/kinetis-kl2x-48-mhz-usb-ultra-low-power-microcontrollers-based-on-arm-cortex-m0-plus:KL2x
  10. ### KL27Z128/256 Data Sheet
  11. http://www.nxp.com/assets/documents/data/en/data-sheets/KL27P64M48SF6.pdf
  12. ### KL27Z128/256 Reference Manual
  13. http://www.nxp.com/assets/documents/data/en/reference-manuals/KL27P64M48SF6RM.pdf
  14. ### Errata
  15. http://www.nxp.com/assets/documents/data/en/errata/KINETIS_L_1N71K.pdf
  16. >>
  17. e9457: Kinetis Flashloader/ ROM Bootloader: The peripheral auto-detect code in
  18. bootloader can falsely detect presence of SPI host causing non-responsive
  19. bootloader
  20. Description: During the active peripheral detection process, the bootloader can interpret spurious data on
  21. the SPI peripheral as valid data. The spurious data causes the bootloader to shutdown all
  22. peripherals except the “falsely detected" SPI and enter the command phase loop using the
  23. SPI. After the bootloader enters the command phase loop using the SPI, the other peripherals
  24. are ignored, so the desired peripheral is no longer active.
  25. The bootloader will not falsely detect activity on the I2C, UART, or USB interfaces, so only the
  26. SPI interface is affected.
  27. Workaround: Ensure that there is an external pull-up on the SPI chip-select pin or that the pin is driven high.
  28. This will prevent the bootloader from seeing spurious data due to activity on the SPI clock pin.
  29. ### Kinetis Bootloader and blhost
  30. http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/kinetis-cortex-m-mcus/kinetis-symbols-footprints-and-models/kinetis-bootloader:KBOOT
  31. Build
  32. -----
  33. make
  34. Program
  35. -------
  36. Flash firmware with ROM bootloader.
  37. blhost -u -- flash-image build/kl27z.hex erase
  38. TODO
  39. ----
  40. - Fix boards/ELF files
  41. - add macro `USBx_CTL_RESUME` to ChibiOS-Contrib/os/common/ext/CMSIS/KINETIS/kl27zxxx.h