What’s needed:
Homebrew https://brew.sh/
avrdude
Type in terminal:
brew install avrdude
Download .hex firmware file and save it to know location on your mac (for example in your home folder)
Connect micro USB data cable to your MAC and Triple I/O
Find usb port with terminal command
ls /dev | grep usb
Example:
ls /dev | grep usb
cu.usbserial-1120
tty.usbserial-1120
Go to folder where you saved firmware .hex file (home folder in example below):
cd ~
Example command for flashing:
avrdude -v -p atmega328p -c arduino -P /dev/DEVICE_NAME -b 57600 -D -U flash:w:FILENAME
Replace DEVICE_NAME
with the device name you’ve found in previus step (ls /dev | grep usb
)
Replace FILENAME
with the .hex file name you’ve downloaded
Final example flashing command:
avrdude -v -p atmega328p -c arduino -P /dev/cu.usbserial-1120 -b 57600 -D -U flash:w:triple_io_v4.03.ino_.eightanaloginputs.hex
Done.