RE: [coldfire-gnu-discuss] CodeSourcery sprite + usbdevfs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [coldfire-gnu-discuss] CodeSourcery sprite + usbdevfs



> The sprite uses libosbdmJM.so to communicate with the OSBDM probe, it 
> does not use USB interface directly.  AFAIK, the OSBDM driver uses 
> libusb for low-level USB interface, so, possibly, this segfault is due 
> to mismatch between the kernel and libusb versions.

Can you either point to or provide sources for the linux version of libosbdm you are using?  As far as I can tell, Freescale supplies Windows DLL code and others have made necessary patches to compile under linux.  My suspicion about usbfs may have been a red herring, as adding some printfs to the linux port of libosbdm finds the device, so queries for the VID/PID seem to be fine.  See printf output below.

Not sure I can research much more without violating the EULA.

Matt


m68k-elf-sprite: CodeSourcery ColdFire Debug Sprite (Sourcery G++ Lite 4.4-215)
m68k-elf-sprite: Doing I/O to stdin/stdout
m68k-elf-sprite: Memory [0x0,+0x20000) flash (cfm)
m68k-elf-sprite: Memory [0x800000,+0x6000) ram
osbdm_INIT: Usb initialised, found 1 device(s)
Segmentation fault
</PRE><BR><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#003366'>
_____________________________________________________<BR> 
This electronic message and any files transmitted with it contains<BR>
information from iDirect, which may be privileged, proprietary<BR>
and/or confidential. It is intended solely for the use of the individual<BR>
or entity to whom they are addressed. If you are not the original<BR>
recipient or the person responsible for delivering the email to the<BR> intended recipient, be advised that you have received this email<BR>
in error, and that any use, dissemination, forwarding, printing, or<BR> copying of this email is strictly prohibited. If you received this email<BR>
in error, please delete it and immediately notify the sender.<BR>
_____________________________________________________ 
</SPAN><PRE>