Dangerous Prototypes

Other projects => Open Bench Logic Sniffer => Topic started by: Lucien on June 09, 2015, 06:07:59 am

Title: Need some help getting set up
Post by: Lucien on June 09, 2015, 06:07:59 am
I'm having difficulty getting my OLS set up, particularly getting up to speed on what I should be running...

The background:
I picked up an OLS a long time  ago, one of the pre-order units I think.  Silkscreen says v1.01 and it has a 20 MHz crystal on it.  Some time back I intended to brush the dust off and use it for a project.  I checked and found I didn't have a bootloader installed, so I got as far installing that via a PICkit2 (I think) but I never got a chance to use it in a project.

Currently:
So I'm looking at starting another project and it would be useful to have an OLS around.  Now as I understand it, there's a bootloader, a firmware for the PIC and a bitstream for the FPGA.  While I installed the bootloader, I don't know if I ever got round to updating the firmware and bitstream.  Is there a way to check which version of the two that I have on my OLS?

Also, are there multiple versions of the bootloader?

Other stuff:
I couldn't get the ACT LED to light up when doing the "hold down Update and press Reset" procedure.  After some digging, it looks like BOTH the switches on my board no longer work.  That complicates things slightly but isn't unworkable. :p If I short the pins across the switch I can enter that mode.  Some questions though:

Is there a difference between "hold down Update and press Reset" and "short PGC and PGD and press Reset"?  Also, is there a difference between firmware update mode and bitstream update mode and how do I tell which mode I'm in?

What's the latest version of the firmware and bitstream?  I grabbed the v3.08 package from here (http://http://logicsniffer.gadgetfactory.net/index.php?n=LogicSniffer.Download), which I think contains v3.07 of the bitstream (not 3.08?) and v3.0 for the firmware.  But it also seems to contain v0.9.4 of Jawi's client while the latest is v0.9.7_SP2.

I was able to run the command
Code: [Select]
pump-loader.exe -p:COM5 -status

which gave the result

Code: [Select]
PUMP loader

Opening serial port 'COM5' @ 921600 ... OK
Found PUMP HW: 1, FW: 3.0, Boot: 1
Found flash: ATMEL AT45DB041D
no input file specified !

I can also run Jawi's client (0.9.7 SP2) and I think it can connect to the device as I may have gotten data out of a test mode, but if I got to Capture | Begin capture, and click on "Show device metadata" under the Connection tab it gives me "Detection failed!"

Thanks in advance for any help! :)
Title: Re: Need some help getting set up
Post by: Graham242 on June 09, 2015, 04:20:40 pm
I'm not sure the "Show device metadata" works - I get the "Detection failed!" on my (working) OLS.
Title: Re: Need some help getting set up
Post by: Graham242 on June 09, 2015, 04:29:05 pm
Quote
Is there a difference between "hold down Update and press Reset" and "short PGC and PGD and press Reset"?
I understood that "hold down update and press reset" allowed you to update the FPGA bitstream, whereas "short PGC and PGD and press reset" allowed you to update the PIC firmware. The bootloader should turn up as a HID device rather than serial device.
Title: Re: Need some help getting set up
Post by: Lucien on June 11, 2015, 09:07:22 am
Thanks!  Good to know it might not be just me that has a problem with the metadata function.

Weird though, reading through the documentation somewhere, I was under the impression that shorting PGC and PGD was an alternative to the other method.  ie, it had the same effect.  Doesn't look like those pins are electrically connected to the update switch though.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01332062104session_write_close ( )...(null):0
20.01392193696ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01392194472Database_MySQL->query( ).../DatabaseHandler.php:119
40.09302333208Database_MySQL->error( ).../Db-mysql.class.php:273