Mon08 hc908sr12

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Mon08 hc908sr12

2,399 Views
GTE
Contributor I
I have worked with several microcontrollers hc08 using mon08 and codewarrior 6.0, but for some reason that I do not understand I can not connect the microcontroller mc908sr12, I have followed the electrical diagram of mon08 step at a time without obtaining success


 
Greetings to all


Labels (1)
0 Kudos
Reply
5 Replies

611 Views
GTE
Contributor I
Hello PEG

I do not want burner mon08 operate with the microcontroller hc908sr12 due to the crystal 4.9152 solution is to use a crystal of 9.8304 which took a lot of time trying to get in stores in mexico, there will be bought on the internet although shipping will be a bit expensive already will know this as the Mexican economy in the beauty of this is that the crystal can get it if 32.768KHz. Thanks PEG

Reguards
GTE
0 Kudos
Reply

611 Views
GTE
Contributor I
Hello bigmac
I have a burner mon08 with which burn all my microcontrollers I tested several.
The burner gives me terminals osc1 osc2 vdd vss vtst and pin for cominicacion.
This burner uses a quartz crystal of 4.9152 MHz.
Then everything will be solved if I change the crystal by one of 32,768 kHz.




Reguards,
GTE
0 Kudos
Reply

611 Views
peg
Senior Contributor IV
Hi GTE,

When you say your MON08 adapter has a 4.9MHz crystal to you mean just a crystal or a full oscillator that produces a square wave output?

As with most of these parts you need a 9.8MHz or 32k crystal and a blank part
OR
4.9MHz or 9.8MHz OSCILLATOR (on OSC1) for blank/non-blank entry.

To cover the most devices a MON08 adapter should provide a 9.8MHz square wave output for the clock.

Doesn't work on USB devices for instance, but there you are already forced to use the appropriate crystal on board.

If you have a 4.9MHz square wave output you should be able to connect to the SR along with the appropriate levels on the other MON08 pins.


0 Kudos
Reply

611 Views
Ake
Contributor II
Hi,
If you look in MC68HC908SR12/D, Table 10-1, there is all the possibilities to enter the Monitor mode.
If you call the top row "0", the next "1" etc, then the real useful ones are "1" and "2".
"3" and "4" will only work on erased Flash EPROMs (where the reset vector is erased.)
 
The "3" and "4" are useful for burning HC908SR12 for production. Actually an HC908SR12 with a blank Flash EPROM inside, with a 32 kHz crystal connected, will automatically start in "3". So it will automatically wait for a program to be downloaded.
Note that once the HC908SR12 has been programmed, it will not enter this mode until the Flash EPROM has been erased in another mode.
 
So I would concentrate on "1" and "2".
The difference between "1" and "2", is how PTC1 is connected and that sets the frequency of the oscillator.
Notice that if you have a frequency of 32 kHz or 4.9152 Mz, you can use an external crystal.
If you want to use the 9.8305 frequency, it must be an oscillator.
 
Notice also that the PTA0 pin must be pulled high when the /RST pin goes high. So add a 10 kOhm pullup resistor to this pin.
 
The Vpp voltage must also be present when the /RST pin goes high. The high voltage is not used for the Flash EPROM programming, it selects the Monitor mode.
 
Yep, I think that was all.
 
Regards,
Ake
 
0 Kudos
Reply

611 Views
bigmac
Specialist III
Hello,
 
Are you using an external oscillator module for programming purposes?  It appears you can only use a 32.768 kHz crystal to program a blank part.
 
Regards,
Mac
 
0 Kudos
Reply