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 - billium

1
Open Bench Logic Sniffer / Re: minimalism
cracked it.

0xc2 0x00 0x00 0x00 0x08
0xc6 0x00 0x00 0x00 0x08
0xca 0x00 0x00 0x00 0x08
0xce 0x00 0x00 0x00 0x08

need to be sent to set the start bits, I though 0x01 ignored the triggers.
2
Open Bench Logic Sniffer / minimalism
What is the minimum communication to the OBLS to get back data?

If I send 0x02 (^B) to /dev/ttyACM0 I get  1ALS
If I send 0x04 (^D) I get more verbose details
0x06 returns current logic state
But 0x01 (^A) does not seem to return anything.
So if I send some arbitary setup data first e.g.:

0x80 0x00 0x01 0x00 0x00  divide by 128
0x81 0x01 0x00 0x01 0x00 send 1 sample 4 bytes
0x82 0x00 0x00 0x00 0x00 clear flags

0x01 trigger

I would expect data back now, but got nothing.

Anybody see anything I am missing.
I was going to go through the java client source but it is massive.

Billy
3
Client software / Re: Python-based Client
Tought I would give it a go but just got:
Code: [Select]
  File "./logic_sniffer.py", line 27
    time_units_text = ['nS', u'u03bcS', 'mS', 'S']
                                  ^
SyntaxError: invalid syntax

Don't know python, so won't bother trying again.  Is your project still alive?
4
Open Bench Logic Sniffer / Re: 0.9.5 client error
My line is a little more simple: socat TCP4-L:8002 FILE:/dev/ttyACM0,echo=0,raw
As I said above, it works well 0.9.4, but not with 0.9.5

other end line just in case:  socat TCP:192.168.0.12:8002 PTY,user=billy

Billy
5
Open Bench Logic Sniffer / Re: 0.9.5 client error
Thanks again for your time Jawi.

Yes could well do.  The computer at the DUT end is a 'scrapped' VIA C3 running a 32bit Debian.  I assume some software for this patch would be required both ends.

The client end is a main pc running Gentoo.

Billy
6
Open Bench Logic Sniffer / Re: 0.9.5 client error
Thanks for your answer. I tried lower baud rates but never went down to 115200. :)  Is this a java limitation?

It now works locally, but the DUT (which is quite big) is across the room, so I use a great linux utility called socat.  socat can carry serial over ip.  In version 0.9.4 this works great, but in version 0.9.5 I get a null pointer exception.  I tried a symbolic link from /dev/pts/2 to /dev/ttyACM1, this also gave null pointer.

aurora billy # java -version                                                                   
java version "1.6.0_29"                                                                       
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)                                           
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode)                                 

Thanks

Billy
7
Open Bench Logic Sniffer / 0.9.5 client error
Running 0.9.4 works fine but lacks some advanced triggers that I want to try.

If I connect to port with a comms program, e.g. cutecom, I get this with command 0x04

