Using the FV1Dev on Ubuntu

From PedalPCB Wiki
Revision as of 18:05, 7 January 2023 by PedalPCB (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This method has been tested on Ubuntu 18.04 LTS. Other versions may work, but have not been verified.

Installation

Open a Terminal window and enter the following:

Step 1: Update package information

sudo apt-get update

Step 2: Install libusb

sudo apt-get install libusb-1.0

Step 3: Install SRecord

sudo apt-get install srecord

Step 4: Download FV1Dev Bundle for Ubuntu

[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