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



> 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 have discovered the problem.  The Getting Started document is incorrect.  Quoting:

--- BEGIN QUOTE ---

5.7. Open Source BDM Devices

Open Source BDM (OSBDM) devices are supported. The OSBDM device type partitions the device-url as follows:
The number indicates the number of the OSBDM interface to connect to, counting from zero upwards. If the number is omitted, the default is to connect to the zeroth interface, which works well if you have only one OSBDM device connected to your computer.

--- END QUOTE ---

I had to specify 0 explicitly.  I was previously invoke sprite as 

$ m68k-elf-sprite osbdm: twr-mcf51cn

which segfaults.

whereas

$ m68k-elf-sprite osbdm://0 twr-mcf51cn

works.

Looks like perhaps a null-pointer was used somewhere when parsing the command line.  At any rate, I think you'll agree that's a bug.

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>