Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - mnenomic77

1
Open Bench Logic Sniffer / Re: Trouble upgrading flash rom
Thanks sre71 for the response,  I'ld like to get to the bottom of it, but no pressure, if you'e busy you are busy :-)

Ultimately I'ld like to be able to place custom FPGA cores on the board (and maybe make some improvements?)

[quote author="sre71"]
....

Anyway, do you know this?:
 
http://dangerousprototypes.com/forum/viewtopic.php?f=23&t=7344
 
[/quote]

Yes I saw that thread, I've followed the Linux instructions and compiled the latest version from the github repository but I'm still get those bytes read incorrectly from the flash rom.

I don't think it's a Linux software problem since the JEDEC id is consistently being read incorrectly and from examining the PIC source code the id is being read by the PIC code and sent to ols-loader code. Which gives me a thought I could step through the Linux code in a debugger and check that the bytes reported are coming from the device.

[quote author="sre71"]
I believe the JEDEC is wrong due the lack in something during the upgrade, perhaps the jumper between PGC and PGD pins.
I'm not sure though, sorry.
Hoping that can help.
 
Regards,
sre71[/quote]

Well it has always been wrong from my first attempt and well before ever placing the jumper to get the bootloader running. So don't think there was any "lack" in the upgrade. It looks like something is wrong with the board to me since the JEDEC id isn't being read correctly by the PIC firmware.

My next attempt would be  to read/program the ROM directly but I need extra tools for that...
2
Open Bench Logic Sniffer / Re: Trouble upgrading flash rom
Yes I followed those as a guide. Compiled the tools. They work. But the upgrade fails. See post.

Edit: Sorry should have been more clear, I've followed all the documentation I could find (to the letter except when it asked to access inaccessible websites like gadgetforge.gadgetfactory.net), but I get the same "unknown flash type" error which stops the upload of the FPGA core bitstream.

And only after that did I try things out of order to narrow down what was wrong before posting here, I was able to get the bootloader to allow me to upgrade the PIC code.

But I'm still getting the "unknown flash code".
3
Open Bench Logic Sniffer / Trouble upgrading flash rom
Hi I've just bought a Open Logic Sniffer via Seeed and the board appears to work with the supplied firmware (I only tested 1 channel). However, having read that the first thing to do is to update the firmware, I downloaded, compiled and ran the firmware update tools.

Unfortunately this didn't work and failed due to an error about an unknown flash rom. I've spent all day trying various different versions of the firmware uploading tools (I'm running Ubuntu 15.04) in order to see if they gave better results, unfortunately every version has the same result.

Eventually I discovered I could update the PIC firmware code without any errors by putting a jumper across the PGC and PGD pins, which starts the bootloader code. This worked fine, so now I have the latest PIC code, hoping that that might solve the issue.

Unfortunately I'm still getting the following output:

Code: [Select]
$ ./ols-loader -p:/dev/ttyACM1 -t:115200 -status
Logic Sniffer ROM loader v0.3 (November 9, 2010)
Opening serial port '/dev/ttyACM1' @ 115200 ... OK
Found OLS HW: 1, FW: 3.0, Boot: 2
Error - unknown flash type (48 01 46 03)

I've even checked the part number of IC2 and it is a WinBond 25X40BVNIG and the specification says that the JEDEC device ID should be: Ef 12 30 13 but the PIC firmware is consistently reporting the 48 01 46 03 instead. Extra puzzling to my mind is that the FPGA is clearly being programmed with a valid bitstream or I wouldn't be able actually use the Java client successfully?

As a last resort I ran the tool with the "ignore_jedec" option which just proceed to print a lot of failure errors for each page (I tried a read and a write).

At this point I thought perhaps there were bad soldering joints or something to cause poor signal connections or stay capacitance so I had a quick attempt at making sure the chip was soldered on the board properly. But this didn't seem to make the slightest different.

So I'm stumped? Any ideas what to do now?

Thanks in advance,

Michael

P.S. The the github repository doesn't seem to include either the source code for the FPGA nor the source code for the PIC - kind of pointless being open source if the source code isn't available! To be fair I was able to eventually find the various bits and pieces on the forum in terms of downloadable zips but I have no idea if this the dame source code used to build the binaries?

And on a related topic is source files for the PCB available anywhere, I know there are PNGs of schematics etc. but they are not editable?

I did find some links refering to a Gadget Factory SVN server but I'm unable to connect to that server (can't post links here due to "looks spammy for new user" error), instead I just get a time out?

( ! ) 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.01282298160session_write_close ( )...(null):0
20.01312429760ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01312430536Database_MySQL->query( ).../DatabaseHandler.php:119
40.05632569280Database_MySQL->error( ).../Db-mysql.class.php:273