Using the FV1Dev on Apple macOS

From PedalPCB Wiki
Jump to navigation Jump to search

This method has been tested on macOS Sierra and Mojave. Other versions may work, but have not been verified.

Installation

Open a Terminal window and enter the following:

Step 1: Install Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"


Step 2: Install libusb

brew install libusb


Step 3: Install SRecord

brew install srecord


Step 4: Download FV1Dev Bundle for macOS

[Download FV1Dev Flash Tool]

Usage Notes

Read EEPROM data to .bin file

ch341eeprom -s 24c32 -r <filename.bin>

Write .bin file to EEPROM

ch341eeprom -s 24c32 -w <filename.bin>

Convert BIN to HEX

srec_cat <filename.bin> -binary -o <filename.hex> -intel

Convert HEX to BIN

srec_cat <filename.hex> -intel -o <filename.bin> -binary