Skip to main content

Topics

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

Topics - billium

1
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
2
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
3
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.01232297640session_write_close ( )...(null):0
20.01262429232ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01262430008Database_MySQL->query( ).../DatabaseHandler.php:119
40.05742568744Database_MySQL->error( ).../Db-mysql.class.php:273