background image

    

 2000

717 Lingco Dr., Suite 209  Richardson, TX  75081  

  (972) 994-9676   FAX (972) 994-9170

email:  Gary@axman.com   

   web:  http://www.axman.com

xiom

anufacturing

CMD11E1

 Development Board for the Motorola 68HC11E1

Summary of Contents for Axiom CMD11E1

Page 1: ... 2000 717 Lingco Dr Suite 209 Richardson TX 75081 972 994 9676 FAX 972 994 9170 email Gary axman com web http www axman com xiom anufacturing CMD11E1 Development Board for the Motorola 68HC11E1 ...

Page 2: ...DRESS DECODING 8 MEMORY MAP 9 JUMPERS 10 MODE Select Jumpers JP1 and JP2 10 Buffalo Trace Jumper JP13 10 Memory Selection Jumpers JP3 JP10 11 PORTS AND CONNECTORS 12 LCD_PORT 12 KEYPAD 12 SERIAL PORTS 13 COM2 Option Jumpers 13 422 485 OUT 13 SS KEBOARD 14 PARALLEL PORTS 14 AUX_PORT 15 MCU_PORT 15 BUS_PORT 16 A D REFERENCE 16 TROUBLESHOOTING 17 TABLES 19 TABLE 1 LCD Command Codes 19 TABLE 2 LCD Cha...

Page 3: ...your development board CMD11E1 from the drop down menu bar just below the main menu Board Startup Follow these steps to connect and power on the board This assumes you re using the provided AxIDE terminal installed in the previous section or a similar communications terminal program on your PC and that all jumpers are in their default from the manufacturer positions If you re using a different ter...

Page 4: ...tools to get you started Software Development Software development on the CMD11E1 can be performed using the Buffalo Monitor utility programmed in U7 EEPROM to test and debug your program stored in RAM on U5 During this debug phase your program should be located just above the internal register block for example 2000 see the Memory Map section for details After satisfactory operation your program ...

Page 5: ...remain where it is or be moved down to internal RAM starting at ORG 0000 You must also program the STACK register somewhere at the top of your available RAM for example hex 1FF Do this with this instruction as the first instruction in your program code LDS 01FF A look at the example programs on the disk can make all of this clearer If you re using a Compiler instead of an assembler consult the com...

Page 6: ...2 Type LOAD T This will prepare buffalo to receive a program 3 Select Upload and when prompted for a file name select your assembled program file in s record format that was created in the previous section called HELLO S19 Your program will be sent to the board thru the serial port 4 When finished loading you will see the prompt again Type CALL 2400 This tells buffalo to execute the subroutine at ...

Page 7: ... the program to NOT try to return at the end and lastly program the HC11 reset vector to go to the beginning of the program the label START when powered on 5 Re Assemble HELLO ASM as described in the Assembling Source Code section 6 Select Program and enter your newly assembled HELLO S19 file if not already there 7 Make sure External EEPROM is selected in this dialog box then click OK and follow t...

Page 8: ... M3 Chip select to U7 active for the 8k between E000 and FFFF P Peripheral Access CS0 CS7 B580 through B5FF All of these signals except P are active low P is active high Signal line M2 is also connected to the BUS_PORT expansion connector allowing M2 to work in conjunction with the CS and Address lines to implement off board page banked memory When M2 is used in this manner U6 must be removed from...

Page 9: ...FFFE RESET Vector Address E000 Memory Socket U7 8K device Buffalo Monitor default DFFF B800 Program or Data Memory EEPROM or RAM in U6 B7FF B600 HC11 Internal EEPROM in U1 Program or Data Peripheral Area CS0 CS7 CS7 B5F2 B5FF LCD B5F0 B5F1 CS6 B5E0 B5EF CS5 B5D0 B5DF CS4 B5C0 B5CF CS3 B5B0 B5BF CS2 B5A0 B5AF CS1 B590 B59F CS0 B580 B58F Program or Data Memory EEPROM or RAM in U6 B5FF B580 B57F 8000...

Page 10: ...B pins of the HC11 are pulled high by two 10k resistors This is the normal EXPANDED MODE configuration A shunt on JP1 will take MODA to ground A shunt on JP2 will take MODB to ground These two jumpers allow selection of any of the following modes of operation JP1 MODA JP2 MODB MODE OF OPERATION ON ON Special Bootstrap OFF ON Special Test ON OFF Normal Single Chip OFF OFF Normal Expanded default Bu...

Page 11: ...vice JP3 ON DEFAULT 32K bytes from 200 hex to 7FFF hex minus register area see memory map and recommended position for Buffalo Monitor and Small C operation No segmentation occurs For 8K device JP3 OFF 8K bytes from 0000 hex to 1FFF hex and mirrored at 2000 3FFF 4000 5FFF and 6000 7FFF This position will allow CPU internal Ram and I O ports to segment the 8K address space Use this position to run ...

Page 12: ...v A list of valid command codes is provided in the Tables section at the back of this manual Example programs using this LCD device are provided on the support CD see the files B5F0 Command Register 5V 2 1 GND B5F1 Data Register A0 4 3 Vee LCDCS 6 5 RW D1 8 7 D0 D3 10 9 D2 D5 12 11 D4 D7 14 13 D6 KLCD D C KEYLCD D C KEYLCD D ASM KLCD E C KEYLCD E C KEYLCD E ASM KEYPAD The KEYPAD Connector is an ei...

Page 13: ... set to connect directly to a PC serial port with a straight thru type of cable supplied COM2 DB9 P Style Connector Ÿ Ÿ 1 DCD E5 DSR 6 Ÿ Ÿ Ÿ Ÿ 2 RXD E6 RTS 7 Ÿ Ÿ Ÿ Ÿ 3 TXD E7 CTS 8 Ÿ Ÿ Ÿ Ÿ 4 DTR E8 NC 9 Ÿ Ÿ Ÿ Ÿ 5 GND To connect COM2 to a PC serial port you must use a NULL modem cable or NULL modem adapter With U13 removed CTS DTR and DCD will be idled automatically allowing the R65C51 ACIA to func...

Page 14: ...peripheral devices 1 5 2 GND 3 PD2 SI 4 PD3 SO 5 PD4 SCLK 6 PD5 SEL0 SPI 7 SEL1 E1 8 SEL2 E2 9 SEL3 E3 10 SEL4 Auxiliary select lines terminated to ground 10kohm E4 See the files called KLCD E C KEYLCD E C KEYLCD E ASM on the support CD for example programs using this connector PARALLEL PORTS The 68HC11 is configured for expanded multiplexed mode It uses Port B and Port C for address and data buss...

Page 15: ...ORT The MCU_PORT connector is a dual row 17 pin Berg style connector 34 pins total configured as follows 33 31 29 27 25 23 21 19 17 15 13 11 9 7 5 3 1 34 32 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2 PIN FUNCTION PIN FUNCTION PIN FUNCTION PIN FUNCTION 1 PA0 2 PA1 19 GND 20 5 3 PA2 4 PA3 21 IRQ 22 XIRQ 5 PA4 6 PA5 23 VRL 24 VRL 7 PA6 8 PA7 25 VRH 26 VRH 9 5 10 5 27 PE7 28 PE3 11 GND 12 GND 29 PE6 30 ...

Page 16: ...6 A4 A11 17 18 A5 A9 19 20 A6 A8 21 22 A7 A12 23 24 A13 W R 25 26 CS0 CS1 27 28 CS2 CS3 29 30 CS4 CS5 31 32 IRQ 5 33 34 M2 A D REFERENCE The VRH and VRL lines from the HC11 are connected to 5v through R3 and to ground through R2 respectively These two resistors are located next to the MCU_PORT header The resistors are identified on the silk screen by their reference designators The appropriate res...

Page 17: ...t 1 Verify that your communications port is working by substituting a known good serial device or by doing a loop back diagnostic 2 Verify the jumpers on the board are installed correctly 3 Verify the power source You should measure approximately 9 volts between the GND and 9V test point pads on the board 4 If no voltage is found verify the wall plug connections to 115VAC outlet and the power conn...

Page 18: ... configured correctly by selecting Configure Processor from the main menu During program development the EEON should be enabled The other bits should be disabled Make sure you load your code to a valid address See the Memory Map Code Execution Make sure ALL jumpers are set correctly according to your board s configuration Read the hardware manual section on jumpers carefully if you re not sure Alw...

Page 19: ...ink off 08 40us Display on Cursor and Cursor Blink off 0C 40us Display and Cursor on Cursor Blink off 0E 40us Display Cursor and Cursor Blink on 0F 40us Cursor Display Shift nondestructive move Cursor shift left 10 40us Cursor shift right 14 40us Display shift left 18 40us Display shift right 1C 40us Display Function default 2x40 size 3C 40us Character Generator Ram Address set 40 7F 40us Display ...

Page 20: ...nitor commands LOAD T Download S records via terminal port MD addr1 addr2 Dump memory to terminal MM address Memory modify MOVE addr1 addr2 dest Move memory to new location P Proceed continue from breakpoint RM p y x a b c s Register modify T n Trace 1 FF instructions TRACE Jumper ON VERIFY T Compare memory to download data via terminal NOTE Address and data values should be given in Hex notation ...

Reviews: