Today, I had the very bad idea of upgrading my working OLS v1.01 (an old one, with a 20Mhz PIC quartz) to the most recent firmware (v3.0) and FPGA bitsream (v3.07). I am still asking myself why I did this! Unfortunately, the OLS does not want to work anymore. After plugging the usb cable, indeed, the ACT led blinks twice (in the meanwhile the ARM led blinks just once; notice that the TRIG led stays off), then remains solid. As far as I was able to understand by reading all the related posts I found on this forum, this happens when something goes wrong while the FPGA tries to load its configuration. However, I do not see why this is happening as the entire process was quite smooth. I am working on a linux machine (Ubuntu 17.10), and I downloaded the appropriate software from the "OpenBench Logic Sniffer Downloads" page at gadgetfactory. Can anyone help me with this?
Below, you can find the command I executed with the associated output.
- Code: Select all
sudo ./ols-loader -p:/dev/ttyACM0 -status -erase -write -wB:../FPGAROM/logic_sniffer_3.07-Demon-Core.bit
Logic Sniffer ROM loader v0.3 (November 9, 2010)
Opening serial port '/dev/ttyACM0' @ 921600 ... OK
Found OLS HW: 1, FW: 3.0, Boot: 1
Found flash: ATMEL AT45DB041D
OLS status: 9c
Chip erase ... done :)
Reading BIN file '../FPGAROM/logic_sniffer_3.07-Demon-Core.bit' ... OK! (binary size = 169314)
Will write 642 pages
Page 0x0000 write ... (0x0000 0x0000)OK
...
Page 0x0281 write ... (0x0005 0x0002)OK
- Code: Select all
sudo ./ols-loader -p:/dev/ttyACM0 -boot
Logic Sniffer ROM loader v0.3 (November 9, 2010)
Opening serial port '/dev/ttyACM0' @ 921600 ... OK
Found OLS HW: 1, FW: 3.0, Boot: 1
Found flash: ATMEL AT45DB041D
OLS switched to bootloader mode
- Code: Select all
sudo ./fw_update -e -w -m flash -vid 0x04d8 -pid 0xfc90 -ix ../PIC_firmware/OLSv1.firmware.v3.0.hex
U2IO flash erasing: DONE.
U2IO flash programming: DONE.
RESET Device
Operation successfully completed.
This is the output of my dmesg.
USB disconnect, device number 111
usb 1-4: new full-speed USB device number 112 using xhci_hcd
usb 1-4: New USB device found, idVendor=04d8, idProduct=fc92
usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-4: Product: Logic Sniffer CDC-232
usb 1-4: Manufacturer: Microchip Technology Inc.
cdc_acm 1-4:1.0: ttyACM0: USB ACM device
The only strange thing that I noticed is that the selftest fails because of the 2.5v line. This is very strange, since I checked the line on the extension wing with a meter and the reading was stable at 2.55v.
- Code: Select all
sudo ./ols-loader -p:/dev/ttyACM0 -selftest
Logic Sniffer ROM loader v0.3 (November 9, 2010)
Opening serial port '/dev/ttyACM0' @ 921600 ... OK
Found OLS HW: 1, FW: 3.0, Boot: 1
Found flash: ATMEL AT45DB041D
done...
Failed :( - '2'
ERROR: 2V5 supply failed self-test :(
I also tried several combinations of older firmware and FPGA bitsreams without any success. In particular, with firmware v2.0, the ACT led blinks continuously while the TRIG led stays on and the ARM led remains off, but I am not able to connect to the OLS anymore. I can only enter the upgrading mode by pushing the RESET and UPDATE buttons together. If I do a selftest, however, it terminate with success.
Thank you in advance for your help.
Fabio