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



> I don't have libosbdm for Linux; I assumed Freescale might have released 
> OSBDM driver for Linux and you were using it.

You'd think so, wouldn't you.  But it looks like only the Windows CW tools support OSBDM.  Eclipse-based stuff for linux doesn't seem to.

> IIRC, libosbdm is under LGPL, so you can add debug output to it without 
> violating EULA.  We would only welcome efforts to get Linux OSBDM driver 
> into usable state.  BTW, adding '-vvv' to sprite command line will 
> increase verbosity of sprite output.

I'm quite certain now the segfault is caused by sprite itself.  To probe further, I'd have to step back into the sprite code, which I believe the license doesn't allow.

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
m68k-elf-sprite: debug target:Loaded OSBDM library 'libosbdmJM60.so'
osbdm_INIT: Usb initialised, found 1 device(s)
Segmentation fault

Matt
</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>