-
Notifications
You must be signed in to change notification settings - Fork 1
Flashing the FTDI EEPROM under linux
Dave Hylands edited this page Dec 23, 2016
·
2 revisions
The very first batch of boards (5) have an FTDI EEPROM that doesn't seem to work under linux properly.
I discovered that libftdi comes with a couple utilities that can read and write the FTDI EEPROM.
I cloned this repository and followed the build instructions here.
When I did the make, it failed part way through, but it was after it had built the ftdi_eeprom utility, so I never bothered to investigate the build failure.
You should find build/ftdi_eeprom/ftdi_eeprom.
You can read the EEPROM by doing (assumes you're in the build directory):
cd ftdi_eeprom
wget wget https://raw.githubusercontent.com/mozilla-sensorweb/sensorweb-wiki/master/jtag-eeprom.conf
sudo modprobe -r ftdi_sio
./ftdi_eeprom --read-eeprom jtag-eeprom.conf
and then you can update the EEPROM by doing:
./ftdi_eeprom --flash-eeprom jtag-eeprom.conf
After updating the EEPROM, you should unplug and replug the board.