Several members of the Motorola 68HC711 microcontroller can be programmed using
the S4 and a DIY pin adaptor. 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 adaptors may be found in Motorola's literature. As an
example, the adaptor configuration for the E9 device, in SDIP 56-pin / PLCC 52-pin
packages, are as follows:
|
Header
|
PLCC 52-Pin |
SDIP 56-Pin |
Pin Name |
|
|
1 |
Vpp |
18 |
18 |
XIRQn |
|
2 |
A12 |
38 |
41 |
PB4 |
|
3 |
A7 |
16 |
16 |
PC7 |
|
4 |
A6 |
15 |
15 |
PC6 |
|
5 |
A5 |
14 |
14 |
PC5 |
|
6 |
A4 |
13 |
13 |
PC4 |
|
7 |
A3 |
12 |
12 |
PC3 |
|
8 |
A2 |
11 |
11 |
PC2 |
|
9 |
A1 |
10 |
10 |
PC1 |
|
10 |
A0 |
9 |
9 |
PC0 |
|
11 |
D0 |
20 |
20 |
PD0/RxD |
|
12 |
D1 |
21 |
22 |
PD1/TxD |
|
13 |
D2 |
22 |
23 |
PD2/MISO |
|
14 |
GND |
1 |
28 |
VSS |
| |
|
15 |
D3 |
23 |
24 |
PD3/MOSI |
|
16 |
D4 |
24 |
25 |
PD4/SCK |
|
17 |
D5 |
25 |
26 |
PD5/SS |
|
18 |
D6 |
4 |
4 |
STRA/ASPB54 |
|
19 |
D7 |
6 |
6 |
STRB/R/W |
|
20 |
CEn |
19 |
19 |
/IRQ |
|
21 |
A10 |
40 |
43 |
PB2 |
|
22 |
OEn |
35 |
38 |
PB7 |
|
23 |
A11 |
39 |
42 |
PB3 |
|
24 |
A9 |
41 |
44 |
PB1 |
|
25 |
A8 |
42 |
45 |
PB0 |
|
26 |
A13 |
37 |
40 |
PB5 |
|
27 |
A14 |
-- |
-- |
N.C. |
|
28 |
VCC |
26 |
27 |
VDD |
The following pins should be left unconnected (floating):
- PLCC52
- 5 (E)
- 8 (XTAL)
- 28 (PA6)
- 29 (PA5)
- 30 (PA4)
- SDIP56
- 5 (E)
- 8 (XTAL)
- 31 (PA6)
- 32 (PA5)
- 33 (PA4)
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:
- Vcc 5 volts
- Vpp 12.25 volts
- Pulse 5 milliseconds
back