P&E Micro BDM Debugger

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

P&E Micro BDM Debugger

4,024 Views
davidcav
Contributor II
I am using CodeWarrior for embedded 68K on a MC68332.  I am trying to use the P&E Micro BDM to load my code and debug via the parallel port (LPT1).  However, I have been very unsuccessful when trying to debug.  If I try to "Connnect" (under the Debug menu:smileyhappy: I get the following error: 
 
     "Attempt to operate on target not registered with nub"
 
 
If I just try to Debug (green triagle in toolbar) I get the following messages:
 
"Resetting and Inititializing Target" followed by "Unable to Read/Write registers after executing config file"
 
I have also tried various different BDM configuration files to try to initialize my board correctly, but nothing seems to have any effect.
 
 
any suggestions????
Labels (1)
0 Kudos
3 Replies

529 Views
CJFSL
Contributor I
You may want to check following notes to make this LPT based BDM cable for your MCF target:
 
Note 1: The BIOS settings for the Parallel port should be one of the following:
SPP, Normal, Standard, Output Only, Unidirectional, AT. Try to avoid ECP, EPP or PS/2 Bi-directional.
 
Note 2: The parallel cable connecting the PC parallel port and the BDM cable MUST be IEEE1284 compliant. If the cable is not marked with the IEEE1284 text, then it is not compliant.
 
Note 3: In windows XP/2000, the parallel port dialog checkbox entitled "Enable Legacy Plug
and Play" should be checked. This setting is located in the Control Panel-->System--
>Hardware->Device Manager->Ports->Printer Port (LPTX) dialog. You must reboot for this setting to take effect.
 
Note 4: Make sure to turn off any applications which may be trying to access the printer port
(such as a Print Manager) before running CodeWarrior Debugger or P&E's software.
 

0 Kudos

529 Views
davidcav
Contributor II
Thanks,
 
I think the windows settings fixed the problem (Plug and Play option).
0 Kudos

529 Views
J2MEJediMaster
Specialist I
The "not registered" messages leads me to believe that maybe there's a driver issue for the cable. The parallel port is talking to the BDM's serial interface, so a driver's going to be required to manage some sort of translation. Did the cable come with a driver disc or similar? Sorry I can't be more help than this, I don't have 68K gear here.

---Tom
0 Kudos