Skip to main content

Show Posts

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

Messages - swissMac

3
Open Bench Logic Sniffer / Re: Test Release 2.03 and 2.04 - SPI mode.
firmware06

XP raises exceptions :
OSX behaves similar to firmware 5 initial capture fails subsequent captures work, but all raise exceptions


XP:device always found
_14-b08bin>java -jar analyzer.jar
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
COM1
COM11
Device Controller found: org.sump.analyzer.devices.FpgaDeviceController
COM1
COM11
Device Controller found: org.sump.analyzer.devices.Hp16500DeviceController
Device Controller = FPGA Controller
Tool found: org.sump.analyzer.tools.I2CProtocolAnalysis
Tool found: org.sump.analyzer.tools.SPIProtocolAnalysis
Tool found: org.sump.analyzer.tools.StateAnalysis
Tool found: org.sump.analyzer.tools.UARTProtocolAnalysis
Attaching to: COM11 (115200bps)
Run started
Device ID: 0x534c4131
11000000 00000000 00000000 00000000 00000000
11000001 00000000 00000000 00000000 00000000
11000010 00000000 00000000 00000000 00001000
10000000 00000000 00000000 00000000 00000000
10000001 11111111 00000011 11111111 00000011
Flags: 10000000010
10000010 00000010 00000100 00000000 00000000
Run completed
java.lang.InterruptedException
        at java.lang.Object.wait(Native Method)
        at java.lang.Thread.join(Unknown Source)
        at gnu.io.RXTXPort.removeEventListener(RXTXPort.java:814)
        at gnu.io.RXTXPort.close(RXTXPort.java:1039)
        at org.sump.analyzer.devices.FpgaDevice.detach(FpgaDevice.java:518)
        at org.sump.analyzer.devices.FpgaDeviceController.run(FpgaDeviceControll
er.java:559)
        at java.lang.Thread.run(Unknown Source)
Attaching to: COM11 (115200bps)
Run started
Device ID: 0x534c4131
11000000 00000000 00000000 00000000 00000000
11000001 00000000 00000000 00000000 00000000
11000010 00000000 00000000 00000000 00001000
10000000 00000000 00000000 00000000 00000000
10000001 11111111 00000011 11111111 00000011
Flags: 10000000010
10000010 00000010 00000100 00000000 00000000
Run completed
java.lang.InterruptedException
        at java.lang.Object.wait(Native Method)
        at java.lang.Thread.join(Unknown Source)
        at gnu.io.RXTXPort.removeEventListener(RXTXPort.java:814)
        at gnu.io.RXTXPort.close(RXTXPort.java:1039)
        at org.sump.analyzer.devices.FpgaDevice.detach(FpgaDevice.java:518)
        at org.sump.analyzer.devices.FpgaDeviceController.run(FpgaDeviceControll
er.java:559)
        at java.lang.Thread.run(Unknown Source)
Attaching to: COM11 (115200bps)
Run started
Device ID: 0x534c4131
11000000 00000000 00000000 00000000 00000000
11000001 00000000 00000000 00000000 00000000
11000010 00000000 00000000 00000000 00001000
10000000 00000000 00000000 00000000 00000000
10000001 11111111 00000011 11111111 00000011
Flags: 10000000010
10000010 00000010 00000100 00000000 00000000
Run completed
java.lang.InterruptedException
        at java.lang.Object.wait(Native Method)
        at java.lang.Thread.join(Unknown Source)
        at gnu.io.RXTXPort.removeEventListener(RXTXPort.java:814)
        at gnu.io.RXTXPort.close(RXTXPort.java:1039)
        at org.sump.analyzer.devices.FpgaDevice.detach(FpgaDevice.java:518)
        at org.sump.analyzer.devices.FpgaDeviceController.run(FpgaDeviceControll
er.java:559)
        at java.lang.Thread.run(Unknown Source)
Attaching to: COM11 (115200bps)
Run started
Device ID: 0x534c4131
11000000 00000000 00000000 00000000 00000000
11000001 00000000 00000000 00000000 00000000
11000010 00000000 00000000 00000000 00001000
10000000 00000000 00000000 00000000 00000000
10000001 11111111 00000011 11111111 00000011
Flags: 10000000010
10000010 00000010 00000100 00000000 00000000
Run completed
java.lang.InterruptedException
        at java.lang.Object.wait(Native Method)
        at java.lang.Thread.join(Unknown Source)
        at gnu.io.RXTXPort.removeEventListener(RXTXPort.java:814)
        at gnu.io.RXTXPort.close(RXTXPort.java:1039)
        at org.sump.analyzer.devices.FpgaDevice.detach(FpgaDevice.java:518)
        at org.sump.analyzer.devices.FpgaDeviceController.run(FpgaDeviceControll
er.java:559)
        at java.lang.Thread.run(Unknown Source)

