USB BDM

Paul Georgief pgeorgief at ucsd.edu
Mon Jun 25 20:51:25 UTC 2007


Hi:

I'm using the USB BDM interface from P&E Micro and am having problems  
passing the 'speed' option to the default USB device ('pe:// 
USBMultilink').  When I specify the device using a unique device name  
such as 'pe://USBMultilink/PE6015837'  - it works great and I have no  
problems.  Is there a way to pass the speed option to a default  
device?  The reason I ask is because I have more than one setup and  
it would be nice if I didn't have to remember which BDM is on which  
setup (and they do get moved/exchanged/lost/stolen/etc).

Here is a printout of what I am getting:


$ m68k-elf-sprite -i
CodeSourcery ColdFire Debug Sprite (Sourcery G++ 4.1-39)
ccs: [timeout=<n>&speed=<n>] CCS Adaptor
   ccs://$Host:$Port/$Chainpos - CCS address
pe: [speed=<n:0-31>&memory-timeout=<n:0-99>] P&E Adaptor
   pe://USBMultilink/PE6015837 - USB1 : USB-ML-CF Rev C (PE6015837)
   pe://CycloneProMaxSerial:1 - COM1 : Serial Port 1
   pe://ParallelPortCable:1 - LPT1 : Parallel Port 1 (Address $03BC)


--- GDB (Note: the '4x4' is my XML device configuration file) ---

**** IT SEES THE DEVICE, BUT MY SPEED SETTING IS INCORRECT ****
(gdb) target remote | m68k-elf-sprite pe://USBMultilink 4x4
Remote communication error: No error.
Remote debugging using | m68k-elf-sprite pe://USBMultilink 4x4
m68k-elf-sprite:Opening P&E USBMultilink port 1 (USB1 : USB-ML-CF Rev  
C (PE6015837))
m68k-elf-sprite:error:Cannot establish communication with target
Remote communication error: No error.

**** I GET AN UNKNOWN DEVICE IF I PASS THE SPEED OPTION *****
(gdb) target remote | m68k-elf-sprite pe://USBMultilink?speed=2 4x4
Remote communication error: No error.
Remote debugging using | m68k-elf-sprite pe://USBMultilink?speed=2 4x4
m68k-elf-sprite:error:Unknown device type `USBMultilink?speed=2'
Remote communication error: No error.

**** IT WORKS IF I SPECIFY THE EXACT BDM ****
(gdb) target remote | m68k-elf-sprite pe://USBMultilink/PE6015837? 
speed=2 4x4
Remote communication error: No error.
Remote debugging using | m68k-elf-sprite pe://USBMultilink/PE6015837? 
speed=2 4x4
m68k-elf-sprite:Opening P&E USBMultilink port 1 (USB1 : USB-ML-CF Rev  
C (PE6015837))
m68k-elf-sprite:Target reset
0x00000000 in ?? ()


My configuration is as follows:
Host:	WinXP
Target:	mcf5235
Toolset:	Sourcery G++ 4.1-39
BDM:	USB-ML-CFE Rev. C


Thanks,
Paul




More information about the coldfire-gnu-discuss mailing list