Last active
December 6, 2021 17:14
-
-
Save moyashi/fdc78da117694686390336b57ad581b8 to your computer and use it in GitHub Desktop.
macOSでCNCコントロールボードへコマンドラインからGrblのhexを書き込む
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Arduino IDEを「/Applications/Arduino.app」にインストールしてあり、 | |
書き込み対象のGrblのhexがファイル名「firmware.hex」として「~/Downloads」にあり、 | |
CNCコントロールボードのシリアルポートが「/dev/tty.wchusbserial14510」であると | |
仮定。 | |
Grblのhexはここにある https://github.com/gnea/grbl/releases | |
Grbl0.9から1.1へのアップデートをする場合は、事前に$$で設定を書き出し、コピペして保存しておく。 | |
cd ~/Downloads | |
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -p m328p -C /Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -q -c arduino -b 115200 -P /dev/tty.wchusbserial14510 -U flash:w:firmware.hex:i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment