I didn't have the time to spend to work through the instructions provided at the time, but am having a go at it now.
My OLS is 1.04 and has the Winbond flash chip. Linux ols-loader binaries in the latest SVN repository (http://gadgetforge.gadgetfactory.net/svn/butterflylogic) are either version 0.2 or are 64-bit (mine is 32-bit linux). They don't recognise the chip.
I compiled the current ols-loader (v0.3) OK and it recognizes the Winbond W25X40. I recommend committing a fresh build of ols-loader into the repository.
I was able to read the flash rom and get a copy of the current contents:
$ ols-loader -p:/dev/ttyACM0 Logic Sniffer ROM loader v0.3 (November 9, 2010) Opening serial port '/dev/ttyACM0' @ 921600 ... OK Found OLS HW: 1, FW: 2.2, Boot: 2 Found flash: WINBOND W25X40
Previous advice from Ian recommended "I also recommend a full upgrade to bitstream v2.12 and firmware v2.1"
Now is "bitstream v2.12" what the FPGA runs? Is 2.12 later than 2.2? The version numbers are confusing me because there seems to be no consistency in the version numbering in the SVN repository. When Ian wrote "firmware v2.1" I assume he meant "Bootloader v2.1" ? The latest is now 2.6?
I'm going to have a try with the package/OLS_Upgrader/ols-upgrader.sh but it uses ols-fw-update and that's something only provided as a windows executable in the repository - I don't know where the source is.
Here's more detail and debugging. I'm trying it on another computer.
I started sampling at 10 Hz, Channel group 0 only, 128 samples. It worked OK (logic high on both pins 0 and 1). Then I increased the sampling rate ... when I got to 20 KHz it stopped working. However it's not necessarily frequency dependent. After resetting the board (pressing the reset button) it works once or maybe twice when I press "repeat the capture" but soon it stops working. That's without touching any hardware or changing any settings, just pressing the "repeat the capture" button.
Capture at 200 MHz, 3k samples couldn't complete (the computer couldn't read all the samples).
Capture at 100 MHz, 3k samples seems to be working repeatedly.
Turning on all 4 Channel groups it seems to work repeatedly.
I'm using the OLS v1.04 board, just received it a few days ago. Jawi's client version 0.9.2. I haven't modified the firmware.
I'm trying to capture serial signals on Channel group 0 only, inside numbering, internal sampling clock, various rates, various sizes, Noise Filter disabled, RLE disabled.
Sometimes, not all the time, every scan shows only zeroes when I know for a fact that some of the signals are logic high. I've tried restarting the client and rebooting the OLS, but not found any reliable way to get my scans back.
I have just started using your client. Looks nice!
Some hopefully simple suggestions:
- Add /dev/ttyACM0 as an option in the capture device pulldown
- Open project should show current directory by default, not home directory
- Save project should remember the last-saved filename (i.e. typically implemented as two menu options; Save and Save As ...).
I had some problems; I will check in detail later but I suspect they are correlated with enabling RLE. I monitored a simple square wave on pin 0, and at different sample rates the frequency of the square wave seemed to change. Also other (unused) input pins showed signals where there were none. Perhaps it's having trouble decoding the RLE data?