Code: [Select]
x01Open Logic Sniffer v1.01x00x023.07x00!x00x00`x00#x0bxebxc2x00@ Ax02x00

So permissions are o.k.
This is the java error .. it does not mean anything to me.
Code: [Select]
java*lang*IllegalStateException: JTermios call returned -1 at class jtermios*JTermios$JTermiosLogging line 457
at purejavacomm*PureJavaSerialPort*checkReturnCode(PureJavaSerialPort*java:974)
at purejavacomm*PureJavaSerialPort*setSerialPortParams(PureJavaSerialPort*java:548)
at nl*lxtreme*rxtx*SerialConnectionFactory*createConnection(SerialConnectionFactory*java:114)
at nl*lxtreme*ols*io*ConnectorServiceImpl*open(ConnectorServiceImpl*java:152)
at org*sump*device*logicsniffer*StreamConnectionFactory*getConnection(StreamConnectionFactory*java:64)
at org*sump*device*logicsniffer*LogicSnifferDevice*getStreamConnection(LogicSnifferDevice*java:203)
at org*sump*device*logicsniffer*LogicSnifferDevice*createAcquisitionTask(LogicSnifferDevice*java:95)
at nl*lxtreme*ols*acquisition*BackgroundDataAcquisitionService*acquireData(BackgroundDataAcquisitionService*java:76)
at nl*lxtreme*ols*client*ClientController*repeatCaptureData(ClientController*java:1188)
at nl*lxtreme*ols*client*action*RepeatCaptureAction*actionPerformed(RepeatCaptureAction*java:82)
at javax*swing*AbstractButton*fireActionPerformed(AbstractButton*java:1995)
at javax*swing*AbstractButton$Handler*actionPerformed(AbstractButton*java:2318)
at javax*swing*DefaultButtonModel*fireActionPerformed(DefaultButtonModel*java:387)
at javax*swing*DefaultButtonModel*setPressed(DefaultButtonModel*java:242)
at javax*swing*plaf*basic*BasicButtonListener*mouseReleased(BasicButtonListener*java:236)
at java*awt*AWTEventMulticaster*mouseReleased(AWTEventMulticaster*java:272)
at java*awt*Component*processMouseEvent(Component*java:6288)
at javax*swing*JComponent*processMouseEvent(JComponent*java:3267)
at java*awt*Component*processEvent(Component*java:6053)
at java*awt*Container*processEvent(Container*java:2041)
at java*awt*Component*dispatchEventImpl(Component*java:4651)
at java*awt*Container*dispatchEventImpl(Container*java:2099)
at java*awt*Component*dispatchEvent(Component*java:4481)
at java*awt*LightweightDispatcher*retargetMouseEvent(Container*java:4577)
at java*awt*LightweightDispatcher*processMouseEvent(Container*java:4238)
at java*awt*LightweightDispatcher*dispatchEvent(Container*java:4168)
at java*awt*Container*dispatchEventImpl(Container*java:2085)
at java*awt*Window*dispatchEventImpl(Window*java:2478)
at java*awt*Component*dispatchEvent(Component*java:4481)
at java*awt*EventQueue*dispatchEventImpl(EventQueue*java:643)
at java*awt*EventQueue*access$000(EventQueue*java:84)
at java*awt*EventQueue$1*run(EventQueue*java:602)
at java*awt*EventQueue$1*run(EventQueue*java:600)
at java*security*AccessController*doPrivileged(Native Method)
at java*security*AccessControlContext$1*doIntersectionPrivilege(AccessControlContext*java:87)
at java*security*AccessControlContext$1*doIntersectionPrivilege(AccessControlContext*java:98)
at java*awt*EventQueue$2*run(EventQueue*java:616)
at java*awt*EventQueue$2*run(EventQueue*java:614)
at java*security*AccessController*doPrivileged(Native Method)
at java*security*AccessControlContext$1*doIntersectionPrivilege(AccessControlContext*java:87)
at java*awt*EventQueue*dispatchEvent(EventQueue*java:613)
at java*awt*EventDispatchThread*pumpOneEventForFilters(EventDispatchThread*java:269)
at java*awt*EventDispatchThread*pumpEventsForFilter(EventDispatchThread*java:184)
at java*awt*EventDispatchThread*pumpEventsForHierarchy(EventDispatchThread*java:174)
at java*awt*EventDispatchThread*pumpEvents(EventDispatchThread*java:169)
at java*awt*EventDispatchThread*pumpEvents(EventDispatchThread*java:161)
at java*awt*EventDispatchThread*run(EventDispatchThread*java:122)
. replaced with * (spam filter!)

If anybody knows a solution I would be grateful.

Thanks

Billy
8
Open Bench Logic Sniffer / Re: PIC firmware update fails
My bad for the first part .. I pasted the wrong text.

Code: [Select]
billy@aurora ~/local/ols-0308/OLS_Upgrader $ linbin/pump-loader-linux/pump-loader -p:/dev/ttyACM0 -status
PUMP loader
Opening serial port '/dev/ttyACM0' @ 921600 ... OK
Found PUMP HW: 1, FW: 2.3, Boot: 2
Error - unknown flash type (ef 30 13 00)

The jumper was fitted.

Problem over .. because ols-upgrader.sh (from your link) worked perfectly. :)
Sadly the client 0.9.5 still does not work .. another thread after investigation.

Many thanks Ian.

Billy
9
Open Bench Logic Sniffer / PIC firmware update fails
Hello
I wanted to use version 0.9.5 of the java client, but that does not work, therefore I wanted to upgrade the ols firmware.
Pump loader for linux is in hidden the winbin directory and does not state if it is 64 or not. :)

Code: [Select]
billy@aurora ~/local/ols-0308/OLS_Upgrader $ linbin/pump-loader-linux/pump-loader -p:/dev/ttyACM0 -status
PUMP loader
Opening serial port '/dev/ttyACM0' @ 921600 ... OK
Found PUMP HW: 0, FW: 0.0, Boot: 0
Error - unknown flash type (00 00 00 00)

I though then to update the PIC firmware, I have just received a V1.04 (with 16MHz xtal) from SEED.

Code: [Select]
aurora OLS_Upgrader # linbin64/fw_update -vid 0x4D8 -pid 0xFC90 -ver
fw_update Version: 0.2.0
U2IO BootLoader Version reading: DONE.
BootLoader Version: 0.2.2

aurora OLS_Upgrader # linbin64/fw_update -vid 0x4D8 -pid 0xFC90 -r -ox orig.hex
U2IO flash reading: DONE.
RESET Device

aurora OLS_Upgrader # linbin64/fw_update -vid 0x4D8 -pid 0xFC90 -e -w -ix PIC_firmware/OLSv1.firmware.v3.0.hex
U2IO flash erasing: FAILED.
Device is not found.
Operation aborted.
aurora OLS_Upgrader # linbin64/fw_update -vid 0x4D8 -pid 0xFC90 -ver
fw_update Version: 0.2.0
U2IO BootLoader Version reading: FAILED.
Segmentation fault

No go there then!

After a reboot to clear USB problems
Code: [Select]
aurora OLS_Upgrader # linbin64/fw_update -vid 0x4D8 -pid 0xFC90 -ver
fw_update Version: 0.2.0
U2IO BootLoader Version reading: DONE.
BootLoader Version: 0.2.2

The ols still works but I would like to take advantage of the newer features, any thoughts?

I do have an ICD2.

Billy

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