USBDM support in Codesourcery Sprite

Peter O'Donoghue podonoghue at swin.edu.au
Tue Feb 15 02:57:55 UTC 2011


Hi,

I've added basic support for Codesourcery to USBDM 
(http://sourceforge.net/projects/usbdm/)  through a "OSBDM-JM60" pretend 
DLL but its a bit crude due to the differences in how they operate.
It would be considerably easier if it were possible to pass parameters 
to the DLL to select options.  Is there any chance to provide this 
support for USBDM?  This would involve minimal work I hope.

A few other minor comments:
With a Coldfire V1 target the sprite tries to write to non-existent 
registers such as 0x80F (which is PC on CFV2 etc).  OSBDM quietly 
truncates to 8-bits so it accesses register 0x0F which (fortunately) is 
the PC on CFV1.

With Coldfire V2 targets the sprite tries to do a software reset of the 
target.  This is only available on CFV1 targets.  It appears OSBDM-JM60 
ignores the parameters.

The OSBDM-JM60 firmware is target device specific i.e. a given 
OSBDM-JM60 BDM only supports CFV1 or CFV2-3.  USBDM supports multiple 
target types but there is no convenient way to select the target device 
type when 'pretending' to be a OSBDM-JM60.

bye

-- 
pgo




More information about the coldfire-gnu-discuss mailing list