OSX: initial capture generates device not found
 java -d32 -jar   analyzer.jar
Experimental:  JNI_OnLoad called.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
/dev/tty.usbmodemfd321
/dev/cu.usbmodemfd321
/dev/tty.Bluetooth-PDA-Sync
/dev/cu.Bluetooth-PDA-Sync
/dev/tty.Bluetooth-Modem
/dev/cu.Bluetooth-Modem
Device Controller found: org.sump.analyzer.devices.FpgaDeviceController
/dev/tty.usbmodemfd321
/dev/cu.usbmodemfd321
/dev/tty.Bluetooth-PDA-Sync
/dev/cu.Bluetooth-PDA-Sync
/dev/tty.Bluetooth-Modem
/dev/cu.Bluetooth-Modem
Device Controller found: org.sump.analyzer.devices.Hp16500DeviceController
Device Controller = FPGA Controller
Tool found: org.sump.analyzer.tools.I2CProtocolAnalysis
Tool found: org.sump.analyzer.tools.SPIProtocolAnalysis
Tool found: org.sump.analyzer.tools.StateAnalysis
Tool found: org.sump.analyzer.tools.UARTProtocolAnalysis
Attaching to: /dev/tty.usbmodemfd321 (115200bps)
(initial run)
Run started
Device ID: 0x107f
Run aborted
java.io.IOException: Device not found.
   at org.sump.analyzer.devices.FpgaDevice.run(FpgaDevice.java:648)
   at org.sump.analyzer.devices.FpgaDeviceController.run(FpgaDeviceController.java:546)
   at java.lang.Thread.run(Thread.java:637)
Attaching to: /dev/tty.usbmodemfd321 (115200bps)
Run started
Device ID: 0x534c4131
11000000 00000000 00000000 00000000 00000000
11000001 00000000 00000000 00000000 00000000
11000010 00000000 00000000 00000000 00001000
10000000 00000000 00000000 00000000 00000000
10000001 11111111 00000011 11111111 00000011
Flags: 10000000010
10000010 00000010 00000100 00000000 00000000
Run completed
java.lang.InterruptedException
   at java.lang.Object.wait(Native Method)
   at java.lang.Thread.join(Thread.java:1175)
   at gnu.io.RXTXPort.removeEventListener(RXTXPort.java:814)
   at gnu.io.RXTXPort.close(RXTXPort.java:1039)
   at org.sump.analyzer.devices.FpgaDevice.detach(FpgaDevice.java:518)
   at org.sump.analyzer.devices.FpgaDeviceController.run(FpgaDeviceController.java:559)
   at java.lang.Thread.run(Thread.java:637)
Attaching to: /dev/tty.usbmodemfd321 (115200bps)

(Subsequent runs)
Run started
Device ID: 0x534c4131
11000000 00000000 00000000 00000000 00000000
11000001 00000000 00000000 00000000 00000000
11000010 00000000 00000000 00000000 00001000
10000000 00000000 00000000 00000000 00000000
10000001 11111111 00000011 11111111 00000011
Flags: 10000000010
10000010 00000010 00000100 00000000 00000000
Run completed
java.lang.InterruptedException
   at java.lang.Object.wait(Native Method)
   at java.lang.Thread.join(Thread.java:1175)
   at gnu.io.RXTXPort.removeEventListener(RXTXPort.java:814)
   at gnu.io.RXTXPort.close(RXTXPort.java:1039)
   at org.sump.analyzer.devices.FpgaDevice.detach(FpgaDevice.java:518)
   at org.sump.analyzer.devices.FpgaDeviceController.run(FpgaDeviceController.java:559)
   at java.lang.Thread.run(Thread.java:637)
