background image

 

bdi

 

SCI

 

JTAG debug interface for SeeCode™ Debugger

 

PowerPC 7440/7450

 

User Manual

 

Manual Version 1.00 for BDI2000

 

© 1999-2003 ABATRON AG

Содержание 7440

Страница 1: ...bdiSCI JTAG debug interface for SeeCode Debugger PowerPC 7440 7450 User Manual Manual Version 1 00 for BDI2000 1999 2003 ABATRON AG ...

Страница 2: ...ation of the Configuration Software 11 2 6 Configuration 12 2 6 1 BDI2000 Setup Update 12 3 Init List 14 4 BDI working modes 16 4 1 Startup Mode 17 4 1 1 Startup mode RESET 17 4 1 2 Startup Mode STOP 17 4 1 3 Startup mode RUN 17 5 Working with SeeCode 18 5 1 Starting SeeCode 18 5 2 Properties 19 5 3 Direct Commands 20 5 3 1 Target Reset 20 5 3 2 Flash Setup 20 5 3 3 Flash Erase 21 5 3 4 Flash Load...

Страница 3: ...onfiguration software is used to update the firmware and to configure the BDI2000 so it works with the SeeCode 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 ...

Страница 4: ...ication In order to ensure reliable operation of the BDI EMC runtimes etc the target cable length must not exceed 20 cm 8 For BDI TARGET B connector signals see table on next page COP JTAG 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 PPC 1 15 16 2 The green LED TRGT marked light up ...

Страница 5: ...wer 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 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 7 TCK JTAG...

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

Страница 7: ...the BDI2000 keep the power supply cable as short as possible 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 Please switch on the system in the following sequence 1 external power supply 2 target system BDI TRGT MODE TARGET A TARGET B POW...

Страница 8: ...2 3 Status LED MODE The built 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 active an invalid firmware is loaded or loading firmware is active BDI TRGT MODE TARGET A TARGET B ...

Страница 9: ...on 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 for 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 PC Host 1 NC 2 RXD data from host 3 TXD data to host 4 ...

Страница 10: ...network The following explains 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 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...

Страница 11: ...or the configuration program b20pws cnt Help contents file b20pwsfw xxx Firmware for BDI2000 for COP targets PPC7450 copjed20 xxx JEDEC file for BDI2000 Rev B logic device programming copjed21 xxx JEDEC file for BDI2000 Rev C logic device programming bdiifc32 dll BDI Interface DLL for the configuration program ppcbdi dll BDI Target Interface DLL for SeeCode debugger bdi Configuration Examples Exam...

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

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

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

Страница 15: ...dress of the L3 cache private memory Because L3 cache private mem ory cannot be accessed directly 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 L3 cache private memory in bytes e g 0x100000 for 1Mbyte 8006 Write to this special register a value of 1 if ...

Страница 16: ...stall there some code that supports faster pro gram download A value of 0xFFFFFFFF 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 m...

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

Страница 18: ...le COM1 the BDI is serial connected to the COM1 connector 151 120 25 102 the IP address of the BDI BDI2000 the name for the BDI in the hosts file baud If the BDI is serial connected this second parameter defines the used baudrate e g 115200 If the BDI2000 is connected via ethernet do not enter any value as second parameter Some examples scppc DLL ppcbdi io COM1 57600 a out scppc DLL ppcbdi io 191 ...

Страница 19: ...ter program download By default postload cmd in the default directory is used BDI_LOG name If this property is used all calls to the BDI interface are recorded in a file The recorded calls are not useful for SeeCode user but may be used by Abatron to solve interface problems between the SeeCode debugger and the BDI BDI_BREAK soft hard This selects how instruction breakpoints are implemented This p...

Страница 20: ...order to support loading into flash memory the BDI needs some information about the used flash devices Before any other flash related command can be used this direct command must be execut ed Syntax flash setup type am29f size 0x80000 bus 32 workspace 0x1000 type This parameter defines the type of flash used It is used to select the correct program ming algorithm The following flash types are supp...

Страница 21: ...mode The following modes are supported CHIP BLOCK and SECTOR default is sector erase 5 3 4 Flash Load This command enables loading to flash memory If the address of a data block is within the given flash range the BDI automatically uses the appropriate programming algorithm This command must be executed before downloading is started Syntax flash load addr 0x02800000 size 0x200000 addr The start ad...

Страница 22: ...xample used to download into the flash memory PRELOAD CMD Reset target target reset Define used flash memory AM29F040 flash setup type am29f size 0x80000 bus 32 Erase sector 0 and 1 of flash memory bank flash erase addr 0x02800000 flash erase addr 0x02840000 Enable loading into flash flash load addr 0x02800000 size 0x200000 POSTLOAD CMD flash idle Note Some Intel flash chips e g 28F800C3 28F160C3 ...

Страница 23: ...D and AT49 algorithm support chip erase Block erase is only supported with the AT49 algorithm If the algorithm does not support the selected mode sector erase is performed If the chip does not support the selected mode erasing will fail The erase command sequence is different only in the 6th write cycle Depending on the selected mode the following data is written in this cycle see also flash data ...

Страница 24: ...s a checksum over a memory range MV verifies the last calculated checksum RD display general purpose registers RDSPR number display special purpose register RDSR number display segment register RDVR number display vector register RM number value modify general purpose RMSPR number value modify special purpose register RMSR number value modify segment register RMVR nbr val val val val modify vector...

Страница 25: ...tes 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 0 V 3 0 5 0 V with Rev B Operating Temperature 5 C 60 C Storage Temperature 20 C 65 C Relative Humidity noncondensing 90 rF Size 190 x 110 x 35 mm Weight without cables 420 g Host Cable length RS232 2 ...

Страница 26: ... for SeeCode Debugger BDI2000 PPC744x 745x User Manual 26 Copyright 1999 2003 by ABATRON AG V 1 00 8 Environmental notice Disposal of the equipment must be carried out at a designated disposal site 9 Declaration of Conformity CE ...

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

Страница 28: ...rong 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 enter an appropriate target initialization list An incorrect IP address was entered BDI2000 configuration BDM JTAG signals from the target system are...

Страница 29: ...ialization 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 6 AF 1 2 3 BDI 2000 A A A A b b b b a a a a t t t t r r r r o o o o n n n n A A A A G G G G S S S S w w w w i i i i s s s s s s s s M M M M a a a a d d d d e e e e 1 1 Unplug the cables BDI T...

Страница 30: ... the LEDs align with the holes in the front panel elastic sealing Reinstallation 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 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 position of the sealing is as shown in the...

Страница 31: ...bdiSCIJTAG debug interface for SeeCode Debugger BDI2000 PPC744x 745x User Manual 31 Copyright 1999 2003 by ABATRON AG V 1 00 C Trademarks All trademarks are property of their respective holders ...

Отзывы: