Logic Sniffer: Comprehensive update application

From DP

Revision as of 07:26, 1 February 2011 by Ian (Talk | contribs)
Jump to: navigation , search

Forum member robots developed an all-in-one update application for the Logic Sniffer. A single command line utility updates the firmware and ROM image (bitstream), under all platforms. This app is still in development.

Usage

ols-fwloader [-d] [-V] [-W] [-R] [-E] [-r rfile] [-w wfile] [-t type] [-v vid] [-p pid]

-f dev - select which device to work with (BOOT or APP)
-V - veriy Flash against wfile
-E - erase flash
-W - erase and write flash with wfile
-R - read flash to rfile
-T - reset device at the end

-t type - File type (BIN/HEX) (default: BIN)
-w file - file to be read and written to flash
-r file - file where the flash content should be written to
-d - be verbosse
BOOT only options:
-p pid - Set usb PID
-v vid - Set usb VID
-n - enter bootloader first
APP only options:
-P port - Serial port device
-l num - Limit number of read/written pages to num
-S - run selftest

Write PIC firmware with verification, enter bootloader first:
ols-fwloader -f BOOT -n -P /dev/ttyACM0 -V -W -w aaas.bin
Write FPGA bitstream:
ols-fwloader -f APP -W -w bitstream.hex