Attaching to: /dev/tty.usbmodemfd321 (115200bps)
Run started
Device ID: 0x534c4131
11000000 00000000 00000000 00000000 00000000
11000001 00000000 00000000 00000000 00000000
11000010 00000000 00000000 00000000 00001000
10000000 00000000 00000000 00000000 00000000
10000001 11111111 00000011 11111111 00000011
Flags: 10000000010
10000010 00000010 00000100 00000000 00000000
Run completed
java.lang.InterruptedException
   at java.lang.Object.wait(Native Method)
   at java.lang.Thread.join(Thread.java:1175)
   at gnu.io.RXTXPort.removeEventListener(RXTXPort.java:814)
   at gnu.io.RXTXPort.close(RXTXPort.java:1039)
   at org.sump.analyzer.devices.FpgaDevice.detach(FpgaDevice.java:518)
   at org.sump.analyzer.devices.FpgaDeviceController.run(FpgaDeviceController.java:559)
   at java.lang.Thread.run(Thread.java:637)
4
Open Bench Logic Sniffer / Re: Test Release 2.03 and 2.04 - SPI mode.
firmware 05
XP works!
OSX works but a bit flaky :

XP:

14-b08bin>java -jar  analyzer.jar
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
COM1
COM11
Device Controller found: org.sump.analyzer.device
COM1
COM11
Device Controller found: org.sump.analyzer.device
Device Controller = FPGA Controller
Tool found: org.sump.analyzer.tools.I2CProtocolAn
Tool found: org.sump.analyzer.tools.SPIProtocolAn
Tool found: org.sump.analyzer.tools.StateAnalysis
Tool found: org.sump.analyzer.tools.UARTProtocolA
Attaching to: COM11 (115200bps)
Run started
Device ID: 0x534c4131
11000000 00000000 00000000 00000000 00000000
11000001 00000000 00000000 00000000 00000000
11000010 00000000 00000000 00000000 00001000
10000000 00000000 00000000 00000000 00000000
10000001 11111111 00000001 11111111 00000001
Flags: 10
10000010 00000010 00000000 00000000 00000000
Run completed
Attaching to: COM11 (115200bps)
Run started
Device ID: 0x534c4131
11000000 00000000 00000000 00000000 00000000
11000001 00000000 00000000 00000000 00000000
11000010 00000000 00000000 00000000 00001000
10000000 00000000 00000000 00000000 00000000
10000001 11111111 00000001 11111111 00000001
Flags: 10
10000010 00000010 00000000 00000000 00000000
Run completed
Attaching to: COM11 (115200bps)
Run started
Device ID: 0x534c4131
11000000 00000000 00000000 00000000 00000000
11000001 00000000 00000000 00000000 00000000
11000010 00000000 00000000 00000000 00001000
10000000 00000000 00000000 00000000 00000000
10000001 11111111 00000011 11111111 00000011
Flags: 10000000010
10000010 00000010 00000100 00000000 00000000
Run completed
Attaching to: COM11 (115200bps)
Run started
Device ID: 0x534c4131
11000000 00000000 00000000 00000000 00000000
11000001 00000000 00000000 00000000 00000000
11000010 00000000 00000000 00000000 00001000
10000000 00000000 00000000 00000000 00000000
10000001 11111111 00000011 11111111 00000011
Flags: 10000000010
10000010 00000010 00000100 00000000 00000000
Run completed


OSX, initial capture still fails with "Device not found."
2nd and continuing captures take place but an exception is raised:
:SumpJavaClient$ java -d32 -jar   analyzer.jar
Experimental:  JNI_OnLoad called.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
/dev/tty.usbmodemfd321
/dev/cu.usbmodemfd321
/dev/tty.Bluetooth-PDA-Sync
/dev/cu.Bluetooth-PDA-Sync
/dev/tty.Bluetooth-Modem
/dev/cu.Bluetooth-Modem
Device Controller found: org.sump.analyzer.devices.FpgaDeviceController
/dev/tty.usbmodemfd321
/dev/cu.usbmodemfd321
/dev/tty.Bluetooth-PDA-Sync
/dev/cu.Bluetooth-PDA-Sync
/dev/tty.Bluetooth-Modem
/dev/cu.Bluetooth-Modem
Device Controller found: org.sump.analyzer.devices.Hp16500DeviceController
Device Controller = FPGA Controller
Tool found: org.sump.analyzer.tools.I2CProtocolAnalysis
Tool found: org.sump.analyzer.tools.SPIProtocolAnalysis
Tool found: org.sump.analyzer.tools.StateAnalysis
Tool found: org.sump.analyzer.tools.UARTProtocolAnalysis
Attaching to: /dev/tty.usbmodemfd321 (115200bps)
initial run
Run started
Device ID: 0x1e0003f
Run aborted
java.io.IOException: Device not found.
   at org.sump.analyzer.devices.FpgaDevice.run(FpgaDevice.java:648)
   at org.sump.analyzer.devices.FpgaDeviceController.run(FpgaDeviceController.java:546)
   at java.lang.Thread.run(Thread.java:637)
