Coder Social home page Coder Social logo

gh60's Introduction

GH60(OK60RGB)刷固件(macOS)

PCB型号

在淘宝店铺YMDK购买的GH60,OK60RGB的PCB。

环境准备

软件安装

用brew安装dfu-programmer和crosspack-avr。

前者用于 build firmware,后者用于刷入键盘。

brew install dfu-programmer
brew install Caskroom/cask/crosspack-avr

进入dfu模式

按PCB板背面开关即可进入dfu模式刷写固件。

运行命令

system_profiler SPUSBDataType

可查看到如下输出,则已进入dfu模式

ATm32U4DFU:
 
          Product ID: 0x2ff4
          Vendor ID: 0x03eb  (Atmel Corporation)
          Version: 0.00
          Serial Number: 1.0.0
          Speed: Up to 12 Mb/sec
          Manufacturer: ATMEL
          Location ID: 0x14500000 / 60
          Current Available (mA): 500
          Extra Operating Current (mA): 0
          Built-In: Yes

配置键位

打开https://kbfirmware.com/,选择S60-X_RGB-generic,配置相应配列,并下载hex文件。

下载hex文件

刷写固件

dfu-programmer atmega32u4 erase --force
dfu-programmer atmega32u4 flash gh60.hex
dfu-programmer atmega32u4 reset

gh60's People

Contributors

diner-wang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.