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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. Infinity
  2. ========
  3. Massdrop Infinity Keyboard:
  4. https://www.massdrop.com/buy/infinity-keyboard-kit
  5. kiibohd controller(MD1):
  6. https://github.com/kiibohd/controller
  7. DFU bootloader:
  8. https://github.com/kiibohd/controller/tree/master/Bootloader
  9. Program with bootloader:
  10. $ dfu-util -D kiibohd.dfu.bin
  11. Pinout:
  12. https://github.com/kiibohd/controller/blob/master/Scan/MD1/pinout
  13. MCHCK compatible:
  14. https://mchck.org/about/
  15. MCU Freescale MK20DX128VLF5 48-QFP:
  16. http://cache.freescale.com/files/32bit/doc/data_sheet/K20P48M50SF0.pdf
  17. Pin Usage
  18. =========
  19. Key Matrix:
  20. Strobe(output high): PTB0 PTB1 PTB2 PTB3 PTB16 PTB17 PTC4 PTC5 PTD0
  21. Sense(input with pull-down): PTD1 PTD2 PTD3 PTD4 PTD5 PTD6 PTD7
  22. SWD pinout:
  23. SWD_CLK(PTA0) SWD_DIO(PTA3)
  24. SWD pins are placed next to reset button; SWD_CLK, SWD_DIO, GND, VCC from top.
  25. Note that RESET is also needed to get full control with OpenOCD.
  26. LED:
  27. PTA19(turns on with output high)
  28. Memory map
  29. ==========
  30. kiibohd bootloader: Lib/mk20dx128vlf5.bootloader.ld
  31. 0x0000_0000 +-------------------+ -----------------+---------------+ Vector table
  32. | .vectors | ------------. | StackPointer0 | of Bootloader
  33. | .startup | \ | ResetHandler1 |
  34. | .rodata | `--+---------------+ 0xF8
  35. 0x0000_0400 | .flashconfig(0x10)|
  36. _0410 | .text |
  37. | .init |
  38. 0x0000_1000 +-------------------+ -----------------+---------------+ Vector table
  39. | _app_rom | ------------. | | of App
  40. | | \ | |
  41. | | `--+---------------+
  42. | |
  43. ~ ~
  44. | |
  45. 0x07FF_FFFF +-------------------+ 128KB
  46. 0x1FFF_E000 +-------------------+ -----------------+---------------+ Vector table
  47. _E0F8 | | ------------. | | of App(copied)
  48. | | \ | |
  49. | | `--+---------------+ mbed NVIC
  50. | |
  51. | RAM |
  52. | 8KB|
  53. 0x2000_0000 +-------------------+
  54. | |
  55. | |
  56. | |
  57. | |
  58. | RAM |
  59. | 8KB|
  60. 0x2000_2000 +-------------------+ _estack