EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

MC68HC711E9CFN2

Started by chonchet1 September 13, 2004
Hi,
Can anyone give me some suggestion about the above microcontroller?

I have developed a application program by using the CME-11E9-EVBU
development board, where the starting address and reset vector both
at $E000, RAM at $0200, STACK at $0FFF, and EEPROM (for data storage
during program running) at $B600. Now, I am trying to program on-
chip PROM of 68HC711 microcontroller.

1) Can I use the MC68HC711E9CFN2 (PLCC52) package in the development
board? How to remove the pre-installed microcontroller from its
socket ( U1 )? I found that it is very hard to remove it, can I use
the small screw driver or there are special equipment to remove the
microcontroller?

2) For MC68HC711E9CFN2, the starting address and reset vector is
changed to $D000, but how about the RAM and STACK location? Can I
still use the same location as mentioned above or should I change to
location $0000 and $01FF respectively? From the manual, the RAM
area $0042 to $00FF is reserved for buffalo monitor, what happen if
my RAM data over take this area?
For EEPROM location, can I still use the same location at $B600?

3) the MC68HC711E9CFN2 is OTP type ( I think is one time
programming ), if I have programmed a 2 kilobytes program at $D000,
can I use the remaining 10 kilobytes for another program by changing
the starting address and reset vector to location $E000 (for
example) ?

4) We should apply 12V voltage to VPP connector, what is the maximum
voltage is allowed ? This is because our ac to dc adaptor can not
provide 12V voltage exactly. Is the VPP connector has specific
terminal +ve and -ve or can we connect the both terminal in any way?
If we have connected the 12V power to VPP connector, should we
connect another power to the power port of the development board?

5) Can the MC68HC711E9CFN2 support LCD port location at$B5F0?

Thankyou for your information. Thank!

Best Regards,
ngo.



----- Original Message -----
From: "chonchet1" <>
To: < > I have developed a application program by using the CME-11E9-EVBU
> development board, where the starting address and reset vector both
> at $E000, RAM at $0200, STACK at $0FFF, and EEPROM (for data storage
> during program running) at $B600. Now, I am trying to program on-
> chip PROM of 68HC711 microcontroller.
>
> 1) Can I use the MC68HC711E9CFN2 (PLCC52) package in the development
> board?

To program the E9 you need a higher programming voltage. If the board doesn't
provide that, you can't use it for programming.

> How to remove the pre-installed microcontroller from its
> socket ( U1 )? I found that it is very hard to remove it, can I use
> socket ( U1 )? I found that it is very hard to remove it, can I use
> the small screw driver or there are special equipment to remove the
> microcontroller?

Some PLCC sockets have a little hole in the center for this reason. If the PCB
also has a hole lined up with the PLCC hole, stick something like a straightened
paper clip to push the chip out.

The better option to use the correct chip extractor for PLCC packages and slowly
pull out the chip by grabbing it from its two opposite corners where there is a
'notch' in the socket.

> 2) For MC68HC711E9CFN2, the starting address and reset vector is
> changed to $D000, but how about the RAM and STACK location? Can I
> still use the same location as mentioned above or should I change to
> location $0000 and $01FF respectively? From the manual, the RAM
> area $0042 to $00FF is reserved for buffalo monitor, what happen if
> my RAM data over take this area?

Buffalo isn't found in 711E9s unless you program it along with your code. For
standalone applications, only your code should be in the PROM. RAM $0000-$01FF,
stack at $01FF, EEPROM at $B600, and code at $D000 is the common layout. But if
your application makes heavier use of registers (e.g. a lot of
BSET/BCLR/BRSET/BRCLR) than of RAM you could move registers to $0000 and RAM to
$1000 for shorter and easier code.

> For EEPROM location, can I still use the same location at $B600?

With the 711E9, the EEPROM has a fixed location $B600-$B7FF so you can't do much
else about this. The only thing you can is disable it when not needed.

> 3) the MC68HC711E9CFN2 is OTP type ( I think is one time
> programming ), if I have programmed a 2 kilobytes program at $D000,
> can I use the remaining 10 kilobytes for another program by changing
> the starting address and reset vector to location $E000 (for
> example) ?

You could program additional code at a later time but reprogramming the reset
(or other) vector isn't possible. You just said it's OTP, and that covers the
vectors, too. There are workarounds, see inside
http://www.aspisys.com/asm11d84.zip at file MISC/MULTBOOT.ASM for one such
example.

> 4) We should apply 12V voltage to VPP connector, what is the maximum
> voltage is allowed ? This is because our ac to dc adaptor can not
> provide 12V voltage exactly. Is the VPP connector has specific
> terminal +ve and -ve or can we connect the both terminal in any way?
> If we have connected the 12V power to VPP connector, should we
> connect another power to the power port of the development board?

I don't remember the specs by heart, but there is very little tolerance on the
VPP. So, read the specs.

> 5) Can the MC68HC711E9CFN2 support LCD port location at$B5F0?

Yes, if used in expanded mode and your address lines are mapped correctly. In
single-chip mode, you can only 'bit-bang' the LCD.

> ngo.




The 2024 Embedded Online Conference