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