Dataman S4 Programming The 68HC711
Several members of the Motorola 68HC711 microcontroller can be programmed using the S4 and a DIY pin adapter. These include the E9, KA2 and K4 versions, which have a mode (EPROM emulation) in which they may be programmed as a 27256 EPROM. Wiring details for the pin adapters may be found in Motorola's literature. As an example, the adapter configuration for the E9 device, in SDIP 56-pin / PLCC 52-pin packages, are as follows: |
||||
Header 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
Vpp A12 A7 A6 A5 A4 A3 A2 A1 A0 D0 D1 D2 GND D3 D4 D5 D6 D7 CEn A10 OEn A11 A9 A8 A13 A14 VCC |
PLCC 52-Pin 18 38 16 15 14 13 12 11 10 9 20 21 22 1 23 24 25 4 6 19 40 35 39 41 42 37 -- 26 |
SDIP 56-Pin 18 41 16 15 14 13 12 11 10 9 20 22 23 28 24 25 26 4 6 19 43 38 42 44 45 40 -- 27 |
Pin Name XIRQn PB4 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 PD0/RxD PD1/TxD PD2/MISO VSS PD3/MOSI PD4/SCK PD5/SS STRA/ASPB54 STRB/R/W /IRQ PB2 PB7 PB3 PB1 PB0 PB5 N.C. VDD |
The following pins should be left unconnected (floating):
All other pins should be connected to GND (VSS). Although the 68HC711-E9 "emulates" a 27256, in that it is programmed by pulses on the /CE line, it contains only 12 kbytes of ROM versus the 27256's 32 kbytes, and has no A14. This must be borne in mind during loading and programming. If S4 is simply told to load or program a 27256, it will read or program the memory of the 68HC711 twice, once for each possible state of A14. You should therefore restrict the S4's load or program range to 3000H bytes. The memory on the 68HC711 is addressed from D000H through FFFFH and this is the preferred range to set. At the LOAD or BURN option, set the first address field (memory start address) to 0D000. S4 will display as follows:
S4 itself has set the third field to 05000. This is perfectly alright, as the 68HC711 has no A14 or A15 and cannot tell the difference between 0D000H and 05000H (or 01000H, or 09000H). The programming algorithm specified by Motorola is as follows:
|