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

136
Open Bench Logic Sniffer / Mac OS RXTX
Is anyone having any luck getting RXTX up with OLS on Macos snow leopard?  I have tried numerous version and compiles that don't work, but I am hoping someone has one that works.  All the ones I have tried segv in the kernel serial code.  Although they all segv, they do it at different times.  I have spent several hours comparing the various source modules, but no enlightenment has been coming from this path.  I was sick today so I had time to focus, but it is not cooperating.
137
Open Bench Logic Sniffer / Re: Ubuntu Installation Progress
I have gotten the zip message it has to do with finding the look and feel plug file.  Or that was what made it go away for me.  I just get a segv in the serial driver, macos rxtx I am guessing.
138
Open Bench Logic Sniffer / Re: Anybody managed to get the software running on a mac?
I tried running pump-loader -s to get status and if I just plugin the board I get the act light blinking for a bit then just the power and the trig led lit.  Pump-loader does not like it much and I get
richard-hydes-macbook-air:client rich$ perl pump-loader.pl -p /dev/tty.usbmodem411 -s
PUMP-Loader v0.1
Using: /dev/tty.usbmodem411
Read/write: 2048 pages
Reading firmware version:
Hardware: 0, Firmware: 0.0, Bootloader: 0
Reading JEDEC ID: 0x
Incorrect flash, or flash not found!

If I push the reset and load I get act and power as the 2 green leds and I get
richard-hydes-macbook-air:client rich$ perl pump-loader.pl -p /dev/tty.usbmodem411 -s
PUMP-Loader v0.1
Using: /dev/tty.usbmodem411
Read/write: 2048 pages
Reading firmware version:
Hardware: 1, Firmware: 0.1, Bootloader: 255
Reading JEDEC ID: 0x1f240000
Found ATMEL AT45DB041D
Read status byte: 0x9C
done.
richard-hydes-macbook-air:client rich$

This leads me to believe the board is possibly working and has the bootloader on it.

Still crashes in this mode as well.
139
Open Bench Logic Sniffer / Re: Anybody managed to get the software running on a mac?
Okay I have tried rxtx version 2.1.7r2, that dies in
j  gnu.io.RXTXPort.readByte()I+0
j  gnu.io.RXTXPort$SerialInputStream.read()I+61
j  org.sump.analyzer.devices.FpgaDevice.readInteger()I+13
j  org.sump.analyzer.devices.FpgaDevice.run()Lorg/sump/analyzer/CapturedData;+31
j  org.sump.analyzer.devices.FpgaDeviceController.run()V+58

2.2pre I built and installed that dies in close

j  gnu.io.RXTXPort.interruptEventLoop()V+0
j  gnu.io.RXTXPort.removeEventListener()V+55
j  gnu.io.RXTXPort.close()V+91
j  org.sump.analyzer.devices.FpgaDevice.detach()V+61
j  org.sump.analyzer.devices.FpgaDeviceController.run()V+127
j  java.lang.Thread.run()V+11

No joy

So if anyone gets this far.  Am I missing a step?  I can talk to plenty of other things using rxtx I noticed doing a find across the system.  I am also becoming way to familar with the code, but still no luck.   Suggestions would be welcome.  I have tried 5 different pre-compiled version of rxtx at this point, and built and installed 3 more.  I am also getting good and removing the pieces.
140
Open Bench Logic Sniffer / Re: Anybody managed to get the software running on a mac?
I got past that but still no joy I get a kern exception every time I try.  I think I am missing something.

I applied the patch for the ubuntu issue that was previously reported to rxtx.  I am not sure if the problem is in the rxtx code or a not found.  Any suggestions.

intel macbook air with the Seeed built board. 

java -jar analyzer.jar
/dev/tty.usbmodem411
/dev/cu.usbmodem411
/dev/tty.HOLUXGR-231-SPPslave-1
/dev/cu.HOLUXGR-231-SPPslave-1
/dev/tty.Bluetooth-Modem
/dev/cu.Bluetooth-Modem
/dev/tty.SerialPort-1
/dev/cu.SerialPort-1
/dev/tty.Bluetooth-PDA-Sync
/dev/cu.Bluetooth-PDA-Sync
Device Controller found: org.sump.analyzer.devices.FpgaDeviceController
/dev/tty.usbmodem411
/dev/cu.usbmodem411
/dev/tty.HOLUXGR-231-SPPslave-1
/dev/cu.HOLUXGR-231-SPPslave-1
/dev/tty.Bluetooth-Modem
/dev/cu.Bluetooth-Modem
/dev/tty.SerialPort-1
/dev/cu.SerialPort-1
/dev/tty.Bluetooth-PDA-Sync
/dev/cu.Bluetooth-PDA-Sync
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.usbmodem411 (115200bps)
open: locking worked for /dev/tty.usbmodem411
open: fd returned is 43
has_line_status_register_acess: Port does not support TIOCSERGETLSR
init_threads:  start
init_threads: creating drain_loop
init_threads: get eis
init_threads: set eis
init_threads:  stop
Run started
writeByte writeByte:  index->writing = 1RXTXPort:writeByte 1
writeByte writeByte:  index->writing = 1RXTXPort:writeByte 1
writeByte writeByte:  index->writing = 1RXTXPort:writeByte 1
writeByte writeByte:  index->writing = 1RXTXPort:writeByte 1
writeByte writeByte:  index->writing = 1RXTXPort:writeByte 1
writeByte >>
writeByte:  index->writing = 1RXTXPort:writeByte 1
Device ID: 0x534c4131
11000000 00000000 00000000 00000000 00000000
writeArray()
writeArray:  index->writing = 111000001 00000000 00000000 00000000 00000000
writeArray()
writeArray:  index->writing = 111000010 00000000 00000000 00000000 00001000
writeArray()
writeArray:  index->writing = 110000000 00000000 00000000 00000000 00000000
writeArray()
writeArray:  index->writing = 110000001 11111111 00000001 11111111 00000001
writeArray()
writeArray:  index->writing = 1Flags: 10
10000010 00000010 00000000 00000000 00000000
writeArray()
writeArray:  index->writing = 1writeByte >>
writeByte:  index->writing = 1RXTXPort:writeByte 1
Run completed
writeByte writeByte:  index->writing = 1RXTXPort:writeByte 1
writeByte writeByte:  index->writing = 1RXTXPort:writeByte 1
writeByte writeByte:  index->writing = 1RXTXPort:writeByte 1
writeByte writeByte:  index->writing = 1RXTXPort:writeByte 1
writeByte writeByte:  index->writing = 1RXTXPort:writeByte 1
setDTR( 0 )
setDSR( 0 )
drain_loop:  received EINTR------------------ drain_loop exiting ---------------------
eventLoop: got interrupt
Invalid memory access of location 0x129657918 rip=0x125b481ab

Segmentation fault
141
USB Infrared Toy / Re: Mac OS X?
I tried to build that the sources are not stable.  (Includes and libs that do not exist.)  Is there a version that is know to at least compile?

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