background image

34

2.5  TRAP #15 Functions

An additional utility within the dBUG firmware is a function called the TRAP 15 handler.  This function
can be called by the user program to utilize various routines within the dBUG, to perform a special task,
and to return control to the dBUG.  This section describes the TRAP 15 handler and how it is used.

There are four TRAP #15 functions.  These are: OUT_CHAR, IN_CHAR, CHAR_PRESENT, and
EXIT_TO_dBUG.

2.5.1  OUT_CHAR

This function ( function code 0x0013) sends a character, which is in lower 8 bits of D1, to terminal.

Assembly example:

/*  assume d1 contains the character */
 move.l

#$0013,d0

Selects the function

TRAP

#15

The character in d1 is sent to terminal

C  example:

void board_out_char (int ch)
{

/* If your C compiler produces a LINK/UNLK pair for this routine,
 * then use the following code which takes this into account
*/

#if  l

/* LINK a6,#0 -- produced by C compiler */
asm (“ move.l

8(a6),d1”);

/* put ‘ch’ into d1 */

asm (“ move.l

#0x0013,d0”);  /* select the function */

asm (“ trap

#15”);

/* make the call */

/* UNLK a6  -- produced by C compiler */

#else

/*  If C compiler does not produce a LINK/UNLK pair, the use
 *  the following code.
*/
 asm (“ move.l 4(sp),d1”);

/* put ‘ch’ into d1 */

asm (“ move.l

#0x0013,d0”);  /* select the function */

asm (“ trap

#15”);

/* make the call */

#endif
}

2.5.2 IN_CHAR

This function (function code 0x0010) returns an input character (from terminal) to the caller .  The
returned character is in D1.

Assembly example:

move.l #$0010,d0

Select the function

trap

#15

Make the call, the input character is in d1.

Summary of Contents for SBC5204

Page 1: ...SBC5204 USER S MANUAL REVISION 1 1 Copyright 1996 1997 Arnewsh Inc Arnewsh Inc P O Box 270352 Fort Collins CO 80527 0352 Phone 970 223 1616 Fax 970 223 9573 ...

Page 2: ...ard could directly or indirectly threaten life result in personal injury or cause damage to property Although every effort has been made to make the supplied software and its documentation as accurate and functional as possible Arnewsh Inc will not assume responsibility for any damages incurred or generated by this product Arnewsh does not assume any liability arising out of the application or use...

Page 3: ...Arnewsh at address below Dated proof of purchase such as a copy of the invoice must be enclosed with the shipment We will return the shipment prepaid via UPS This warranty does not apply if in the opinion of Arnewsh Inc the product has been damaged by accident misuse neglect misapplication or as a result of service or modification other than specified in the manual by others Please send the board ...

Page 4: ... JUMPER SETUP 1 9 1 12 USING THE BDM 1 10 CHAPTER 2 USING THE MONITOR DEBUG FIRMWARE 2 1 2 1 WHAT IS dBUG 2 1 2 2 OPERATIONAL PROCEDURE 2 3 2 2 1 System Power up 2 3 2 2 2 System Initialization 2 3 2 2 2 1 RESET Button 2 4 2 2 2 2 ABORT Button 2 4 2 2 2 3 Software Reset Command 2 4 2 2 2 4 User Program 2 4 2 2 3 System Operation 2 4 2 3 TERMINAL CONTROL CHARACTERS 2 5 2 4 dBUG COMMAND SET 2 5 2 4 ...

Page 5: ...1 3 The Clock Circuitry 3 2 3 1 4 Watchdog Timer BUS MONITOR 3 2 3 1 5 Interrupt Sources 3 2 3 1 6 Internal SRAM 3 3 3 1 7 The MCF5204 Registers and Memory Map 3 3 3 1 8 Reset Vector Mapping 3 4 3 1 9 DTACK Generation 3 4 3 1 10 Wait State Generator 3 5 3 2 THE EXTERNAL SRAM 3 5 3 3 THE EPROM FLASH ROM 3 5 3 4 THE UART LOGIC 3 7 3 4 1 MC68HC901 3 7 3 5 THE PARALLEL I O PORT 3 7 3 6 THE ISA BUS LOG...

Page 6: ...vii A 1 1 Required Network Parameters A 1 A 1 2 Configuring dBUG Network Parameters A 2 A 1 3 Troubleshooting Network Problems A 2 ...

Page 7: ...erface ISA bus RS232 and all the built in I O functions of the MCF5204 for learning and evaluating the attributes of the MCF5204 The MCF5204 is a member of the ColdFire family of processors It is a 32 bit processor with 32 bits of addressing and 32 lines of data The processor has eight 32 bit data registers 8 32 bit address registers a 32 bit program counter and a 16 bit status register The MCF520...

Page 8: ...2 XCEIVERS MC68HC901 Flash ROM EPROM SRAM Data and Address Xceivers LSI2032 MCF5204 ISA BUS RS232 Figure 1 1 P1 U13 U14 U8 U11 U12 U7 I O PORTS ADDRESS BUS DATA BUS CONTROL BUS ...

Page 9: ...through external Driver Receiver to make this channel compatible with RS 232C level Note only 2 main signals are available RXD and TXD signals This channel is the TERMINAL channel used by the debugger for communication with external terminal PC 1 5 PARALLEL I O PORTS Some of the multifunction pins of the MCF5204 can be used as Port A general purpose I O pins These pins are available to user except...

Page 10: ...D WILL DAMAGE THESE DEVICES Once you verified that all the items are present remove the board from its protective jacket Check the board for any visible damage Ensure that there are no broken damaged or missing parts If you have not received all the items listed above or they are damaged please contact Arnewsh Inc immediately in order to correct the problem 1 9 2 Preparing the Board for Use The bo...

Page 11: ...onnected to a terminal Use the communication cable provided to connect the terminal to the SBC5204 The cable has a 9 pin female D sub connector at one end and a 9 pin male D sub connector at the other end Attach the 9 pin male connector to J1 connector on the board Attach the 9 pin female connector to a 9 pin to 25 pin adapter if necessary to make it compatible with the connector on the back of th...

Page 12: ...6 ISA BUS SBC5204 5 GND Power Supply MICROPROCESSOR EXPANSION BUS BACKGROUND DEBUG P1 J1 J6 J7 J8 J9 RS232 TERMINAL or PC dBUG Figure 1 2 System Configuration J3 J4 ...

Page 13: ...rmat Make sure you select 8 bits no parity one stop bit see Section 1 9 5 Then select the baud rate as 19200 Now you are ready to apply power to the board 1 Data Carrier Detect Output shorted to pins 6 and 8 2 Receive Data Output from board receive refers to terminal side 3 Transmit Data Input to board transmit refers to terminal side 4 Data Terminal Ready input not used 5 Signal Ground 6 Data Set...

Page 14: ...8 P1 J1 J1 J6 J7 J8 J9 JP3 JP2 JP1 J4 J3 J2 JP4 Figure 1 3 Jumper and connector placement ...

Page 15: ...do not get the above response perform the following checks 1 Make sure that the power supply is properly set and connected to the board 2 Check that the terminal and board are set for the same character format and baud 3 Press the red RESET red switch button to insure that the board has been initialized properly If you still are not receiving the proper response your board may have been damaged in...

Page 16: ...selects the size of EPROM or Flash Jumper Pin Function 7 to 9 and 8 to 10 Selects 128Kx8 EPROM Flash 1 12 USING THE BDM The MCF5204 has a built in debug mechanism referred to as BDM The SBC5204 has the necessary connector J7 to facilitate this connection In order to use the BDM simply connect the 26 pin IDC header at the end of the BDM cable provided by the BDM development tool third party tool to...

Page 17: ...oes each character as it is typed eliminating the need for any local echo on the terminal side In general dBUG is not case sensitive Commands may be entered either in upper or lower case depending upon the user s equipment and preference Only symbol names require that the exact case be used Most commands can be recognized by using an abbreviated name For instance entering h is the same as entering...

Page 18: ...2 Figure 2 1 Flow Diagram of dBUG Operational Mode ...

Page 19: ... 2 1 System Power up a Be sure the power supply is connected properly prior to power up b Make sure the terminal is connected to TERMINAL J1 connector c Turn power on to the board 2 2 2 System Initialization The act of powering up the board will initialize the system The processor is reset and dBUG is invoked dBUG performs the following configurations of internal resources during the initializatio...

Page 20: ...pt of the present processing a level 7 interrupt on MCF5204 and gives control to the dBUG firmware This action differs from RESET in that no processor register or memory contents are changed the processor and peripherals are not reset and dBUG is not restarted Also in response to depressing the ABORT button the contents of the MCF5204 core internal registers are displayed The abort function is mos...

Page 21: ...he dBUG monitor 2 3 TERMINAL CONTROL CHARACTERS The command line editor remembers the last five commands in a history buffer which were issued They can be recalled and then executed using control keys Several keys are used as a command line edit and control functions It is best to be familiar with these functions before exercising the system These functions include a RETURN carriage return will en...

Page 22: ...DDR 2 16 HELP HELP HELP COMMAND 2 17 IRD INTERNAL REGISTER DISPLAY IRD MODULE REGISTER 2 18 IRM INTERNAL REGISTER MODIFY IRM MODULE REGISTER DATA 2 19 MD MEMORY DISPLAY MD WIDTH BEGIN END 2 20 MM MEMORY MODIFY MM WIDTH ADDR DATA 2 21 RD REGISTER DISPLAY RD REG 2 22 RM REGISTER MODIFY RM REG DATA 2 23 RESET RESET RESET 2 24 SET SET CONFIGURATIONS SET OPTION VALUE 2 25 SHOW SHOW CONFIGURATIONS SHOW ...

Page 23: ...normally hexadecimal This command first aligns the starting address for the data access size and then increments the address accordingly during the operation Thus for the duration of the operation this command performs properly aligned memory accesses Examples To fill a memory block starting at 0x00010000 and ending at 0x00040000 with the value 0x1234 the command is bf 10000 40000 1234 To fill a b...

Page 24: ...nd dest may be an absolute address specified as a hexadecimal value or a symbol name If the destination address overlaps the block defined by begin and end an error message is produced and the command exits Examples To copy a block of memory starting at 0x00040000 and ending at 0x00080000 to the location 0x00200000 the command is bm 40000 80000 200000 To copy the target code s data section defined...

Page 25: ...he breakpoint Each time a breakpoint is encountered during the execution of target code the count value is compared against the trigger value If the count value is equal to or greater than the trigger value a breakpoint is encountered and control returned to dBUG By default the initial trigger value for a breakpoint is one but the t option allows setting the initial trigger for the breakpoint If n...

Page 26: ...roperly aligned memory accesses Examples To search for the 16 bit value 0x1234 in the memory block starting at 0x00040000 and ending at 0x00080000 the command is bs 40000 80000 1234 This reads the 16 bit word located at 0x00040000 and compares it against the 16 bit value 0x1234 If no match is found then the address is incremented to 0x00040002 and the next 16 bit value is read and compared To sear...

Page 27: ...solute value If an absolute value passed into the DATA command is prefixed by 0x then data is interpreted as a hexadecimal value Otherwise data is interpreted as a decimal value All values are treated as 32 bit quantities Examples To display the decimal equivalent of 0x1234 the command is data 0x1234 To display the hexadecimal equivalent of 1234 the command is data 1234 ...

Page 28: ...l table to produce a more meaningful disassembly This is especially useful for branch target addresses and subroutine calls The DI command attempts to track the address of the last disassembled opcode If no address is provided to the DI command then the DI command uses the address of the last opcode that was disassembled Examples To disassemble code that starts at 0x00040000 the command is di 4000...

Page 29: ... The DL command checks the destination address for validity If the destination is an address below the defined user space 0x00000000 0x00010000 then an error message is displayed and downloading aborted If the S record file contains the entry point address then the program counter is set to reflect this address Examples To download an S record file through the serial port the command is dl To down...

Page 30: ...ted using the set and show commands The DN command checks the destination address for validity If the destination is an address below the defined user space then an error message is displayed and downloading aborted For ELF and COFF files which contain symbolic debug information the symbol tables are extracted from the file during download and used by dBUG Only global symbols are kept in dBUG The ...

Page 31: ...en the GO command is executed all user defined breakpoints are inserted into the target code and the context is switched to the target program Control is only regained when the target code encounters a breakpoint illegal instruction or other exception which causes control to be handed back to dBUG Examples To execute code at the current program counter the command is go To execute code at the C fu...

Page 32: ...e GT command executes the target code starting at address in PC whatever the PC has until a temporary breakpoint as given in the command line is reached Example To execute code at the current program counter and stop at breakpoint address 0x10000 the command is GT 10000 ...

Page 33: ... If command is provided then a brief listing of the syntax of the specified command is displayed Examples To obtain a listing of all the commands available within dBUG the command is help The help list is longer than one page The help command displays one screen full and ask for an input to display the rest of the list To obtain help on the breakpoint command the command is help br ...

Page 34: ...command line the module refers to the module name where the register is located and the register refers to the specific register needed The registers are organized according to the module to which they belong The available modules on the MCF5204 are SIM UART and TIMER Refer to MCF5204 User s Manual Example ird sim sypcr display the SYPCR register in the SIM module ...

Page 35: ...le refers to the module name where the register is located register refers to the specific register needed and data is the new value to be written into that register The registers are organized according to the module to which they belong The available modules on the MCF5204 are SIM UART and TIMER Refer to MCF5204 User s Manual Example irm timer tmr1 0021 write 0021 into TMR1 register in the TIMER...

Page 36: ...g address This command first aligns the starting address for the data access size and then increments the address accordingly during the operation Thus for the duration of the operation this command performs properly aligned memory accesses Examples To display memory at address 0x00400000 the command is md 400000 To display memory in the data section defined by the symbols data_start and data_end ...

Page 37: ...ue for data is provided then the MM command enters into a loop The loop obtains a value for data sets the contents of the current address to data increments the address according to the data size and repeats The loop terminates when an invalid entry for the data value is entered i e a period This command first aligns the starting address for the data access size and then increments the address acc...

Page 38: ...alue for data is provided then the MM command enters into a loop The loop obtains a value for data sets the contents of the current address to data increments the address according to the data size and repeats The loop terminates when an invalid entry for the data value is entered i e a period This command first aligns the starting address for the data access size and then increments the address a...

Page 39: ...ymbol name or it is converted according to the user defined radix normally hexadecimal dBUG preserves the registers by storing a copy of the register set in a buffer The RM command updates the copy of the register in the buffer The actual value will not be written to the register until target code is executed Examples To change register D0 to contain the value 0x1234 the command is rm D0 1234 ...

Page 40: ...The RESET command executes the same sequence of code that occurs at power on This code attempts to initialize the devices on the board and dBUG data structures If the RESET command fails to reset the board to your satisfaction cycle power or press the reset button Examples To reset the board and clear the dBUG data structures the command is reset ...

Page 41: ...he same subnetwork then this option must be properly set Your local network administrator will have this information netmask This is the network address mask to determine if use of a gateway is required This field must be properly set Your local network administrator will have this information filename This is the default filename to be used for network download if no name is provided to the DN co...

Page 42: ...19200 Now press the RESET button RED or RESET command for the new baud to take effect This baud will be programmed in Flash ROM and will be used during the power up In order to use the KNE2000TLC ethernet ISA card in the system the debugger need to know its IRQ and its base address The Kingston Technology Corporation ethernet card KNE2000TLC has a default base address of 300 and uses IRQ3 To set u...

Page 43: ...options configurable via the SET command can be displayed with the SHOW command If the SHOW command is issued without any option it will show all options Examples To display all the current options the command is show To display the current baud rate of the board the command is show baud To display the TFTP server IP address the command is show server ...

Page 44: ...e current program counter and then executes the target code The ST command can be used for BSR and JSR instructions The ST command will work for other instructions as well but note that if the ST command is used with an instruction that will not return i e BRA then the temporary breakpoint may never be encountered and thus dBUG may not regain control Examples To pass over a subroutine call the com...

Page 45: ...ears the entire symbol table the l option lists the contents of the symbol table and the s option displays usage information for the symbol table Symbol names contained in the symbol table are truncated to 31 characters Any symbol table lookups either by the SYMBOL command or by the disassembler will only use the first 31 characters Symbol names are case sensitive Examples To define the symbol mai...

Page 46: ... value for num is a decimal number The TRACE command sets bits in the processors supervisor registers to achieve single instruction execution and the target code executed Control returns to dBUG after a single instruction execution of the target code Examples To trace one instruction at the program counter the command is tr To trace 20 instructions from the program counter the command is tr 20 ...

Page 47: ...en updates to the MCF5204 EVS dBUG are available the updated image is downloaded to address 0x00010000 The new image is placed into Flash using the UPDBUG command The user is prompted for verification before performing the operation Use this command with extreme caution as any error can render dBUG and thus the board useless ...

Page 48: ...and data into space allocated for the user in Flash the last 128K of Flash ROM To place code and data in user Flash the image is downloaded to address 0x00010000 and the UPUSER command issued This commands programs the entire upper 128K of Flash Users access this space starting at address 0xFFE20000 ...

Page 49: ... given The version number is separated by a decimal for example v1 1 The first number indicates the version of the CPU specific code and the second number indicates the version of the board specific code The version date is the day and time at which the entire dBUG monitor was compiled and built Examples To display the version of the dBUG monitor the command is version ...

Page 50: ...unction TRAP 15 The character in d1 is sent to terminal C example void board_out_char int ch If your C compiler produces a LINK UNLK pair for this routine then use the following code which takes this into account if l LINK a6 0 produced by C compiler asm move l 8 a6 d1 put ch into d1 asm move l 0x0013 d0 select the function asm trap 15 make the call UNLK a6 produced by C compiler else If C compile...

Page 51: ...embly example move l 0014 d0 Select the function trap 15 Make the call d0 contains the response yes no C example int board_char_present void asm move l 0x0014 d0 select the function asm trap 15 make the call 2 5 4 EXIT_TO_dBUG This function function code 0x0000 transfers the control back to the dBUG by terminating the user code The register context are preserved Assembly example move l 0000 d0 Sel...

Page 52: ...le at J8 and J9 for off the board expansion Refer to section 3 7 for pin assignment The MCF5204 has an IEEE JTAG compatible port and BDM port These signals are available at J7 and J9 The processor also has the logic to generate six 6 chip selects CS0 to CS5 3 1 2 The Reset Logic The reset logic provides system initialization under two modes Under system power up and when the RESET switch S2 red sw...

Page 53: ...will terminate the bus cycle and an access fault exception trap will take place The duration of the Watchdog is selected by BMT0 1 bits in System Protection Register The dBUG initializes this register with the value 00 which provides for 1024 system clock time out 3 1 5 Interrupt Sources The ColdFire family of processors can receive interrupts for seven levels of interrupt priorities When the proc...

Page 54: ...ternal SRAM The MCF5204 has 512 bytes of internal memory This memory is mapped to 02000000 and is not used by the dBUG It is available to the user 3 1 7 The MCF5204 Registers and Memory Map The memory and I O resources of the SBC5204 are divided into three groups MCF5204 Internal External resources and the ISA Bus address All the I O registers are memory mapped The MCF5204 has built in logic and s...

Page 55: ...ected to Flash ROM s the Flash ROM s appear to be at address 00000000 which provides the initial stack pointer and program counter the first 8 bytes of the EPROM The initialization routine however programs the chip select logic and locates the Flash ROM to start at FFE00000 and the SRAM s to start at 00000000 3 1 9 DTACK Generation The processor starts a bus cycle by providing the necessary inform...

Page 56: ...F The jumper JP2 pins 4 and 6 should be connected The debugger programs the chip select to generate one wait state for the SRAM 1 2 3 4 5 6 JP2 3 3 THE EPROM FLASH ROM There are two sockets for EPROM s Flash ROM s on the SBC5204 U13 high even byte and U14 low odd byte These sockets support 32K 64K 128K 256K 512K and 1M byte EPROM s such as 27C256 27C512 27C010 27C020 27C040 and 27C080 chips for a ...

Page 57: ...256K EPROM 5 to 7 and 6 to 8 27C512 512K EPROM 7 to 9 and 6 to 8 27C010 1M EPROM 3 to 5 and 7 to 9 4 to 6 and 8 to 10 27C020 2M EPROM 3 to 5 and 7 t 9 4 to 6 and 8 to 10 27C040 4M EPROM 3 to 5 and 7 to 9 2 to 4 and 8 to 10 27C080 8M EPROM 1 to 3 and 7 to 9 2 to 4 and 8 to 10 JP4 Configuration for FLASH ROM MEMORY SIZE JUMPER SETUP 29F010 1M Flash and 29F040 4M Flash 7 to 9 and 8 to 10 Note Only co...

Page 58: ...2 is used to access the MC68HC901 internal registers it is mapped to 03000000 The CS3 is programmed to generate an Interrupt Acknowledge signal to drive the IACK of the MC68HC901 Refer to MC68HC901 User s Manual for functional description and the programming model 3 5 THE PARALLEL I O Port The MCF5204 has one 8 bit parallel port All the pins have dual functions They can be configured as I O or the...

Page 59: ...ware The available signals are a working subset of the RS 232C standard Table 3 2 shows the pin assignment TABLE 3 2 The J1 TERMINAL Connector pin assignment PIN NO DIRECTION SIGNAL NAME 1 Output Data Carrier Detect shorted to 4 6 2 Output Receive data 3 Input Transmit data 4 Input Data Terminal Ready shorted to 1 6 5 Signal Ground 6 Output Data Set Ready shorted to 1 4 7 Input Request to Send sho...

Page 60: ...nal block On J3 the center pin pin 1 is the plus supply and the body pin 3 is the ground On J4 the Red handle pin 1 is the plus supply and the black handle pin 2 is the ground Tables 3 4 and 3 5 show the Pin assignment for J3 and J4 TABLE 3 4 The J3 Connector pin assignment PIN NUMBER SIGNAL NAME 1 center pin Plus Supply 2 body Ground TABLE 3 5 The J4 Connector pin assignment PIN NUMBER SIGNAL NAM...

Page 61: ...5204 does have background Debug Port Real Time Trace Support and Real Time Debug Support The necessary signals are available at connector J7 Table 3 9 shows the pin assignment 3 7 7 The Processor Expansion Bus J8 and J9 All the processors signals are available on two burg headers J8 and J9 for future expansion Although these signals are not buffered they can drive at least one TTL load with some h...

Page 62: ... No Connect 2 BKPT 3 Ground 4 DSCLK 5 Ground 6 No Connect 7 RESET 8 DSI 9 5 Volts 10 DSO 11 Ground 12 MTMOD2 PST3 13 MTMOD1 PST2 14 MTMOD0 PST1 15 HIZ PST0 16 DDAT3 17 DDAT2 18 DDAT1 19 DDAT0 20 Ground 21 MTMOD3 22 No Connect 23 Ground 24 CLK 25 5 Volts 26 No Connect ...

Page 63: ...3 8 D3 9 A4 10 D4 11 A5 12 D5 13 A6 14 D6 15 A7 16 D7 17 A8 18 D8 19 A9 20 D9 21 A10 22 D10 23 A11 24 D11 25 A12 26 D12 27 A13 28 D13 29 A14 30 D14 31 A15 32 D15 33 A16 34 5 Volts 35 A17 36 Ground 37 A18 38 CS2 39 A19 40 CS3 41 A20 42 CS4 43 A21 44 CS5 45 5 Volts 46 RE 47 UDS 48 WE 49 Ground 50 LDS ...

Page 64: ... 18 IRQ0 19 DDATA2 20 IRQ1 21 DDATA3 22 IRQ2 23 5 Volts 24 IRQ3 25 Ground 26 Ground 27 MTMOD0 PST1 28 CS0 29 MTMOD1 PST2 30 HIZ PST0 31 MTMOD2 PST3 32 BUSW 33 MTMOD3 34 DTACK 35 RESET 36 5 Volts 37 Ground 38 CS1 39 CLK 40 No Connect 3 7 8 The ISA Bus Connector P1 The SBC5204 can utilize the ISA Bus 16 bit I O cards The P1 connector is ISA Bus compatible connector Table 3 12 shows the pin assignmen...

Page 65: ...DACK1 34 SA14 35 DRQ1 36 SA13 37 REFSH 38 SA12 39 SYSCLK 40 SA11 41 IRQ7 42 SA10 43 IRQ6 44 SA9 45 IRQ5 46 SA8 47 IRQ4 48 SA7 49 IRQ3 50 SA6 51 DACK2 52 SA5 53 TC 54 SA4 55 BALE 56 SA3 57 5V 58 SA2 59 OSC 60 SA1 61 GND 62 SA0 63 MEMCS16 64 SBHE 65 IOCS16 66 LA23 67 IRQ10 68 LA22 69 IRQ11 70 LA21 71 IRQ12 72 LA20 73 IRQ15 74 LA19 75 IRQ14 76 LA18 77 DACK0 78 LA17 79 DRQ0 80 MEMB 81 DACK5 82 MEMW 83...

Page 66: ...able 3 13 shows what these jumpers are for and the section where more information can be found TABLE 3 13 The SBC5204 Jumpers Jumper No Function section JP1 Power Supply Selection section 3 7 3 JP2 RAM and EPROM size selection section 3 2 and 3 3 JP3 Flash EPROM selection section 3 3 JP4 Flash EPROM size selection section 3 3 ...

Page 67: ...ad command requires the following three parameters IP address of the TFTP server server IP Name of the file to download filename Type of the file to download filetype of S record COFF Elf or Image Your local system administrator can assign a unique IP address for the board and also provide you the IP addresses of the gateway netmask and TFTP server Fill out the lines below with this information Cl...

Page 68: ...the above example the compiler produces an executable COFF file a out This file is copied to the tftp_boot directory on the server with the command rcp a out santafe tftp_boot a out Change the default filename and filetype with the commands set filename a out set filetype coff Finally perform the network download with the dn command The network download process uses the configured IP addresses and...

Page 69: ... or similar ICMP message appears then a serious error has occurred Reset the board and wait one minute for the TFTP server to time out and terminate any open connections Verify that the IP addresses for the server and gateway are correct ...

Page 70: ...04 A0 99 A1 100 A2 1 A3 4 A4 5 A5 6 A6 7 A7 8 A8 11 A9 12 A10 13 A11 14 A12 15 A13 18 A14 19 A15 20 A16 21 A17 22 A18 25 A19 26 PP0 A20 27 PP1 A21 28 D0 75 D1 72 D2 71 D3 70 D4 69 D5 68 D6 65 D7 64 D8 63 D9 62 D10 61 D11 58 D12 57 D13 56 D14 55 D15 54 CS0 34 CS1 35 CS2 36 CS3 90 CS4 91 CS5 92 VSS 3 VSS 10 VSS 17 VSS 24 VSS 31 VSS 46 VSS 52 VSS 59 VSS 66 VSS 73 VSS 80 VSS 95 VDD 2 VDD 9 VDD 16 VDD ...

Page 71: ...A20 A16 A18 A19 A19 A17 A18 U14 27C080 A0 12 A1 11 A2 10 A3 9 A4 8 A5 7 A6 6 A7 5 A8 27 A9 26 A10 23 A11 25 A12 4 A13 28 A14 29 A15 3 A16 2 CE 22 OE 24 A19 A18 1 A18 WE 31 O0 13 O1 14 O2 15 O3 17 O4 18 O5 19 O6 20 O7 21 A17 30 VCC 32 GND 16 U12 HM628512 A0 12 A1 11 A2 10 A3 9 A4 8 A5 7 A6 6 A7 5 A8 27 A9 26 A10 23 A11 25 A12 4 A13 28 A14 3 A15 31 A16 2 W 29 A17 E 30 E 22 OE 24 GND 16 VCC 32 D0 13 ...

Page 72: ...0 72 LA19 74 LA18 76 LA17 78 MEMB 80 MEMW 82 SD8 84 SD9 86 SD10 88 SD11 90 SD12 92 SD13 94 SD14 96 SD15 98 U5 74FCT16245 1B1 2 1B2 3 1B3 5 1B4 6 1B5 8 1B6 9 1B7 11 1B8 12 2B1 13 2B2 14 2B3 16 2B4 17 2B5 19 2B6 20 2B7 22 2B8 23 1DIR 1 1OE 48 2OE 25 2DIR 24 GND 4 GND 10 GND 15 GND 21 GND 28 GND 34 GND 39 GND 45 1A1 47 1A2 46 1A3 44 1A4 43 1A5 41 1A6 40 1A7 38 1A8 37 2A1 36 2A2 35 2A3 33 2A4 32 2A5 3...

Page 73: ... A10 D10 A11 D11 A12 D12 A13 D13 A14 D14 A15 D15 A16 A17 A18 A19 A20 A21 J7 1 3 5 7 9 11 13 15 17 19 21 23 25 2 4 6 8 10 12 14 16 18 20 22 24 26 J8 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 35 37 39 40 38 36 41 43 45 47 49 50 48 46 44 42 J9 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 35 37 39 40 38 ...

Reviews: