**** Ubuntu pre-reqs **** See also : https://github.com/GadgetFactory/OpenBench-Logic-Sniffer sudo apt-get install libusb-1.0-0-dev **** Build new loader **** See: https://github.com/robots/ols-fwloader http://dangerousprototypes.com/forum/viewtopic.php?f=23&t=1654&start=90 http://dangerousprototypes.com/docs/Logic_Sniffer:_Comprehensive_update_application Build ols_fw_loader -------------------- Checkout sw git clone http://github.com/robots/ols-fwloader Build sw cd ols-fwloader For git repository first run: autoreconf --install ./configure make sudo make install Note: Installs ols_fwloader in /usr/local/bin **** UPDATE PIC **** Write Pic FW -------------- sudo ols_fwloader -f BOOT -n -P /dev/ttyACM0 -W -w PIC_firmware/OLSv1.firmware.v3.0.hex Found OLS HW: 1, FW: 2.3, Boot: 2 Found flash: WINBOND W25X40 OLS switched to bootloader mode Bootloader version 0.2.2 Bootloader version 0.2.2 Reading file 'PIC_firmware/OLSv1.firmware.v3.0.hex' Erasing flash ... Writing flash ... (0x0800 - 0x3c00) Verify Pic FW -------------- sudo ols_fwloader -f BOOT -n -P /dev/ttyACM0 -V -w PIC_firmware/OLSv1.firmware.v3.0.hex Found OLS HW: 1, FW: 3.0, Boot: 2 Found flash: WINBOND W25X40 OLS switched to bootloader mode Bootloader version 0.2.2 Bootloader version 0.2.2 Checking flash ... (0x0800 - 0x3c00) Verified OK! :) **** Update FPGA **** Write FPGA FW -------------- sudo ols_fwloader -f APP -P /dev/ttyACM0 -W -t BIN -w FPGAROM/logic_sniffer_3.07-Demon-Core.bit Found OLS HW: 1, FW: 3.0, Boot: 2 Found flash: WINBOND W25X40 Reading file 'FPGAROM/logic_sniffer_3.07-Demon-Core.bit' Erasing flash ... Chip erase ... done :) Will write 662 pages ..................... Verify FPGA FW ---------------- sudo ols_fwloader -f APP -P /dev/ttyACM0 -V -t BIN -w FPGAROM/logic_sniffer_3.07-Demon-Core.bit Found OLS HW: 1, FW: 3.0, Boot: 2 Found flash: WINBOND W25X40 Checking flash ... ..................... Verify OK Selftest ---------------- sudo ols_fwloader -P /dev/ttyACM0 -f APP -S Found OLS HW: 1, FW: 3.0, Boot: 2 Found flash: WINBOND W25X40 done... Passed self-test :) **** Linux install UDEV Rules **** See: ---------------- http://dangerousprototypes.com/docs/Logic_Sniffer_quick_start_guide#Hardware_installation_2 #File /etc/udev/rules.d/ols.rules #Rules for Openbench Logix Snifferslogic. Creates a nice link to the ols ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fc92", MODE="0666", SYMLINK+="OpenLogicSniffer" sudo restart udev