Skip to content

Latest commit

 

History

History
78 lines (46 loc) · 1.65 KB

README.md

File metadata and controls

78 lines (46 loc) · 1.65 KB

flasher

This repo contains a couple of scripts and their dependencies which flash the bootloader and firmware images of the Ultimate Hacking Keyboard.

Instructions

Prerequisites

Hardware

You will need a SWD programmer. The scripts are written for 'Segger J-Link' line of programmers

Software

Mac / Linux

Install the following programs using your OS's package manager

  • wget
  • tar

Windows

TODO: Document windows software requirements

Connect Programmer

The Pins are located on the 'right half' of the keyboard.

Looking from the back of the keyboard, the pin headers are:

SWDIO SWCLK RESET
3.3v GND GND GND

Connect SWDIO, SWCLK, RESET 3.3v and any of the GND pins to your programmer.

If using the 'J-Link EDU mini' you can plug the pin headers directly into the back of the keyboard

Before programming, ensure the SWD programmer and USB power are connected to keyboard

Firmware Setup

Mac / Linux

Download the hex binaries

./fetch-firmware.sh

Flash a new bootloader (mac)

cd macintosh
./update-bootloader.sh

Install firmware (mac)

cd macintosh
./update-right.sh
./update-left.sh