Attaching to: /dev/tty.usbmodemfd321 (115200bps)

subsequent runs
Run started
Device ID: 0x534c4131
11000000 00000000 00000000 00000000 00000000
11000001 00000000 00000000 00000000 00000000
11000010 00000000 00000000 00000000 00001000
10000000 00000000 00000000 00000000 00000000
10000001 11111111 00000001 11111111 00000001
Flags: 10000000010
10000010 00000010 00000100 00000000 00000000
Run completed
java.lang.InterruptedException
   at java.lang.Object.wait(Native Method)
   at java.lang.Thread.join(Thread.java:1175)
   at gnu.io.RXTXPort.removeEventListener(RXTXPort.java:814)
   at gnu.io.RXTXPort.close(RXTXPort.java:1039)
   at org.sump.analyzer.devices.FpgaDevice.detach(FpgaDevice.java:518)
   at org.sump.analyzer.devices.FpgaDeviceController.run(FpgaDeviceController.java:559)
   at java.lang.Thread.run(Thread.java:637)
Attaching to: /dev/tty.usbmodemfd321 (115200bps)
Run started
Device ID: 0x534c4131
11000000 00000000 00000000 00000000 00000000
11000001 00000000 00000000 00000000 00000000
11000010 00000000 00000000 00000000 00001000
10000000 00000000 00000000 00000000 00000000
10000001 11111111 00000001 11111111 00000001
Flags: 10000000010
10000010 00000010 00000100 00000000 00000000
Run completed
java.lang.InterruptedException
   at java.lang.Object.wait(Native Method)
   at java.lang.Thread.join(Thread.java:1175)
   at gnu.io.RXTXPort.removeEventListener(RXTXPort.java:814)
   at gnu.io.RXTXPort.close(RXTXPort.java:1039)
   at org.sump.analyzer.devices.FpgaDevice.detach(FpgaDevice.java:518)
   at org.sump.analyzer.devices.FpgaDeviceController.run(FpgaDeviceController.java:559)
   at java.lang.Thread.run(Thread.java:637)
5
Open Bench Logic Sniffer / Re: Test Release 2.03 and 2.04 - SPI mode.
@ian
looks like the 1st capture under OSX always fails with 'device not found', thereafter its OK

needed to use the camera this morning so took some 'additional feel good shots'
/mac


edit+ still with Firmware 04
exception generated with OSX after startup fail then  successful read/capture

mini:SumpJavaClient minimac$ java -d32 -jar analyzer.jar
Experimental:  JNI_OnLoad called.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
/dev/tty.usbmodemfd321
/dev/cu.usbmodemfd321
/dev/tty.Bluetooth-PDA-Sync
/dev/cu.Bluetooth-PDA-Sync
/dev/tty.Bluetooth-Modem
/dev/cu.Bluetooth-Modem
Device Controller found: org.sump.analyzer.devices.FpgaDeviceController
/dev/tty.usbmodemfd321
/dev/cu.usbmodemfd321
/dev/tty.Bluetooth-PDA-Sync
/dev/cu.Bluetooth-PDA-Sync
/dev/tty.Bluetooth-Modem
/dev/cu.Bluetooth-Modemklo
Device Controller found: org.sump.analyzer.devices.Hp16500DeviceController
Device Controller = FPGA Controller
Tool found: org.sump.analyzer.tools.I2CProtocolAnalysis
Tool found: org.sump.analyzer.tools.SPIProtocolAnalysis
Tool found: org.sump.analyzer.tools.StateAnalysis
Tool found: org.sump.analyzer.tools.UARTProtocolAnalysis
Attaching to: /dev/tty.usbmodemfd321 (115200bps)
Run started
Device ID: 0x7803
Run aborted
java.io.IOException: Device not found.
   at org.sump.analyzer.devices.FpgaDevice.run(FpgaDevice.java:648)
   at org.sump.analyzer.devices.FpgaDeviceController.run(FpgaDeviceController.java:546)
   at java.lang.Thread.run(Thread.java:637)
