{"action":"created","issue":{"url":"https://api.github.com/repos/kiibohd/controller/issues/55","labels_url":"https://api.github.com/repos/kiibohd/controller/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/kiibohd/controller/issues/55/comments","events_url":"https://api.github.com/repos/kiibohd/controller/issues/55/events","html_url":"https://github.com/kiibohd/controller/issues/55","id":88755977,"number":55,"title":"Porting firmware to proprietary keyboards","user":{"login":"acornejo","id":83786,"avatar_url":"https://avatars.githubusercontent.com/u/83786?v=3","gravatar_id":"","url":"https://api.github.com/users/acornejo","html_url":"https://github.com/acornejo","followers_url":"https://api.github.com/users/acornejo/followers","following_url":"https://api.github.com/users/acornejo/following{/other_user}","gists_url":"https://api.github.com/users/acornejo/gists{/gist_id}","starred_url":"https://api.github.com/users/acornejo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acornejo/subscriptions","organizations_url":"https://api.github.com/users/acornejo/orgs","repos_url":"https://api.github.com/users/acornejo/repos","events_url":"https://api.github.com/users/acornejo/events{/privacy}","received_events_url":"https://api.github.com/users/acornejo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-16T15:13:16Z","updated_at":"2015-06-17T05:54:36Z","closed_at":null,"body":"I recently learned about the infinity keyboard and this github project. At least to me, what seems most appealing is this open source firmware.\r\n\r\nAre there any thought on porting this firmware to propietary keyboards?\r\n\r\nI own a poker 3 which has a HT32F1655 arm chipset, so I would love to help in the effort. Probably the upload won't be possible through dfu unless the chip is flashed through swd first with another bootloader, but perhaps there are bigger hurdles than this.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/kiibohd/controller/issues/comments/112663577","html_url":"https://github.com/kiibohd/controller/issues/55#issuecomment-112663577","issue_url":"https://api.github.com/repos/kiibohd/controller/issues/55","id":112663577,"user":{"login":"acornejo","id":83786,"avatar_url":"https://avatars.githubusercontent.com/u/83786?v=3","gravatar_id":"","url":"https://api.github.com/users/acornejo","html_url":"https://github.com/acornejo","followers_url":"https://api.github.com/users/acornejo/followers","following_url":"https://api.github.com/users/acornejo/following{/other_user}","gists_url":"https://api.github.com/users/acornejo/gists{/gist_id}","starred_url":"https://api.github.com/users/acornejo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acornejo/subscriptions","organizations_url":"https://api.github.com/users/acornejo/orgs","repos_url":"https://api.github.com/users/acornejo/repos","events_url":"https://api.github.com/users/acornejo/events{/privacy}","received_events_url":"https://api.github.com/users/acornejo/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T05:54:36Z","updated_at":"2015-06-17T05:54:36Z","body":"Thanks @haata!!! It is encouraging to learn you think this is not a crazy idea.\r\n\r\nI could absolutely get a teensy 3.0/3.1 to aid in this endeavor. Would you mind elaborating a bit on why you think one would be useful? At first I thought that perhaps the teensy shared the same processor as the pok3r keyboard, but from what I can tell it is also based on the kinetis freescale processor of the infinity keyboard, so I am not entirely sure how it fits in.\r\n\r\nPerhaps I should mention that I already have three or so custom mchck's lying around. They are ALMOST vanilla mchck's with the exception that I used the K22DX processor line instead (back then I had to add support to the programmer for this family, but my patch has since been merged into the mchck trunk, so I my boards are now supported by the official mchck toolchain).\r\n\r\nA dev board for the HT32F1655 would most definitely be useful. Unfortunately the only thing I can find is an ESK32-310 with an e-link32, and they seem to be unavailable in ebay. I agree that carrying out this project without such a devkit is difficult (if not impossible), especially since I don't want to brick my keyboard in the process :( \r\n\r\nI could use one of the mchck's as an swd bridge to the HT32F1655. I have only really scratched at what swd can do. Most of my embedded experience is with AVR/PIC development, and my only experiments with ARM thus far was building my own mchk's and submitting patches to get it to work wit the K22DX famliy I was using. Hence, I will appreciate a lot any suggestions you have here.\r\n\r\nAll that being said, there are still things which I can figure out without the devkit or even swd.\r\n\r\nNamely my plan of attack was:\r\n- figure out the pin mappings from the HT32F1655 to the keyboard matrix, plus the pins used for usb (and swd, in the case they are broken out).\r\n- reverse engineer the firmware uploader that vortex already provides (ideally, we can use that, so everyone with a vortex poker 3 keyboard can use your wonderful firmware without having to physically hack their keyboard).\r\n- learn exactly what files from the kiibohd/controller codebase I will most likely have to port to the new architecture."}}