Page 1
(217) 352-9330 | Click HERE Find the Arnewsh SBC5206 at our website:...
Page 2
SBC5206 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 3
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 of any product or circuit described herein, neither does it convey any license under its patent rights, if any, or the rights of others.
Page 4
(properly packed and shipped prepaid) to 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.
TABLE OF CONTENTS Page CHAPTER 1 INTRODUCTION TO THE SBC5206 BOARD ....1-1 INTRODUCTION ......... 1-1 GENERAL HARDWARE DESCRIPTION ......1-1 SYSTEM MEMORY ........1-3 SERIAL COMMUNICATION CHANNELS ......1-3 PARALLEL I/O PORTS ........1-3 PROGRAMMABLE TIMER/COUNTER ......1-3 ISA BUS CONNECTOR........1-3 SYSTEM CONFIGURATION .........
Page 6
The Processor Expansion Bus J7, J9, and J10 ..3-10 3.7.6 The Debug Connector J8 ......3-10 3.7.8 The ISA Bus Connector P1 ......3-10 THE SBC5206 JUMPERS ........3-16 APPENDIX A NETWORK DOWNLOAD ......... A-1 Configuring dBUG for Network Downloads ....A-1 A.1.1 Required Network Parameters ......
(refer to MCF5206 User's Manual by Motorola for detail information about the SIM.) The SBC5206 only uses four of the chip selects to access the Flash ROM’s, MC68HC901, ISA bus interface, and the IACK for MC68HC901.
Page 8
RS232 M CF5206 XCEIVERS M C68HC901 LSI2032 Flash ROM / EPROM Data and U10,U13 Address Xce ivers DRAM SIM M I/O PORTS ADDRES S BUS CONTROL BUS DATA BUS Fig ure 1.1...
MC68HC901 which are available to user. 1.7 ISA BUS CONNECTOR The SBC5206 has one ISA bus connector to allow the use of off-the-shelf ISA I/O cards. The main reason for this connector is to install an Ethernet card to support down-load via network.
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.
PROCOMM, KERMIT, QMODEM, or similar packages. Use the communication cable provided to connect the PC to the SBC5206. 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. Connect the 9-pin male connector to J5 connector on SBC5206.
Page 12
ISA BUS dBUG> SBC5206 RS232 TERM INAL or PC +5, GND Power Supply BACKGROUND DEBUG M ICROPROCESSOR EXPANSION BUS Figure 1.2. System Configuration...
Page 13
Once the connection to the PC is made, you are ready to power-up the PC and run the terminal emulation software. When you are in the terminal mode, you need to select the baud rate and the character format for the channel. Most terminal emulation software packages provide a command known as "Alt-p" (press the p key while pressing the Alt key) to choose the baud rate and character format.
Page 14
Figure 1.3. Jumper and connector placement.
If you still are not receiving the proper response, your board may have been damaged in shipping. Contact Arnewsh for further instructions. 1.11 SBC5206 JUMPER SETUP The jumpers on the board are discussed in Chapter 3. However, a brief discussion of the jumper settings are as follows: 1.
8 to 10 1.12 USING THE BDM The MCF5206 has a built in debug mechanism referred to as BDM. The SBC5206 has the necessary connector, J8, 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 the J8 connector.
CHAPTER 2 USING THE MONITOR/DEBUG FIRMWARE The SBC5206 Computer Board has a resident firmware package that provides a self-contained programming and operating environment. The firmware, named dBUG, provides the user with monitor/debug, disassembly, program download, and I/O control functions. This Chapter is a how-to-use description of the dBUG package, including the user interface and command structure.
Page 18
Figure 2-1. Flow Diagram of Operational Mode. dBUG...
During command execution, additional user input may be required depending on the command function. For commands that accept an optional <width> to modify the memory access size, the valid values are: 8-bit (byte) access 16-bit (word) access 32-bit (long) access When no <width>...
If you did not get this response check the setup. Refer to Section 1.10. Note, the date ‘xxx 1996 xx:xx:xx’ may vary in different revisions. Other means can be used to re-initialize the SBC5206 Computer Board firmware. These means are discussed in the following paragraphs.
The user can call any of the commands supported by the firmware. A standard input routine controls the system while the user types a line of input. Command processing begins only after the line has been entered and followed by a carriage-return. NOTES 1.
TABLE 2-1. dBUG Commands. COMMAND DESCRIPTION SYNTAX PAGE MNEMONIC BLOCK FILL BF<WIDTH> BEGIN END DATA BLOCK MOVE BM BEGIN END DEST BLOCK SEARCH BS <WIDTH> BEGIN END DATA BREAKPOINT BR ADDR <-R> <-C COUNT> <-T TRIGGER> 2-10 DATA DATA CONVERT DATA VALUE 2-11 DISASSEMBLE...
Page 23
2.4.1 BF - Block of Memory Fill Usage: BF<width> begin end data The BF command fills a contiguous block of memory starting at address begin, stopping at address end, with the value data. Width modifies the size of the data that is written. The value for addresses begin and end may be an absolute address specified as a hexadecimal value, or a symbol name.
Page 24
2.4.2 BM - Block Move Usage: BM begin end dest The BM command moves a contiguous block of memory starting at address begin, stopping at address end, to the new address dest. The BM command copies memory as a series of bytes, and does not alter the original block.
Page 25
2.4.3 BR - Breakpoint Usage: BR addr <-r> <-c count> <-t trigger> The BR command inserts or removes breakpoints at address addr. The value for addr may be an absolute address specified as a hexadecimal value, or a symbol name. Count and trigger are numbers converted according to the user defined radix, normally hexadecimal.
Page 26
2.4.4 BS - Block Search Usage: BS<width> begin end data The BS command searches a contiguous block of memory starting at address begin, stopping at address end, for the value data. Width modifies the size of the data that is compared during the search. The value for addresses begin and end may be an absolute address specified as a hexadecimal value, or a symbol name.
2.4.5 DATA - Data Conversion DATA Usage: DATA data The DATA command displays data in both decimal and hexadecimal notation. The value for data may be a symbol name or an absolute value. If an absolute value passed into the DATA command is prefixed by ‘0x’, then data is interpreted as a hexadecimal value.
2.4.6 DI - Disassemble Usage: DI <addr> The DI command disassembles target code pointed to by addr. The value for addr may be an absolute address specified as a hexadecimal value, or a symbol name. Wherever possible, the disassembler will use information from the symbol table to produce a more meaningful disassembly.
2.5.7 DL - Download Serial Usage: DL <offset> The DL command performs an S-record download of data obtained from the serial port. The value for offset is converted according to the user defined radix, normally hexadecimal. If offset is provided, then the destination address of each S-record is adjusted by offset. The DL command checks the destination address for validity.
2.4.8 DN - Download Network Usage: DN <-c> <-e> <-i> <-s> <-o offset> <filename> The DN command downloads code from the network. The DN command handle files which are either S- record, COFF or ELF formats. The DN command uses Trivial File Transfer Protocol, TFTP, to transfer files from a network host.
2.4.9 Go - Execute Usage: GO <addr> The GO command executes target code starting at address addr. The value for addr may be an absolute address specified as a hexadecimal value, or a symbol name. If no argument is provided, the GO command begins executing instructions at the current program counter.
2.4.10 GT - Execute Till a Temporary Breakpoint Usage: GT <addr> The 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 2-16...
2.4.11 HELP - Help Usage: HELP <command> The HELP command displays a brief syntax of the commands available within dBUG. In addition, the address of where user code may start is given. If command is provided, then a brief listing of the syntax of the specified command is displayed.
2.4.12 IRD - Internal Registers Display Usage: IRD <module.register> This commands displays the internal registers of different modules inside the MCF5206. In the command line, the module refers to the module name where the register is located and the register refers to the specific register needed.
2.4.13 IRM - Internal Registers MODIFY Usage: IRM module.register data This commands modifies the contents of the internal registers of different modules inside the MCF5206. In the command line, the module 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.
2.4.14 MD - Memory Display Usage: MD<width> <begin> <end> The MD command displays a contiguous block of memory starting at address begin and stopping at address end. The value for addresses begin and end may be an absolute address specified as a hexadecimal value, or a symbol name.
2.2.15 MM - Memory Modify Usage: MM<width> addr <data> The MM command modifies memory at the address addr. The value for address addr may be an absolute address specified as a hexadecimal value, or a symbol name. Width modifies the size of the data that is modified.
2.4.16 RD - Register Display Usage: MM<width> addr <data> The MM command modifies memory at the address addr. The value for address addr may be an absolute address specified as a hexadecimal value, or a symbol name. Width modifies the size of the data that is modified.
2.4.17 RM - Register Modify Usage: RM reg data The RM command modifies the contents of the register reg to data. The value for reg is the name of the register, and the value for data may be a symbol name, or it is converted according to the user defined radix, normally hexadecimal.
2.4.18 RESET - Reset the board and dBUG RESET Usage: RESET The RESET command attempts to reset the board and dBUG to their initial power-on states. 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.
2.4.19 SET - Set Configuration Usage: SET option <value> The SET command allows the setting of user configurable options within dBUG. The options are listed below. If the SET command is issued without option, it will show the available options and values. The board needs a RESET after this command in order for the new option(s) to take effect.
Page 42
To set the baud rate of the board to be 19200, the command is: baud 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.
2.4.20 SHOW - Show Configuration SHOW Usage: SHOW option SHOW The SHOW command displays the settings of the user configurable options within dBUG. Most 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.
2.4.21 STEP - Step Over Usage: STEP The ST command can be used to “step over” a subroutine call, rather than tracing every instruction in the subroutine. The ST command sets a breakpoint one instruction beyond the current program counter and then executes the target code.
2.4.22 SYMBOL - Symbol Name Management SYMBOL Usage: SYMBOL <symb> <-a symb value> <-r symb> <-c|l|s> The SYMBOL command adds or removes symbol names from the symbol table. If only a symbol name is provided to the SYMBOL command, then the symbol table is searched for a match on the symbol name and its information displayed.
2.4.23 TRACE - Trace Into Usage: TRACE <num> The TRACE command allows single instruction execution. If num is provided, then num instructions are executed before control is handed back to dBUG. The 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.
2.4.24 UPDBUG - Update the dBUG Image UPDBUG Usage: UPDBUG The UPDBUG command is used for updating the dBUG image in Flash. When updates to the MCF5206 EVS dBUG are available, the updated image is downloaded to address 0x00010000. The new image is placed into Flash using the UPDBUG command.
2.4.25 UPUSER - Update User Code In Flash UPUSER Usage: UPUSER The UPUSER command places user code 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.
2.4.26 VERSION - Display dBUG Version VERSION Usage: VERSION The VERSION command display the version information for dBUG. The dBUG version number and build date are both 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.
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.
asm (“ move.l d1,d0”); /* put the character in d0 */ 2.5.3 CHAR_PRESENT This function (function code 0x0014) checks if an input character is present to receive. A value of zero is returned in D0 when no character is present. A non-zero value in D0 means a character is present. Assembly example: move.l #$0014,d0 Select the function...
3.1 THE PROCESSOR AND SUPPORT LOGIC This part of the Chapter discusses the CPU and general supporting logic on the SBC5206 board. 3.1.1 The Processor The microprocessor used in the SBC5206 is the highly integrated MCF5206, 32-bit processor. The...
3.1.4 The Clock Circuitry The SBC5206 uses a 25MHZ oscillator (U8) to provide the clock to CLK pin of the processor. This clock also feeds to LSI2032 for its internal use and to produce clock for the ISA timings and MC68HC901 (1/4 system clock).
-RAS pins. These registers are programmed by dBUG to map the external memory and I/O devices. The SBC5206 uses chip-select zero (-CS0) to enable the EPROM/Flash ROM ( refer to Section 3.3.) The SBC5206 uses -RAS1 and -RAS2 to enable the DRAM SIMM module (refer to Section 3.2), -CS2 for enabling the MC68HC901, -CS1 for Interrupt acknowledge of MC68HC901, and -CS3 for ISA Bus I/O space.
$10000000 by dBUG. For complete map of these registers refer to the MCF5206 User's Manual. The SBC5206 board can have up to 32M bytes of DRAM installed. The first 32M bytes are reserved for this memory. Refer to Section 3.2 for a discussion of RAM. The dBUG is programmed in two 29F010 Flash ROM’s which only occupies 256K bytes of the address space.
DRAM Access timing is 3,2,2,2. 3.3 THE EPROM/FLASH ROM There are two sockets for EPROM’s/Flash ROM’s on the SBC5206, U13 (high, even byte) and U10 (low, odd byte). These sockets support 64K, 128K, 256K, 512K, and 1M-byte EPROM’s such as 27C256, 27C512, 27C010, 27C020, 27C040, and 27C080 chips for a total of up to 2M bytes.
Page 57
JP2 Configuration MEMORY TYPE JUMPER SETUP FLASH ROM Connect 3 to 5 and 4 to 6 (default) EPROM Connect 1 to 3 and 2 to 4 JP3 Configuration for EPROM MEMORY SIZE JUMPER SETUP 27C512 (512K EPROM) 6 to 8 27C010 (1M EPROM) 3 to 5 and 4 to 6 and 8 to 10...
The MCF5206 has two built in UART’s, These serial channels with software programmable baud rate generators are not used by the SBC5206 or dBUG and are available to the user. The dBUG, however, programs the interrupt level for UART1 to Level 3, priority 2 and autovector mode of operation. The interrupt level for UART2 to Level 3, priority 1 and autovector mode of operation.
3.7.3 The Power Supply Connectors J3 and J4 The SBC5206 needs +5 volts supply (less than an Amp.). The power can be +5 Volts regulated or +7.5 to +12 Volts DC (regulated or unregulated) which utilizes the on board regulator U14. Jumper JP1 (Table...
3.7.4 The Terminal Connector J5 The SBC5206 uses a 9-pin D-sub female connector J5 for connecting the board to a terminal or a PC with terminal emulation software. The available signals are a working subset of the RS-232C standard. Table 3.7 shows the pin assignment.
Support. The necessary signals are available at connector J8. Table 3.10 shows the pin assignment. 3.7.8 The ISA Bus Connector P1 The SBC5206 can utilize the ISA Bus 16-bit I/O cards. The P1 connector is ISA Bus compatible connector. Table 3.13 shows the pin assignment.
3.8 THE SBC5206 JUMPERS There are a total of three jumpers on the SBC5206 board to configure the board for different setup. Table 3.14 shows what these jumpers are for and the section where more information can be found. TABLE 3.14. The SBC5206 Jumpers.
Appendix A A.1 Configuring dBUG for Network Downloads dBUG has the ability to perform downloads over an Ethernet network using the Trivial File Transfer Protocol, TFTP. Prior to using this feature, several parameters are required for network downloads to occur. The information that is required and the steps for configuring dBUG are described below. A1.1 Required Network Parameters For performing network downloads, dBUG needs six parameters;...
TFTP server, all filenames are relative to /tftp_boot. As a result, you normally will be required to copy the file to download into the directory used by the TFTP server. A default filename for network downloads is maintained by dBUG. To change the default filename, use the command: set filename <filename>...
Need help?
Do you have a question about the SBC5206 and is the answer not in the manual?
Questions and answers