Attaching to: /dev/tty.usbmodemfd321 (115200bps)
Run started
Device ID: 0x534c4131
11000000 00000000 00000000 00000000 00000000
11000001 00000000 00000000 00000000 00000000
11000010 00000000 00000000 00000000 00001000
10000000 00000000 00000000 00000000 00000000
10000001 11111111 00000001 11111111 00000001
Flags: 10000000010
10000010 00000010 00000100 00000000 00000000
Run completed
java.lang.InterruptedException
   at java.lang.Object.wait(Native Method)
   at java.lang.Thread.join(Thread.java:1175)
   at gnu.io.RXTXPort.removeEventListener(RXTXPort.java:814)
   at gnu.io.RXTXPort.close(RXTXPort.java:1039)
   at org.sump.analyzer.devices.FpgaDevice.detach(FpgaDevice.java:518)
   at org.sump.analyzer.devices.FpgaDeviceController.run(FpgaDeviceController.java:559)
   at java.lang.Thread.run(Thread.java:637)
6
Open Bench Logic Sniffer / Re: Test Release 2.03 and 2.04 - SPI mode.
@LukeS
make sure you jumper PGC PDC (i.e short them out) or set the board into bootloader mode. At this point both ACT and PWR lights will be illuminated permenantly.
the firmware update file then finds the board automatically, and you will see the trace of the firmware update in the command shell.

you should be able to run the client from the command line with:

java -jar analyser.jar ( note US spelling of analyzer.jar)

@all
I successfully uploaded to firmware 4. In some cases the capture is successful in some the device is not found. It appears to be more problematic with device not found in OSX (10.6.3) than XPsp2

In OSx, I have to have the OLS plugged in before I start up the jar. This seems to be the main cause of my visible error. In some cases I have to reaffirm the port from the dropdown window even if it is the correct one displayed.
8
Open Bench Logic Sniffer / client Test Mode
How does one effectively use this, I've just updated to firmware 3 and the latest test release, as a quick test i tried to use it but was unsuccessful?

/m
9
Open Bench Logic Sniffer / Re: Test Release 2.03 and 2.04 - SPI mode.
OK heres the lowdown with my faulty board sans bootloader

had to look for some header pins to solder to the board,( always in the last place to find them)
I uploaded the bootloader using pickit2, went smoothly no problems

I tried firmware 2 with with the latest bitstream following the procedures, everything went well
trying the client, as others found an exception error was raised, since its sitting in the same filepath I'm surprised, I expect there is a hardcoded attribute in the jar thats throwing things off. Trying with th eoriginal client still generated 'device not found'. A bit confused by this????

I then tried firmware3 with the latest bitstream, this worked with the original client.

I then followed the same procedure to update the working board. This too was successful. i.e. running firmware 3, the device is found time after time.

In both cases I have not tried to connect the probes to a signal


/Mac
11
Open Bench Logic Sniffer / Re: [solved?]***Possible solution to intermittent communication problems***
For what its worth I tried the pump-loader.exe -status with the working board
I get the same result. Boot: 255

So what we have here is a working pic, (in both board cases) and with code used to configure USB for loading  the OLS already in place, this means that I cannot install new pic code without a plckit or similar, but I can continue to load bits for the fpga? or am I mistaken???
as so far I can run the ROM loader and I see a trace of some form or load/write taking place?

I have a pickit, I am happy to load the bootloader, other than allowing pic updates will it bring anything else to the table in this current investigation?
14
Open Bench Logic Sniffer / Re: "Device not found"
Many thanks IPenguin and Ian for the feedback and the explanation.

Looking forward to try the new bitstream
The real shame is the weather turned nice .......... :-(
15
Open Bench Logic Sniffer / Re: "Device not found"
I added this to thread  549 concerning intermittent problems http://dangerousprototypes.com/forum/in ... opic=549.0
but it seems more appropriate here:
I have two OLS, one works in the OSX or XP the other always fails with "device not found"
I have tried the analyser.jar with the delay file from the 19th May as well as altering the advanced port settings, with no joy.

FYI, all LED appear to provide the correct feedback, making the assumption that all is good.
 It is recognised in the device manager ports, I can upload different bit streams to it, but as soon as i hit 'capture' the device not found' rears its ugly head.

I would now assume that this is not software based but hardware based issue we have here as one OLS functions faultlessly and the 2nd doesn't?

Using realterm as  an interface, when sending "02H" I get feedback with the working OLS, the other OLS (that gives "device not found" with sump) offers me nothing (empty display)

How can I tell if the PIC is working properly?

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