Abatron BDI2000 User Manuals Download Page 5

 

bdi

 

CW

 

 BDM interface for CodeWarrior™ Debugger, BDI2000 (MPC5xx/8xx)

User Manual

 5

 

© Copyright 1992-2001 by ABATRON AG

V 1.02

 

BDI MAIN / TARGET A Connector Signals:

 

Mention of sources used: MPC860ADS User’s Manual, Revision A

 

Enhanced Debug Mode Detection:

 

For MPC8xx and MPC555 targets, debug mode (Freeze) detection also works when the BDM con-
nector pins VFLS0 and VFLS1 are not connected to the target. If not connected to VFLSx, this BDM
connector pins should be left open or tied to Vcc. The BDI uses the following algorithm to check if the
target is in debug mode (freezed):

 

BOOL PPC_TargetFreezed(void) {

  if ((VFLS0 != 1) | (VFLS0 != 1)) return FALSE;

  read debug port status;

  if (status == freezed) return TRUE;

  else                   return FALSE;

 

Pin

Name

Describtion

1

VFLS0

These pin and pin 6 (VFLS1) indicate to the debug port controller whether or not the MPC 
is in debug mode. When both VFLS0 and VFLS1 are at "1", the MPC is in debug mode.

2

SRESET

This is the Soft-Reset bidirectional signal of the MPC8xx. On the MPC5xx it is an output. 
The debug port configuration is sampled and determined on the rising-edge of SRESET 
(for both processor families). On the MPC8xx it is a bidirectional signal which may be driven 
externally to generate soft reset sequence. This signal is in fact redundant regarding the 
MPC8xx debug port controller since there is a soft-reset signal integrated within the debug 
port protocol. However, the local debug port controller uses this signal for compatibility with 
MPC5xx existing boards and s/w.

3+5

GND

 

System Ground

 

4

DSCK

 

Debug-port Serial Clock

 

During asynchronous clock mode, the serial data is clocked into the MPC according to the 
DSCK clock. The DSCK serves also a role during soft-reset configuration.

6

VFLS1

These pin and pin 1 (VFLS0) indicate to the debug port controller whether or not the MPC 
is in debug mode. When both VFLS0 and VFLS1 are at "1", the MPC is in debug mode. 

7

HRESET

This is the Hard-Reset bidirectional signal of the MPC. When this signal is asserted (low) 
the MPC enters hard reset sequence which include hard reset configuration. This signal is 
made redundant with the MPC8xx debug port controller since there is a hard-reset com-
mand integrated within the debug port protocol. 

8

DSDI

 

Debug-port Serial Data In

 

Via the DSDI signal, the debug port controller sends its data to the MPC. The DSDI serves 
also a role during soft-reset configuration.

9

Vcc Target

 

1.8 – 5.0V:

 

This is the target reference voltage. It indicates that the target has power and it is also used 
to create the logic-level reference for the input comparators. It also controls the output logic 
levels to the target. It is normally fed from Vdd I/O on the target board.

 

3.0 – 5.0V with Rev. A/B :

 

This input to the BDI2000 is used to detect if the target is powered up. If there is a current 
limiting resistor between this pin and the target Vdd, it should be 100 Ohm or less.

10

DSDO

 

Debug-port Serial Data Out

 

DSDO is clocked out by the MPC according to the debug port clock, in parallel with the 
DSDI being clocked in. The DSDO serves also as "READY" signal for the debug port con-
troller to indicate that the debug port is ready to receive controller’s command (or data).

Summary of Contents for BDI2000

Page 1: ...bdiCW BDM interface for CodeWarrior Debugger PowerPC MPC8xx MPC5xx User Manual Manual Version 1 02 for BDI2000 1992 2001 ABATRON AG...

Page 2: ...Connecting the BDI2000 to the Host 10 2 4 1 Serial line communication 10 2 4 2 Ethernet communication 11 2 5 Installation of the Configuration Software 12 2 6 Configuration 13 2 6 1 BDI2000 Setup Upda...

Page 3: ...with the CodeWarrior debugger 1 1 BDI2000 The BDI2000 is a processor system in a small box It implements the interface between the BDM pins of the target CPU and a 10Base T Ethernet RS232 connector BD...

Page 4: ...OPTION Target Connector BDI2000 A A A Ab b b ba a a at t t tr r r ro o o on n n n A A A AG G G G S S S Sw w w wi i i is s s ss s s s M M M Ma a a ad d d de e e e Target System MPC 8xx 9 1 10 2 The gr...

Page 5: ...and s w 3 5 GND System Ground 4 DSCK Debug port Serial Clock During asynchronous clock mode the serial data is clocked into the MPC according to the DSCK clock The DSCK serves also a role during soft...

Page 6: ...new setup has to be done see Appendix A During this process the target cable must be disconnected from the target system The BDI2000 needs to be supplied with 5 Volts via the BDI OPTION connec tor Re...

Page 7: ...between 4 75V and 5 25V DC The maximal tolerable supply voltage is 5 25 VDC Any higher voltage or a wrong polarity might destroy the electronics Please switch on the system in the following sequence...

Page 8: ...ee operation the power supply to the BDI2000 must be between 4 75V and 5 25V DC The maximal tolerable supply voltage is 5 25 VDC Any higher voltage or a wrong polarity might destroy the electronics BD...

Page 9: ...t in LED indicates the following BDI states MODE LED BDI STATES OFF The BDI is ready for use the firmware is already loaded ON The power supply for the BDI2000 is 4 75VDC BLINK The BDI loader mode is...

Page 10: ...PC host BDI2000 A A A Ab b b ba a a at t t tr r r ro o o on n n n A A A AG G G G S S S Sw w w wi i i is s s ss s s s M M M Ma a a ad d d de e e e Target System RS232 RS232 LI TX RX 10 BASE T 5 4 3 2...

Page 11: ...s the meanings of the built in LED lights LED Name Description LI Link When this LED light is ON data link is successful between the UTP port of the BDI2000 and the hub to which it is connected TX Tra...

Page 12: ...0mpc hlp Helpfile for the configuration program b20mpc cnt Help contents file b20ppcfw xxx Firmware for BDI2000 Rev A B for MPC8xx MPC5xx targets b21ppcfw xxx Firmware for BDI2000 Rev C for MPC8xx MPC...

Page 13: ...use the help system F1 2 6 1 BDI2000 Setup Update First make sure that the BDI is properly connected see Chapter 2 1 to 2 4 The BDI must be con nected via RS232 to the Windows host To avoid data line...

Page 14: ...wing format xxx xxx xxx xxxe g 255 255 255 0 A subnet mask of 255 255 255 255 disables the gateway feature Ask your network administrator for the correct subnet mask Default Gateway Enter the IP addre...

Page 15: ...le Use on line help F1 and the supplied configuration examples on the distribution disk to get more information about the init list Note You may also use the debuggers feature to setup the hardware Bu...

Page 16: ...on instruction access For CodeWarrior select always Software CPU Type Select the CPU type of the target system Clock Rate Enter the clock rate the target CPU runs after BDI has worked through the init...

Page 17: ...les base initialization At the end of the code the initialization program enters an endless loop until it is interrupted by the BDI This mode is intended for special requirements on the reset sequence...

Page 18: ...Remote Debugging and select either Abatron TCP IP or Abatron Serial 5 2 EPPC Exceptions From the CodeWarrior menu Edit open your project Settings Select Debugger EPPC Exceptions This opens the EPPC Ex...

Page 19: ...ates 9 600 19 200 38 400 57 600 115 200 Data Bits 8 Parity Bits none Stop Bits 1 Network Interface 10 BASE T Serial Transfer Rate between BDI and Target up to 16 Mbit s Supported target voltage 1 8 5...

Page 20: ...odeWarrior Debugger BDI2000 MPC5xx 8xx User Manual 20 Copyright 1992 2001 by ABATRON AG V 1 02 7 Environmental notice Disposal of the equipment must be carried out at a designated disposal site 8 Decl...

Page 21: ...ages includ ing but not limited loss of profit special incidental consequential or other similar claims ABATRON Switzerland specifically disclaims all other warranties expressed or implied including b...

Page 22: ...ng communication port Com 1 Com 4 is selected Problem No working with the target system loading firmware is ok Possible reasons Wrong pin assignment BDM JTAG connector of the target system see chapter...

Page 23: ...n please proceed according to the following steps Observe precautions for handling Electrostatic sensitive device Unplug the cables before opening the cover Use exact fuse replacement Microfuse MSF 1...

Page 24: ...LEDs align with the holes in the front panel plastic sealing Reinstallation back panel 5 2 Push carefully the front panel and the red elastig sealing on the casing Control that the LEDs align with th...

Page 25: ...bdiCWBDM interface for CodeWarrior Debugger BDI2000 MPC5xx 8xx User Manual 25 Copyright 1992 2001 by ABATRON AG V 1 02 C Trademarks All trademarks are property of their respective holders...

Reviews: