Home

bdiCW_UserManual_PPC6xx7xx82xx74007410

image

Contents

1. from target system 3 oe i o E Switch ON the power supply for the BDI again and waituntilthe d INIT MODE LED MODE blinks fast Me Turn the power supply OFF again iu DEFAULT Return the jumper to the DEFAULT position e Reassemble the unit as described in Appendix Maintenance Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCEXX 7XX 8EXX User Manual 14 3 Init List Startup Init List Type Address Value Comment WMSH s DROQOQQOQO Clear ME e d WM32 Ox0F010148 O 04700000 IMMR internal space 0 04700000 WM32 0x04710004 OxFFFFFFC3 SYPCR disable watchdog WM32 0x04710C80 O 00000001 SCCR normal operation NOP Init memory Controller WM32 004710104 OxFF800836 ORO Flash 8MB CS early negate B w s Timing rela WM32 0x04710100 OxFF801801 BRO Flash 0xFF800000 32bit no parity WM32 Ox0471010C OxFFFF8010 OR1 BCSR 32KB all types accesse 1 w s WM32 004710108 0x04501801 BR1 BCSR 0x04500000 32bit no parity NOP SDRAM Init PPC bus WM16 004710184 01900 MPTPR Divide Bus clock by 26 EELS Lu noun47101060 Nedd DCDT Disda kAIDTDD ei ho New DK El LOK Cancel dialog box Startup Init List In order to prepare the target for debugging you can define an Initialization List This list is stored in the Flash memory
2. Size Weight without cables Host Cable length RS232 5 VDC 0 25 V typ 500 mA max 1000 mA 9 600 19 200 38 400 57 600 115 200 8 none 1 10 BASE T up to 16 Mbit s 1 8 5 0 V 3 0 5 0 V with Rev B 5 60 C 20 65 C lt 90 rF 190 x 110 x 35 mm 420 g 2 5m Specifications subject to change without notice Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCEXX 7XX 8EXX User Manual 27 8 Environmental notice Dj ak Disposal of the equipment must be carried out at a designated disposal site 9 Declaration of Conformity CE DECLARATION OF CONFORMITY This declaration is valid for following product Type of device BDM JTAG Interface Product name BDI2000 The signing authorities state that the above mentioned equipment meets the requirements for emission and immunity according to EMC Directive 89 336 EEC The evaluation procedure of conformity was assured according to the following standards EN 50081 2 EN 50082 2 This declaration of conformity is based on the test report no QNL E853 05 8 a of QUINEL Zug accredited according to EN 45001 Manufacturer ABATRON AG St ckenstrasse 4 CH 6221 Rickenbach Authority Va 22 I IE Max Vock Ruedi Dummermuth Marketing Director Technical Director Rickenbach May 30 1998 Copyright 1999 2006 by ABATRON AG
3. 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 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 TCK JTAG Test Clock This output of the BDI2000 connects to the target TCK pin lt reseved gt TMS JTAG Test Mode Select This output of the BDI2000 connects to the target TMS line lt reseved gt SRESET Soft Reset This open collector output of the BDI2000 connects to the target SRESET pin GROUND System Ground HRESET Hard Reset This open collector output of the BDI2000 connects to the target HRESET pin lt reseved gt IN1 General purpose Input This input to the BDI2000 connects to the target CKSTP OUT pin Currently not used GROUND System Ground Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCEXX 7XX 8EXX User Manual 6 2 1 1 Changing Target Processor Type Before you can use the BDI2000 with an other target processor type e g CPU32 lt gt PPC a 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 V
4. option allows to select the used JTAG clock rate Run Time When startup mode STOP is selected this option allows to set the run time after reset in milliseconds until the target CPU is stopped Values from 100 0 1 sec till 32000 32 sec are accepted Workspace In order to speed up code download enter the address of a free 256 byte RAM area The BDI will install there some code that supports faster pro gram download A value of OXFFFFFFFF disables the workspace The BDI also needs this workspace to flush the data cache and to access L2 pri vate memory Catch exceptions Check this switch if the BDI should catch unhandled exception Catching exceptions is only possible if the memory at address 0x00000100 to 0x00001FFF is writable and the vector table is mapped to 0x00000000 MSR IP 0 Flush L2 L3 cache Check this switch if the BDI should flush the cache before accessing mem ory This is mainly useful if there is a L2 L3 cache present If this switch is not set the BDI uses L1 L1 L2 cache coherent read and write accesses to target memory Coherent access means that the cache is directly read or written via COP if the appropriate cache line is valid In order to flush the data cache the BDI needs some workspace in target RAM to execute the flush code Do not check this switch if there is only aL1 cache present For 750FX GX check this switch only if there is a L3 cache present Transmit Click on this button to send the initializati
5. I is connected via eth ernet to the host It may help to invertigate problems and allows access to target resources that can not directly be accessed by the debugger The following commands are available MD lt address gt lt count gt MDD lt address gt lt count gt MDH lt address gt lt count gt MDB lt address gt lt count gt MM lt addr gt lt value gt lt cnt gt MMD lt addr gt lt value gt lt cnt gt MMH lt addr gt value lt cnt gt MMB lt addr gt lt value gt lt cnt gt MC lt address gt lt count gt MV RD RDSPR lt number gt RDSR number RDVR number RI number value RMSPR number value RMSR number value RMVR lt nbr gt lt val val val val DCACHE addr set L2CACHE addr set UPMR MxMR lt MDR gt lt addr gt BOOT RESET GO lt pc gt TI lt pc gt TC lt pc gt HALT BI lt addr gt CI lt id gt BD R W lt addr gt CD lt id gt INFO DCMD lt direct command gt HELP QUIT word 32bit double word 64bit as half word 16bit as byte 8bit display target display target display target display target memory modify word s 32bit in target memory modify double word s 64bit modify half word s 16bit in target memory modify byte s 8bit in target memory calculates a checksum over a memory ra
6. JTAG debug interface for CodeWarrior Debugger PowebQ Gex x 92x 14000 1010 User Manual Manual Version 1 07 for BDI2000 AAR N 1999 2006 ABATRON AG e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCEXX 7XX 8BEXX User Manual 2 De TOPE U IN cece a a E a A E T 3 Bod Pa ADO renser snn sued a a E A E EEE EE 3 2 Installati n satin sass AKEn 4 2 1 Connecting the BDIZODO to Vane ccs cee tarda eadoethexe ted t Gr lad eed dace teense 4 2 1 1 Changing Target Processor Type i rtr eth nt tira Enix nepote tee lcd dass 6 2 2 Connecting the BDI2000 to Power Supply essen eene 7 2 3 Status LED IE VP 8 2 4 Connecting the BDIPOO0 to the Host t pe teet iios Pate x Pena xri t iacu ER Mid uns 9 2 4 1 Serial line communication eicit plFIe ted eri a De Ia haac dc rore pa dci vint ieispda e Rdnii 9 2 4 2 Ethernet communication assises aRc dete isa CRF mula SOR UAP E bor cC EXTGP SUEDE AU REEN 10 2 5 Installation of the Configuration Software sseesssseeceeeeneeenneenn 11 2 6 LOT B e LOI ie css dus sd paa Gee nuo ien ea Rp ensi dute pane eU ui Ee IGudue Edna met dud LU UR EEEE Eneee EE 12 2 5 1 BDIZDDO Setup Updale iei ooo e eei terr a a ia eno cet ade EEE 12 KE 3E n 14 4 BDI working modes eim iis iras bnt ce cac Ke cl
7. V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCEXX 7XX 8EXX User Manual 22 10 Warranty ABATRON Switzerland warrants the physical diskette cable BDI2000 and physical documentation to be free of defects in materials and workmanship for a period of 24 months following the date of purchase when used under normal conditions In the event of notification within the warranty period of defects in material or workmanship ABATRON will replace defective diskette cable BDI2000 or documentation The remedy for breach of this warranty shall be limited to replacement and shall not encompass any other damages 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 but not limited to implied warranties of merchantability and fitness for particular purposes with respect to defects in the diskette cable BDI2000 and documentation and the program license granted here in including without limitation the operation of the program with respect to any particular application use or purposes In no event shall ABATRON be liable for any loss of profit or any other commercial damage including but not limited to special incidental consequential or other damages Failure in handling which leads to defects are not covered under this warranty The warranty is void under any self made repai
8. ersion A or via the POWER connector Version B For more information see chapter 2 2 1 External Power Supply To avoid data line conflicts the BDI2000 must be disconnected from the target system while programming the logic for an other target CPU Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCexx Zxx 62xx User Manual 7 2 2 Connecting the BDI2000 to Power Supply The BDI2000 needs to be supplied with 5 Volts max 1A via the POWER connector The available power supply from Abatron option or the enclosed power cable can be directly connected In order to ensure reliable operation of the BDI2000 keep the power supply cable as short as possible A For error free 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 POWER Connector 1 Vcc 1 Vcc 45V 3 GROUND The green LED BDI marked light up when 5V power is connected to the BDI2000 Please switch on the system in the following sequence 1 gt external power supply 2 gt target system Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCEXX 7XX EEXX User Manual 8 2 3 Status LED MODE The built in LED indicates the follo
9. get system HRESET is deactivated and the target begins executing application code After a delay Run Time the target is forced into debug mode The BDI works through the initialization list 4 1 3 Startup mode RUN This mode is used to debug an application which is already stored in ROM The application is started normally and will be 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 begins executing application code The application runs until it is stopped by the debugger Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCexx xx amp 2xx User Manual 18 5 Working with CodeWarrior 5 1 Setup Use the CodeWarrior IDE Preferences dialog box section Debugger gt Remote Connections and setup the appropriate communication parameters for the Abatron TCP IP and Abatron Serial con nection Use the CodeWarrior your project Settings dialog box section Debugger gt Remote Debugging and select either Abatron TCP IP or Abatron Serial Copyright 1999 2006 by ABATRON AG V 1 07 ldi JTAG debug interface for Code Warrior Debugger BDIZ000 PPC6XX 7xx 82xx User Manual 19 6 Telnet Interface A Telnet server is integrated within the BDI that can be accessed when the BD
10. gnment is in accordance with the PowerPC COP connector specification In order to ensure reliable operation of the BDI EMC runtimes etc the target cable length must not exceed 20 cm 8 Target System PPC750 1 15 lt 4 COP JTAG Connector TDO QACK TDI TRST AUN 6 Vcc Target 7 TCK 9 TMS 11 SRESET 12 GROUND 13 HRESET The green LED TRGT marked light up when target is powered up 16 GROUND For BDI TARGET B connector signals see table on next page Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCEXX 7XX 8EXX User Manual 5 BDI TARGET B Connector Signals Describtion JTAG Test Data Out This input to the BDI2000 connects to the target TDO pin QACK This output of the BDI2000 connects to the target QACK pin By default this pin is not driven by the BDI2000 With an entry in the init liste it can be forced low JTAG Test Data In This output of the BDI2000 connects to the target TDI pin JTAG Test Reset This output of the BDI2000 resets the JTAG TAP controller on the target General purpose Input This input to the BDI2000 connects to the target HALTED pin Currently not used 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
11. n also handle systems with multiple devices connected to the JTAG scan chain In order to put the other devices into BYPASS mode and to count for the additional bypass registers the BDI needs some information about the scan chain layout Enter the number and total instruction register IR length of the devices present before the PowerPC chip Enter the appropriate information also for the devices following the PowerPC chip 8011 8012 8013 8014 Number of JTAG devices connected before the PowerPC chip Total IR length of the JTAG devices connected before the PowerPC chip Number of JTAG devices connected after the PowerPC chip Total IR length of the JTAG devices connected after the PowerPC chip Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCexx xx 62xx User Manual 16 4 BDI working modes Identification MPC92854DS Startup CPU Type MPc8280 70 Reset s JTAG Clock 166 MHz C Run Run Time fi 000 ms Catch exceptions D Flush L2 L3 cache 7 Workspace 04700000 Hex dialog box BDI Working Mode With this dialog box you can define how the BDI interacts with the target system Identification Enter a text to identify this setup Startup Startup mode defines how the BDI interacts with the target processor after reset or power up The options RESET STOP or RUN can be selected CPU Type Select the CPU type of the target system JTAG Clock This
12. n position as shown in figure below m Jumper settings o NI o om E DEFAULT INIT MODE Fuse Position Rev B C e Rev A o X Pull out carefully the fuse and replace it 4 Type Microfuse MSF 1 6AF Manufacturer Schurter Fuse Position Reinstallation 5 1 Slide back carefully the print Check that the LEDs align with the holes in the back panel 5 2 Push carefully the front panel and the red elastig sealing on the casing Check that the LEDs align with the holes in the front panel and that the position of the sealing is as shown in the figure below casing N elastic sealing back panel EF front panel 5 3 Mount the screws do not overtighten it 5 4 Mount the two plastic caps that cover the screws 5 5 Plug the cables A ks Observe precautions for handling Electrostatic sensitive device Unplug the cables before opening the cover Use exact fuse replacement Microfuse MSF 1 6 AF Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCexx Zxx amp 2xx User Manual 26 C Trademarks All trademarks are property of their respective holders Copyright 1999 2006 by ABATRON AG V 1 07
13. n to write the new firmware and or logic into the BDI2000 flash mem ory programmable logic IP Address Enter the IP address for the BDI2000 Use the following format xxx xxx xxx xxxe g 151 120 25 101 Ask your network administrator for assigning an IP address to this BDI2000 Every BDI2000 in your network needs a different IP address Subnet Mask Enter the subnet mask of the network where the BDI is connected to Use the following 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 address of the default gateway Ask your network administra tor for the correct gateway IP address If the gateway feature is disabled you may enter 255 255 255 255 or any other value Transmit Click on this button to store the network configuration in the BDI2000 flash memory In rare instances you may not be able to load the firmware in spite of a correctly connected BDI error of the previous firmware in the flash memory Before carrying out the following procedure check the possibilities in Appendix Troubleshooting In case you do not have any success with the tips there do the following Switch OFF the power supply for the BDI and open the unit as described in Appendix Maintenance Place the jumper in the INIT MODE position Connect the power cable or target cable if the BDI is powered
14. nge verifies the last calculated checksum display general purpose registers display special purpose register display segment register display vector register memory memory memory as as modify general purpose or user defined regist modify special purpose register modify segment register modify vector register four 32bit values display L1 data cache content display L2 cache content only 750FX GX read selected UPM array reset the BDI and reload the configuration reset the target system set PC and start target system trace on instuction single step trace on change of flow force target to enter debug mode set instruction hardware breakpoint Clear instruction hardware breakpoint s set data watchpoint via DABR clear data watchpoint s display information about the current state execute a BDI direct command see manual display command list terminate the Telnet session in target memory cn Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCexx Zxx 62xx User Manual 20 7 Specifications Operating Voltage Limiting Power Supply Current RS232 Interface Baud Rates Data Bits Parity Bits Stop Bits Network Interface Serial Transfer Rate between BDI and Target Supported target voltage Operating Temperature Storage Temperature Relative Humidity noncondensing
15. o IR Lnd eee indi Cx E enters 16 4A StartUp ModE E I TT T T 17 4 1 1 Startup mode RESET saccis todo utter sa diet ia tup aae td brit tameo Best oet eame Maedttdxss 17 4 1 2 Startup Mode S TOP utei e eia RE ER RIA EE M SES pU S Ra M HEP RE D RENE 17 SANA usmuso f 8 LR 17 5 ipee iit dri AM X 18 CAELI cp UE 18 6 Telnet Interface Atc K NaRa 19 T Specifications me a RaRa 20 8 Environmental notice sssssssssssnsnsnnsnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn annann 21 9 Declaration of Conformity CE iced rax hie eta tex hh atv ick ta rb INE Rice kH LI ERN Ed inui nnna 21 10 Warranty secccscscctscceecesctectvesccdecceascscetececnctnctussasaduedsgeusviadssansdeaieansdussedssheusavstaustvbsvsseciarsetansvasdeurerss 22 Appendices A TroublesnootLlHlg ias eo merce tipa ES aad etx c rH FERR Edu REC anaa bus Ama RR AANEREN EVI DD NE D rex NIMES 23 ai tira EE 24 C Trademarks Mert 26 Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPC6XX 7xx 82xx User Manual 3 1 Introduction Target System Target System MPC 8260 JTAG Interface JTAG Interface PC Host Z gt ppa RS232 Ethernet 10 BASE T UJ The BDI2000 adds JTAG based debug fea
16. of the BDI2000 and worked through every time the target comes out of reset Use it to get the target operational after a reset The memory system is usually initialized through this list After processing the init list the RAM used to download the application must be accessible Use on line help F1 and the supplied configuration examples on the distribution disk to get more information about the init list You may also use the debuggers feature to setup the hardware chip initialization file Special BDI Configuration Registers In order to change some special configuration parameters of the BDI the SPR entry in the init list is used Normal PPC SPR s covers a range from 0 to 1023 Other SPR s are used to set BDI internal registers 8001 For slow memory it may be necessary to increase the number of clocks used to execute a memory access cycle If for example you cannot access boot ROM content with the default configuration of your memory controller define additional memory access clocks with this SPR number in the init list Usual values are in the range 1000 4000 0x400 0x1000 8002 Defines an alternate boot address Normally a PPC boots from OxFFF00100 A MPC8260 has also the option to boot from 0x00000100 The BDI needs to know the boot address in order to set the correct hardware breakpoint during startup 8003 Defines the base address of the L2 cache private memory Because L2 cache private mem ory cannot be accessed directly
17. on list and the working mode to the BDI This is normally the last step done before the BDI can be used with the debugging system Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCEXX 7XX 8EXX User Manual 17 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 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 tar
18. r operation except exchanging the fuse Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCexx Zxx 62xx User Manual 23 Appendices A Troubleshooting Problem The firmware can not be loaded Possible reasons The BDI is not correctly connected with the target system see chapter 2 The power supply of the target system is switched off or not in operating range 4 75 VDC 5 25 VDC gt MODE LED is OFF or RED The built in fuse is damaged MODE LED is OFF The BDI is not correctly connected with the Host see chapter 2 A wrong 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 2 Target system initialization is not correctly gt enter an appropriate target initialization list An incorrect IP address was entered BDI2000 configuration BDM JTAG signals from the target system are not correctly short circuit break The target system is damaged Problem Network processes do not function loading the firmware was successful Possible reasons The BDI2000 is not connected or not correctly connected to the network LAN cable or media converter An incorrect IP address was entered BDI2000 configuration Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG deb
19. ration Examples Example of an installation process Copy the entire contents of the enclosed diskette into a directory on the hard disk You may create a new shortcut to the b20cop exe configuration program e Copy the BDI interface DLL to CodeWarrior Bin Plugins Support Abatron bdiifc32 dll Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCEXX 7XX EEXX User Manual 12 2 6 Configuration Before you can use the BDI together with the debugger the BDI must be configured Use the SETUP menu and follow the steps listed below Load or update the firmware logic store IP address gt Firmware Set the communication parameters between Host and BDI gt Communication Setup an initialization list for the target processor gt Initlist Select the working mode gt Mode Transmit the configuration to the BDI gt Mode Transmit For information about the dialogs and menus 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 conflicts the BDI2000 must be disconnected from the target system while programming the logic for an other target CPU see Chapter 2 1 1 The following dialogbox is used to check or update the BDI firmware and logic and to set the network parameters BD12000 Update Set
20. tor if you have questions about the network Target System 10 BASE T Connector 1 TD 2 TD 3 RD L TX RX 10 BASE T 6 RD BDI2000 PC Host HD The following explains the meanings of the built in LED lights Ethernet 10 BASE T E CJ 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 Transmit When this LED light BLINKS data is being transmitted through the UTP port of the BDI2000 RX Receive When this LED light BLINKS data is being received through the UTP port of the BDI2000 Copyright 1999 2006 by ABATRON AG V 1 07 ldi JTAG debug interface for Code Warrior Debugger BDIZ000 PPC6XX 7xx 82xx User Manual 11 2 5 Installation of the Configuration Software On the enclosed diskette you will find the BDI configuration software and the firmware required for the BDI Copy all these files to a directory on your hard disk The following files are on the diskette b20cop exe b20cop hlp b20cop cnt b20copfw xxx copjed20 xxx copjed21 xxx bdiifc32 dll bdi Configuration program Helpfile for the configuration program Help contents file Firmware for BDI2000 for COP targets PPC6xx 7xx 82xx JEDEC file for BDI2000 Rev B logic device programming JEDEC file for BDI2000 Rev C logic device programming BDI Interface DLL Configu
21. tures to the CodeWarrior debugger environment from Metrowerks With the BDI2000 you control and monitor the microcontroller solely through the stable on chip debugging services You won t waste time and target resources with a software ROM monitor and you eliminate the cabling problems typical of ICE s This combination runs even when the target system crashes and allows developers to continue investigating the cause of the crash A RS232 interface with a maximum of 115 kBaud and a 10Base T Ethernet interface is available for the host interface The configuration software is used to update the firmware and to configure the BDI2000 so it works with the CodeWarrior debugger 1 1 BDI2000 The BDI2000 is a processor system in a small box It implements the interface between the JTAG pins of the target CPU and a 10Base T Ethernet RS232 connector The firmware and the program mable logic of the BDI2000 can be updated by the user with a simple Windows based configuration program The BDI2000 supports 1 8 5 0 Volts target systems 3 0 5 0 Volts target systems with Rev B Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCexx Zxx 62xx User Manual 4 2 Installation 2 1 Connecting the BDI2000 to Target The cable to the target system is a 16 pin flat ribbon cable In case where the target system has an appropriate connector the cable can be directly connected The pin assi
22. ug interface for CodeWarrior Debugger BDIZ000 PPCEXX 7XX 8EXX User Manual 24 B Maintenance The BDI needs no special maintenance Clean the housing with a mild detergent only Solvents such as gasoline may damage it If the BDI is connected correctly and it is still not responding then the built in fuse might be damaged in cases where the device was used with wrong supply voltage or wrong polarity To exchange the fuse or to perform special initialization please proceed according to the following steps A ks Observe precautions for handling Electrostatic sensitive device Unplug the cables before opening the cover Use exact fuse replacement Microfuse MSF 1 6 AF 1 1 Unplug the cables Swiss Made BDl2ooo AG F 2 1 Remove the two plastic caps that cover the screws on target front side e g with a small knife 2 2 Remove the two screws that hold the front panel BDI OPTION BDI MAIN BDI TRGT MODE 3 1 While holding the casing remove the front panel and the red elastic sealing casing NS elastic sealing front panel Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCexx Zxx 62xx User Manual 25 4 1 While holding the casing slide carefully the print i
23. up Connect BDI2000 Loader Channel 7 Baudrate SN 93111120 C COMI C 9600 com2 C 19200 MAC 000C01931111 C com3 C 38400 C COM4 57600 m BDI2000 Firmware 7 Logic Current Newest Loader 1 05 Current Firmware ibm 1 17 Logic 1 02 1 02 ate m TCP IP Configuration IP Address 151 120 25 102 Subnet Mask 255 255 255 255 Default Gateway 255 255 255 255 Cancel Ok Transmit Writing setup data passed dialog box BDI 2000 Update Setup The following options allow you to check or update the BDI firmware and logic and to set the network parameters Channel Select the communication port where the BDI2000 is connected during this setup session Baudrate Select the baudrate used to communicate with the BDI2000 loader during this setup session Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCEXX 7XX EEXX User Manual 13 Connect Click on this button to establish a connection with the BDI2000 loader Once connected the BDI2000 remains in loader mode until it is restarted or this dialog box is closed Current Press this button to read back the current loaded BDI2000 software and logic versions The current loader firmware and logic version will be dis played Update This button is only active if there is a newer firmware or logic version present in the execution directory of the BDI setup software Press this butto
24. via JTAG the BDI loads some support code into the work space and uses it to access this memory range Therefore a workspace is necessary to access this memory range 8004 Defines the size of the L2 cache private memory in bytes e g 0x100000 for 1Mbyte Copyright 1999 2006 by ABATRON AG V 1 07 ldi JTAG debug interface for Code Warrior Debugger BDIZ000 PPC6XX 7xx 82xx User Manual 15 8006 8007 8008 8009 8010 Write to this special register with a value of 1 if the BDI should use the alternate single step mode The alternate mode does not use the trace bit MSR SE to implement single step ping It uses always a hardware breakpoint via IABR on the next instruction to implement single stepping Write to this special register with a value of 1 if the PPC core operates in 32 bit data bus mode If the BDI should generate data parity bits when writing to memory write to this special reg ister with a value of 1 This entry in the init list allows to define a delay time in ms the BDI inserts between releas ing the COP HRESET line and starting communicating with the target This init list entry may be necessary if COP HRESET is delayed on its way to the PowerPC reset pin If the BDI should forces the QACK pin pin 2 on the COP connector low write to this special register a value of 1 By default the QACK pin is not driven by the BDI This option maybe useful for PPC750 and PPC7400 targets The BDI ca
25. wing BDI states MODE LED BDI STATES The BDI is ready for use the firmware is already loaded The power supply for the BDI2000 is lt 4 75VDC The BDI loader mode is active an invalid firmware is loaded or loading firmware is active Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCexx Zxx 62xx User Manual 9 2 4 Connecting the BDI2000 to the Host 2 4 1 Serial line communication The host is connected to the BDI through the serial interface COM1 COM4 The communication cable between BDI and Host is a serial cable RXD TXD are crossed There is the same connector pinout for the BDI and for the Host side Refer to Figure below RS232 Connector Target System for PC host B MPC 8260 I 5 GROUND BDI2000 PC Host RS232 ag C 2 RXD data from host 3 TXD data to host Copyright 1999 2006 by ABATRON AG V 1 07 e A JTAG debug interface for CodeWarrior Debugger BDIZ000 PPCexx Zxx 62xx User Manual 10 2 4 2 Ethernet communication The BDI2000 has a built in 10 BASE T Ethernet interface see figure below Connect an UTP Un shilded Twisted Pair cable to the BD2000 For thin Ethernet coaxial networks you can connect a commercially available media converter BNC gt 10 BASE T between your network and the BDI2000 Contact your network administra

Download Pdf Manuals

image

Related Search

bdiCW_UserManual_PPC6xx7xx82xx74007410

Related Contents

KID NEURO PLC User's Manual  Manual del usuario Manual de uso    Caldeiras Murais  ダウンロード  SC2500 User Guide  manuel DO9847 Portable multifonctions - DeltaOhm  取扱説明書  baylift public use spare parts  Samsung ปริ้นเตอร์ เลเซอร์สี SL-C410W  

Copyright © All rights reserved.
Failed to retrieve file