background image

bdi

CW

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

User Manual

 17

© Copyright 1992-2001 by ABATRON AG

V 1.02

4.1  Startup Mode

Startup mode defines how the BDI interacts with the target system after a reset or power up 
sequence.

4.1.1 Startup mode RESET

In this mode no ROM is required on the target system. The necessary initialization is done by the BDI
with the programmed init list. The following steps are executed by the BDI after system reset or 
system power up: 

• HRESET is activated on the target system.
• HRESET is deactivated and the target is forced into debug mode.
• The BDI works through the initialization list and writes to the corresponding addresses. 

The RESET mode is the standard working mode. Other modes are used in special cases (i.e. 
applications in ROM, special requirements on the reset sequence...).

4.1.2 Startup Mode STOP

In this mode the initialization code is in a ROM on the target system. The code in this ROM handles
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 (e.g.
loading a RAM based programmable logic device).
In this mode the following steps are executed by the BDI after system reset or power up:

• HRESET is activated on the target system.
• HRESET is deactivated and the target is forced into debug mode.
• The target is started and begins executing application code.
• After a delay of 2 seconds, the target is forced into debug mode.
• The BDI works through the initialization list and writes the corresponding addresses.

4.1.3 Startup mode RUN

This mode is used to debug applications which are already stored in ROM. The application is started
normally and is stopped when the debugger is started. 
In this mode, the following steps are executed by the BDI after system reset or power up: 

• HRESET is activated on the target system.
• HRESET is deactivated and the target is forced into debug mode.
• The target is startet and begins executing application code.
• The application runs until it is stopped by the debugger. 

Содержание BDI2000

Страница 1: ...bdiCW BDM interface for CodeWarrior Debugger PowerPC MPC8xx MPC5xx User Manual Manual Version 1 02 for BDI2000 1992 2001 ABATRON AG...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: