PROBLEMS COMMUNICATING WITH THE EVBU and PROGRAMMING BUFFALO MONITOR ONTO THE EVBU 7/92 Janet M. Snyder If you bring up Procomm or Kermit and cannot communicate with the EVBU board, this paper is for you. The very first thing you need to decide is whether or not the MC68HC11 that is on your board has already been programmed to communicate with your terminal program. The program that was designed to be programmed into the EVBU's HC11 is called Buffalo Monitor. Here is how to decide if your HC11 is programmed: Look at the top of the MC68HC11 chip on your EVBU board. Read what follows the MC68HC11. Your chip has Buffalo Monitor programmed into it if you see: 1. MC68HC11E9FN1. Does not have Buffalo Monitor programmed into it if: 1. The part has an exposed window on top of it. 2. The part has a blue sticker on top of it (it actually covers the window). 3. Has MC68HC711E9FS printed on top of it. The regular EVBU board comes with Buffalo Monitor programmed into an MC68HC11E9FN1. The EVBU that is sold as a student experimental board was formerly shipped with a blank MC68HC711E9FS, but since 1992, these boards are shipped with the MC68HC11E9FN1 (has Buffalo Monitor), and a blank MC68HC711E9FS included in the box. If the EVBU does not have Buffalo Monitor programmed into the HC11, you have to use an IBMpc or clone with PCBUG11 to talk to the board. The pc must either have a color monitor, or, if it uses a monochome monitor, be able to accept the DOS command MODE CO80. Once communications with the EVBU is established in this manner, if the customer wants Buffalo Monitor programmed into the HC11, it can be done (both come on floppy disks with the board). To establish communications with PCBUG11: 1. Remove the jumper from J7( factory jumper that has the board in Buffalo Monitor debug mode, but you don't have it programmed in yet), and place across J3 to ground the MODBpin. J4 has a trace across it on the pcb side of the board which grounds MODA. This should be intact, or else you must also put a jumper at J4. Upon reset, this configuration places the HC11 in BOOT mode. 2. Connect the EVBU to your PC via a DB-25 pin connector to your serial port. It can be either COM1 or COM2. The cable to use is "straight through", RS232C, DB25 to DB25. If you have a DB9 connector on your pc end, the pinout is: DB9-F DB25-M 1 8 DCD 2 3 RX 3 2 TX 4 20 DTR 5 7 SIG GND 6 6 DSR 7 4 RIS 8 5 CTS 9 22 RI (Note, a plain, three wire cable will work in this application, RX, TX, and SIG GND). 3. The EVBU will need the ordinary 5Vdc going to the power connectors, but it also needs +12Vdc going through a 100 ohm resistor connected to P4, pin 18 (this voltage is programming voltage, or VPP). It is preferable for the 5Vdc to be turned on first and then the 12Vdc turned on. 4. Start PCBUG11 by typing the following: PCBUG11 -E port=1 . If you are using port 2, use port=2 instead. (If your screen freezes and doesn't finish bringing up PCBUG11, then reset the computer and type in: mode co80 and then try to bring up PCBUG11. 5. At this time, you should see the registers displayed on the screen, and have a > prompt in a window at the bottom of the screen. 6. Press the reset button on the EVBU. 7. Type restart . 8. If you have version 3.24 of PCBUG11, type: CONTROL BASE HEX . This tells PCBUG11 that your inputs will be in hexidecimal. By doing this, you do not have to add the $ to inputs. 9. Type: EEPROM B600 B7FF EPROM D000 FFFF LOADS (path) BUF34.S19 (where "path" is wherever the file "BUF34.S19" is located, ie, this could be floppy drive A, so you would type: LOADS A:BUF34.S19, or it could be located on your hard drive under, say the \junk directory, in which case you would type: LOADS \JUNK\BUF34.S19 . 10. The programming will take approximately 5 minutes. 11. After the programming is finished, turn off all power to the board. 12. Remove the VPP wire from P4-18. 13. Take the jumper off of J3 and put it on J7 (makes XIRQ go to OC5). 14. Apply the 5Vdc power to the board again. 15. On the IBMpc, type QUIT to quit PCBUG11 and answer yes when it asks you if you are sure. 16. Start your standard terminal program, ie. Procomm, and have it set for 9600 baud, no parity, 8 data bits, and one stop bit (commonly written: 9600,N,8,1). 17. Push the board reset button, and you should get the Buffalo 3.4 prompt on the screen. See the EVBU Manual for using the board while running under Buffalo Monitor.