Home

SBC68K 68000 Single Board Computer User Manual

image

Contents

1. SBC68K 68000 Single Board Computer User Manual TABLE OF CONTENTS 1 Introduction 2 1 The SBC68K Specification 2 2 Hardware Description 2 3 Installation and Set Up 3 2 Devices Addresses 5 3 Jumper Setting 7 4 Connections Pin List 8 5 Serial Cable Connection List 10 6 Bibliography 10 Appendix Appendix A Tutor Command Detail Appendix B Tutor Messages 26 Appendix c Demonstration 28 1 INTRODUCTION The SBC68K is a 68000 based single board microcomputer The board contains necessary logic that is designed to provide an inexpensive tool for testing 68000 assembly language programs For easy use the board has a resident firmware packages that provides a self contained programming and operating environment The firmware provides the user with monitor debug program entry assembly disassembly and I O control functions 1 1 The SBC68K specifications a 8 MHz 68000 16 bit MPU b 16K SRAM 6264 x 2 or 64K SRAM 256 x 2 6x 64K EPROM 27256 x 2 or 128K EPROM 27512 x 2 cls Two RS 232e serial ports 9600 or 19200 baud e One timer counter and one 24 bit parallel port EZ Self contained operating firmware that provides monitor and debug function g Individual LEDs indicate 68000 free run DTACK RAM EPROM chip enable Five volt only operation l S z 8 XAD 1 2 HARDWARE DESCRIPTION The SBC68K provides the SRAM EPROM timer cou
2. lt option gt TUTOR 1 3 gt md 1000 12 DI 001000 4FF900008000 LEA L S00008000 A7 001006 TEVOO MOVEQ L 0 D7 001008 4EB900001170 JSR L 00001170 00100E 41F9000010AA LEA L SO00010AA A0 TUTOR ed d A 15 Memory modify options w L O V N DI This command displays and if needed modifies memory content at lt addr gt The current content after being displayed is replaced by the new data if entered A CR causes the command to repeat for the next location and a terminates the command MM lt addr gt lt options gt TUTOR 1 3 gt MM 2000 W 002000 OFOF 1111 002002 OFOF 2222 002004 OFOF 23333 002006 OFOF TUTOR 1 3 gt MM 2000 04 002000 11 11 22 22 33 33 OF OF OF OF OF OF OF OF OF OF TUTOR 1 3 gt MM 2000 DI 002000 2248 MOVE L A0 A1 TUTOR 1 3 gt 19 A 16 Memory set This command sets memory beginning at lt addr gt with hexadecimal data or ASC string given as lt data gt MS lt addr gt lt data gt TUTOR 1 3 gt MD 2000 2000 22 48 22 22 33 33 OF OF OF OF OF OF OF OF OF OF TUTOR 1 3 gt MS 2000 ABC TUTOR 1 3 gt MS 2006 123 123456 TUTOR 1 3 gt MD 2000 002000 41 42 43 22 33 33 01 23 12 34 56 OF OF OF OF OF A 17 Remove break point This command sets memory beginning at lt addr gt from the break point table If no address is given a
3. Process command line This key causes the command to start CR 25 APPENDIX B TUTOR MESSAGES PRINTER NOT READY Printer is not properly connected or cannot receive output SYNTAX ERROR Error in command line ERROR Error LLEGAL INSTRUCTION Instruction used an illegal op code during program execution ADDR TRAP ERROR PC on odd address word access on odd address BUS TRAP ERROR PC on odd address word access on odd address IS NOT A HEX DIGIT Improper character entered in a field that requires a hexadecimal digit DATA DID NOT STORE Data did not go where intended NVALID ADDRESS Too big 1 in bits 24 31 or odd for W or L 1 in bit 0 WHAT Program does not recognize user s entry NOT HEX Same as IS NOT A HEX DIGIT FAILED AT WROTE READ Read or write command failure output by BT UNDEFINED TRAP 14 Trap function code is not defined 26 14 CHKSUM Indicates received checksum is incorrect correct checksum is given ELS TUTOR dege TUTOR prompt 16 TIMEOUT Displayed if port 2 does not respond to LO or VE within 10 seconds 17 FORMAT Displayed by PF command 18 CHAR NULL Displayed by PF command 19 C R NULL Displayed by PF command 20 OPTIONS XXXXXX D
4. TUTOR 1 3 gt MD 2004 2004 OD 8E OF 35 07 36 OF IB 07 09 87 6A 49 CO C9 6C TUTOR 1 3 BF 2004 200A 475A TUTOR 2004 TUTOR TUTOR 2004 TUTOR PHYSICAL AD 4 PHYSICAL AD 0 1 3 gt M 7 SA 47 5R 4 1 3 gt M 0 07 00 07 00 07 00 07 1 3 gt BF 2004 DRESS 000 02004 0000200A D 2004 7 SA 47 5A 07 09 87 6A 19 CO C9 6C 2012 7 1 3 gt DRESS 00002004 00002012 D 2004 00 07 00 07 00 07 00 07 11 Block of memory move This command moves a memory block starting with addrl through lt addr2 gt to another block beginning at lt addr3 gt BM lt addrl gt lt addr2 gt lt addr3 gt TUTOR 1 3 gt MD 1800 10 1800 OF 8E 1F OD 07 8B EE 83 2E OF OD 17 OD 5D OF OB TUTOR 1 3 gt BM 1806 1809 1804 PHYSICAL ADDRESS 00001806 00001809 PHYSICAL ADDRESS 00001804 TUTOR 1 3 gt MD 1800 10 1800 OF 8E 1F OD EE 83 ZE OF 2E OF OD 17 OD 5D OF OB TUTOR 1 3 gt A 3 Break point set This command sets one to eight break point lt addr gt indicates the location of a break point and lt count gt specifies a count that is decremented each time the break point is encounted until count 0 If no parameters are given the BR command display all break points BR addr lt count gt TUTOR 1 3 gt BR BREAKPOINTS TUTOR 1 3 gt BR 1010 2000 5 2040 4000 BREAKP
5. register high 10031 counter register middle 10033 counter register low 10035 timer status register JUMPER SETTING JP2 baud rate Short Shor pin 1 amp pin 2 19200 baud pin 3 amp pin 4 9600 baud Gh et JP3 SRAM size Short pin 1 amp pin 2 62256 Short pin 3 amp pin 4 6264 JP4 EPROM size Short Shor pin 1 amp pin 2 27256 pin 3 amp pin4 27512 CONNECTORS PIN LIST 4 1 PWR connector 1 NC 2 GND 3 GND 4 VCC 4 2 Jl connector 1 PAO 2 PAL 3 PA2 4 PA3 5 PA4 6 PAS ie PA6 8 PA7 9 NC 10 NC 11 Hl 12 H2 13 H3 14 H4 15 GND 16 GND 17 PBO 18 PBI 19 PB2 20 PB3 21 PB4 22 PB5 23 PB6 24 PB7 25 NC 26 NC 27 PCO 28 PEL 29 EE 30 PC4 31 NC 32 NC 33 6 MEE 34 VCC 4 3 J2 connector 1 DO Dis DIA 3 D2 4 D3 5 D4 6 D5 7 D6 8 D7 9 D8 10 D9 Jul PLO 12 D11 13 D12 14 D13 15 D14 16 D15 17 GND 18 GND 19 A 20 A2 21 A3 22 A4 23 A5 24 A6 25 A7 26 A8 21 A9 28 A10 29 All 30 A12 31 A13 32 Al4 33 A15 34 A16 35 A17 36 A18 Sili NE 38 NC 39 VCC 40 VCC 4 4 J3 connector 1 IRQ7 2 IACK7 3 IRO2 4 IACK2 5 IRO
6. relative offset register selected by lt register no gt and as an option modifies the content with lt expression gt R lt register no gt lt expression gt Display set program counter This command displays the program counter and as an option modifies the content with lt expression gt PC lt expression gt Display set status register This command displays the st option modifies the content atus register and as an with lt expression gt ct ct SR lt expression gt Display set supervisor stack pointer This command displays the supervisor stack pointer and as an option modifies the content with lt expression gt SS lt expression gt Display set user stack pointer This command displays the user stack pointer and as an option modifies the content with lt expression gt US lt expression 24 34 3D 36 3 l 38 39 40 Abort command This key aborts any command currently doing console I O BREAK Delete character This key deletes the last entered character DEL Redisplay line This key redisplays th ntire lin CTRL D Delete character This key is equivalent to the DEL key CTRL H Suspend output This key suspends output to the terminal Depressing any other key resumes the output CTRL W Cancel command line This key cancels th ntire lin CTRL X
7. 0000 00000 TUTOR 1 3 gt GT 2006 PHYSICAL ADDRESS 00002006 PHYSICAL ADDRESS 00000000 TUTOR 1 3 gt GT 2010 PHYSICAL ADDRESS 00002010 ERROR 002010 003000 TUTOR oO 02010 002000 de Ze D2 00010 US 0 D6 00000 0 000 0000 DOA 002 414 540 D3 00000000 D7 00000000 A3 00000554 A7 00000786 000 SS 00000786 DC W 0000 17 A 12 Help This command displays all the available commands HE TUTOR 1 3 gt HE PC SR US SS DO DL DZ D3 D4 D5 gt D6 D7 AO AL A2 A3 A4 AS A6 A7 RO R1 R2 R3 R4 R5 R6 BF BM BR NOBR BS BT DC DF DU G GD GO GT HE LO M MD MM MS OF PA NOPA PF T IM IR TL VE TUTOR 1 3 A 13 Load S record options X C This command loads machine code or data in the S record format from port no to memory The optional lt text gt if used with port 2 send a message to that port before loading starts LO lt port no gt lt optional gt text TUTOR 1 3 gt LOl x 18 A 14 Memory display optional DI This command displays lt count gt bytes of memory starting with lt addr gt using lt port no gt The optional DI if present displays data in the dissembled form Otherwise the hexadecimal form is used MD lt port no gt lt addr gt lt count gt
8. L 6 IACK1 7 GND 8 GND 9 CLK 10 UDS 11 FOR 12 LDS 815 14 R W 15 AS 16 VMA 17 VPA E 18 DTACK E 19 VCC 20 VCC 4 5 COMI amp COM2 connectors The NC 2 RXD 3 TXD 4 NC 5 GND 6 NC 7 RTS Bo CTS 9 NC 10 NC 5 SERIAL CABLE CONNECTION LIST PC DB 9 FEMALE SBC68K 10PIN IDC HEADER PIN 2 TXD PIN 3 RXD PIN 3 RXD PIN 2 TXD PIN 5 GND PIN 5 GND PIN 4 DTR PIN 8 CTS 6 BIBLIOGRAPHY 1 MC68000 Educational Computer Board User s Manual Motorola Inc Austin Texas Motorola Inc 1982 2 68000 Microcomputer Systems Designing and Troubleshooting Alan D Wilcox Prentice Hall Inc 1987 3 The M68000 Microprocessor Family Fundamentals of Assembly Language Programming and Interface Design Yu Cheng Liu Prentice Hall International Editions 4 Programming and Designing with the 68000 Family Tibet Mimer Prentice Hall International Editions 5 MC68000 Assembly Language and System Programming William Ford William Topp D C Heath and Company 6 68000 Microcomputer Experiments Using the Motorola Educational Computer Board Alan D Wilcox Prentice Hall 10 APPENDIX A TUTOR COMMAND DETAIL A l Block of memory fill This command fills memory words Starting from lt addrl gt through lt addr2 gt with the data word given in lt word gt BF addrl addr2 word
9. OINTS 00101 00200 00204 00400 0 001010 0 002000 5 0 002040 0 004000 12 TUTOR 1 3 gt NOBR 1010 2040 BREAKPOINTS 002000 002000 5 004000 004000 TUTOR 1 3 gt NOBR BREAKPOINTS TUTOR 1 3 gt A 4 Block of memory search 8 W L This command searches memory starting through lt addr2 gt for the data given in optional lt mask gt if used is ANDed to BS lt addrl gt lt addr2 gt lt data gt lt mask gt with lt addrl gt lt data gt The data TUTOR 1 3 gt MD IFFF 15 OO1FFO 09 49 1B EB CC C9 C9 41 49 C9 49 002000 OF 9D OF 3A 00 07 00 07 00 07 00 TUTOR 1 3 gt BS 1FFO 200F CC PHYSICAL ADDRESS 00001FFO 0000200F TUTOR 1 3 gt BS IFF0 200F 41 W PHYSICAL ADDRESS 00001FFO 0000200F TUTOR 1 3 gt BS 1FFO 200F 41 B PHYSICAL ADDRESS 00001FFO 0000200F OO1LFF7 41 TUTOR lust 49 69 4B 49 2B 07 00 07 00 07 13 A 5 Block memory test This command performs a memory test starting with addrl through lt addr2 gt both are even addresses If no error is detected the tested memory block is set to all zeros otherwise a message is displayed BT lt addrl gt addr2 TUTOR 1 3 gt BT 1000 1FFE PHYSICAL ADDRESS 00001000 OOOOIFFE TUTOR 1 3 gt BT 2000 3FFE PHYSICAL ADDRESS 00002000 OOOO3FFE TUTOR 1 3 gt A 6 Data conversion This command c
10. S 00002000 0000200E S0030000FC S1122000000000000000000000000000000000CD S9030000FC TUTOR 714 33 gt 15 A 9 Go direct This command starts program execution from lt addr gt without setting break points If the optional starting address is not used execution begins at the address in PC GD lt addr gt TUTOR 1 3 gt GO 2000 PHYSICAL ADDRESS 00002000 TUTOR 1 3 A 10 GO This command starts program execution from lt addr gt until a break point in the break point table is encountered or an exception occurs If a break point has a count associated program execution does not stop at the break point until its count reaches 0 GO or G lt addr gt TUTOR 1 3 gt GO 2000 PHYSICAL ADDRESS 00002000 TUTOR 1 3 gt 16 A 11 Go until break point This command sets a point addr gt and star address in PC until with a zero count in encountered GT lt break point addr gt temporary break point at ts program execution at the temporary break point or one the break point table is lt break the TUTOR 1 3 gt BR 2010 3000 BREAKPOINTS 0 0 2010 3000 n U n U 002010 003000 TUTOR 1 3 gt DF PC 00000000 SR 2700 S7 A4 0000387E DO 0000FFOC D1 00000002 D4 00000032 D5 0000002C AO 00010040 Al1 000000CO A2 00000 A5 00000540 A6 0
11. ect baud rate and character format 2 DEVICES ADDRESSES Device Address Description SRAM 00008 O3FFF 6264 x 2 00008 OFFFF 62256 x 2 EPROM 20000 2FFFF 27256x 2 20000 3FFFF 21512 x 2 Reset Interrupt vector 00000 00003 stored in EPROM 00005 00007 stored in EPROM Supervisor stack pointer SSP program counter PC 6850 ACIA 10040 10041 10042 10043 ACIAl control register write only status register read only ACIA2 control register write only status register read only ACIAl transmit data register write only receive data register read only ACIA2 transmit data register write only receive data register read only 2 DEVICES ADDRESSES Con t Device Address Description 68230 PI T register 0001 port general control register 0003 port service request register 0005 port A data direction register 0007 port B data direction register 0009 port C data direction register 000B port interrupt vector 000D port A control register OOOF port B control register 0011 port A data register 0013 port B data register 0015 port A alternate register 0017 port B alternate register 0019 port C data register 001B port status register 10021 timer control register 10023 timer interrupt vector register 0027 counter preload register high 0029 counter preload register middle 002B counter preload register low LOO2F counter
12. her when lt exit character gt is entered from port 1 direct connection between port 1 and 2 is terminated and lt trailing character gt is sent to port 2 TM lt exit character gt Trace This command traces lt count gt instructions starting with the address in PC A CR causes next instruction to be traced TR lt count gt Temporary break point trace This command sets a temporary break point at lt break point addr gt and starts tracing at the address in PC until a break point with a zero count is encountered TT lt break point addr gt 22 A 25 Verify S record This command verifies memory contents with the data in the S record format from lt port no gt The optional lt text gt if used is sent to port 2 VE lt port no gt text Send messag This command sends lt text gt to port 2 text Display set address register This command displays the address register selected by lt register no gt and as an option modifies the content with lt expression gt A lt register no lt expression gt Display set data register This command displays the data register selected by lt register no gt and as an option modifies the content with lt expression gt D lt register no gt lt expression gt 23 29 30 ed 32 33 Display set relative offset register This command displays the
13. isplayed by PF command 21 TRANSPARENT EXIT 01 CTRL A Display by TM command 22 SOFTWARE ABORT Displayed when ABORT button is press Not support by SBC68K 23 BREAK BREAK key has been used Not support by SBC68K 24 AT BREAKPOINT Indicates program has stopped at breakpoint 25 BREAKPOINT Displayed by BR command 26 PHYSICAL ADDRESS Actual address by command 27 PC within DEBUGGER Displayed by trace commands 27 APPENDIX C Set up the SBC68K as described in Section 3 DEMONSTRATION and upload the file T3 HEX in the root directory of the supplied disk please uses ASC format Then key in the following commands TUTOR 1 3 gt Lol TUTOR 1 3 gt GO 1000 PHYSICAL ADDRESS 0 0001000 HHDO WELCOME TO THE ECB ENTER TUTOR Note THE PASSWORD 00000001 00000002 00000007 00000008 ld m Password 00000003 00000004 00000005 00000006 ECB to end the program type CTRL T 28
14. ll break points are removed NOBR lt addr gt lt addr gt J TUTOR 1 3 gt NOBR 2000 5 2030 3000 6 3060 BREAKPOINTS 002000 002000 5 002030 002030 003000 003000 6 003060 003060 20 TUTOR 1 3 gt NOBR 3000 BREAKPOINTS 002000 002000 5 002030 002030 003060 003060 TUTOR 1 3 gt NOBR BREAKPOINTS TUTOR 1 3 gt A 18 Reset printer attach This command detaches the parallel printer from the system terminal connected to port 1 NOPA A 19 Display offsets This command displays the offsets containad in registers RO R7 OF TUTOR 1 3 gt OF RO 00000000 R1 0000 R4 00000000 R5 0000 000 R2 00000000 R3 00000000 000 R6 00000D00 R7 00000000 TUTOR 1 3 gt R1 1000 TUTOR 1 3 gt R3 3300 TUTOR 1 3 gt OF RO 00000000 R1 00001000 R2 00000000 R3 00003300 R4 00000000 R5 00000000 R6 00000000 R7 00000000 TUTOR 1 3 gt 20 21 22 23 24 Printer attach This command logically attaches the parallel printer to the system terminal connected to port 1 Once attached the printer prints any information that is displayed on the system terminal PA Port format This command displays and if needed modifies the character format and other parameters of serial part 1 or 2 as specified by lt port no gt PF lt port no gt Transparent mode This command connects Serial ports 1 and 2 toget
15. nter and I O The 68000 microprocessor has 16 bit data bus DO D15 and a 23 bit address bus Al A23 provides a memory addressing range of 16 megabytes The processor also has eight 32 bit data register seven 32 bit address registers two 32 bit stack pointer a 32 bit program counter and a 16 bit status register A 8 MHz 68000 is used on the SBC68K All the memory and I O devices communicate with the MPU via a common parallel bus The building block of the SBC68K is shown as below SRAM EPROM 68000 MPU PARALLEL I O amp TIMER COUNTER RS 232C SERIAL PORTS DO SOO GR a An 68000 microprocessor Operating at the speed of 8 MHz b 64K EPROM to store the monitor called TUTOR The range of the on board EPROM is 20000 2FFFF for 27256 x2 or 20000 3FFFF for 27512 x 2 and addresses from 00000 00007 are also read only which are reserved for the reset exception vector Cs 16K or 64K SRAM to store the user s program and data The on board SRAM occupies the addresses from 00008 O3FFF for 6264 x 2 or 00008 OFFFF for 62256 x 2 However the locations from 00008 to OO3FF are allocated for the exception vector table and the area from 00400 to OO8FF is reserved as temporary storage by TUTOR Therefore the user s program must be loaded into the area from 00900 to O3FFF or 00900 to OFFFF d Two asynchronous serial interface devices ACIA are used to provide two serial ports Port 1 is for connecti
16. omputes lt expression gt and shows the result in both hexadecimal and decimal forms DC lt expression gt TUTOR 78 amp TUTOR 0 40 TUTOR SFFFF TUTOR TUTOR RO 00 R4 00 TUTOR 1050 1 3 gt DC amp 120 120 3 gt DC amp 15 4 13 1 3 gt DC 1000 F000 1000 amp 4096 3 gt RO 1000 HZ gt OF 001000 R1 00000000 R2 00000000 R3 00000000 000000 R5 00000000 R6 00000000 R7 00000000 1 3 gt DC 10 10 30 64176 14 TUTOR 1 3 gt DC 10 10 30 R7 50 amp 80 TUTOR Z Z Za A 7 Display formatted registers This command displays all 68000 registers DO D7 AO A6 PC SR USP and SSP DF TUTOR 1 3 gt DF PC 00000000 SR 2700 S7 US DO 0000FF00 D1 00000002 D2 0000 D4 00000030 D5 00000000 D6 0000 AO 00010040 Al 000000C0 A2 0000 A4 00000468 A5 00000540 A6 0000 000000 0 00000 SS 00000786 0 D3 00000000 8 D7 00000000 0 A3 0000044C 0 A7 00000786 GO GO d GO GO O OGO GQ QG O OO GMO DC W 0000 TUTOR las gt A 8 Dump memory S record This command sends out memory contents starting with lt addrl gt through lt addr2 gt to lt port no gt in the S record format The optional text if used is output as part of the header DU lt port no gt lt addrl gt lt addr2 gt lt text gt TUTOR 1 3 gt DU1 2000 200E PHYSICAL ADDRES
17. on to PC as the system console Port 2 provides a link to other devices with RS 232C interface e An integrated parallel interface and timer device PI T This device provides a 24 bit I O port and a time counter 1 3 INSTALLATION AND SET UP The following steps illustrated how to set up the SBC68K a Connect the supplied serial cable to PC COM2 and SBC68K COM1 ba Use a Terminal or CRT software and set the speed to 19200 baud 8N1 VT100 mode Ei Connect the SBC68K with 5 volt DC Once everything has been connected and double check then turn on the PC and run terminal emulation program Next apply 5 volt DC power to the SBC68K If the TUTOR firmware is installed and everything is connected properly you should s the messag TUTOR 1 3 gt Enter HE and press Enter to display a list of TUTOR commands TUTOR 1 3 gt HE PC SR US SS DO DE lt D2 DS DA D5 D6 DI AO Al A2 A3 A4 AS A6 A7 RO R1 R2 R3 R4 R5 R6 BF BM BR NOBR BS BT DC DF DU G GD GO GT HE LO M MD MM MS OF PA NOPA PF T IM TR TI VE TUTOR 1 3 gt board by pressing the reset switch and try again If you cannot obtain the appropriate display reset the If there is still no response double check all of your power and terminal connections and verify that your PC is set for the corr

Download Pdf Manuals

image

Related Search

Related Contents

This paper says that the logical thing would be that the samples  APC Smart-UPS RT 192V RM Battery Pack  American Standard Williamsburg 2904. SERIES User's Manual  Pronghorn Metro SBC Hardware Manual  Room controller for VAV systems RXC32.1 / RXC32.5    SOMMAIRE - Le Nouvel Observateur  Mesure d`hygiène dans les entrepôts à fruits et légumes  ボタン伸縮型アルミ松葉杖 取扱説明書 【使用上の注意】  2 Function - BGH Direct  

Copyright © All rights reserved.
Failed to retrieve file