You have to put the P89C51RD2 in to program mode.
You need to read the ISP (In System Programming notes on the NXP web site or
Flash Magic web site).
The concept involves /PSEN being low while releasing from a Power On Reset
(POR) or Normal Reset....... only then will the P89C51 go in to programming
mode.
Joe
"karthikbalaguru" <karthikbalaguru79@gmail.com> wrote in message
news:1193393213.560957.46620@e9g2000prf.googlegroups.com...
> On Oct 26, 10:53 am, "jjlodha" <jlo...@gmail.com> wrote:
>> Hi,>> I am having P89C51RD2xx controller and I am using KEIL simulator to
>> >> create HEX file. I'm using Flash Magic to download it. I designed a
>> >> ckt
>>
>> on bread board using MAX232 and using serial connections pin 2,3 & 5 to
>> communicate with my hardware but this is not responding,
>> is it the case that we can not use the controller on bread board?
>> or something else?
>
> 1) Check the clock ? Is it alive and is it of correct value ? (Check
> with the corresponding
> specification ) Minimum and maximum high and low times specified
> in the data sheet
> must be observed.
> 2) Chcek the powersupply and GND. Also the capacitorss.
> If you use capacitors on your own, then those 2 capacitors should
> be of correct
> value to generate the desired clock. Mostly, capacitors are the
> main culprits
> while bringing up a board with a processor/controller.
> 3) Check the capacitors with the MAX232 also. All 4 capacitor values
> should be of
> correct value.
> 4) RxD, TxD lines carry the data which correspond to 2 and 3
> respectively. So, try
> loopback test as below -
> On the cable, short lines 2 and 3. This connects the Transfer line
> coming out
> of the processor to the Receive line going in.
>
> Karthik Balaguru
>
Reply by karthikbalaguru●October 26, 20072007-10-26
On Oct 26, 10:53 am, "jjlodha" <jlo...@gmail.com> wrote:
> Hi,>> I am having P89C51RD2xx controller and I am using KEIL simulator to
> >> create HEX file. I'm using Flash Magic to download it. I designed a ckt
>
> on bread board using MAX232 and using serial connections pin 2,3 & 5 to
> communicate with my hardware but this is not responding,
> is it the case that we can not use the controller on bread board?
> or something else?
1) Check the clock ? Is it alive and is it of correct value ? (Check
with the corresponding
specification ) Minimum and maximum high and low times specified
in the data sheet
must be observed.
2) Chcek the powersupply and GND. Also the capacitorss.
If you use capacitors on your own, then those 2 capacitors should
be of correct
value to generate the desired clock. Mostly, capacitors are the
main culprits
while bringing up a board with a processor/controller.
3) Check the capacitors with the MAX232 also. All 4 capacitor values
should be of
correct value.
4) RxD, TxD lines carry the data which correspond to 2 and 3
respectively. So, try
loopback test as below -
On the cable, short lines 2 and 3. This connects the Transfer line
coming out
of the processor to the Receive line going in.
Karthik Balaguru
Reply by jjlodha●October 26, 20072007-10-26
Hi,
>> I am having P89C51RD2xx controller and I am using KEIL simulator to
>> create HEX file. I'm using Flash Magic to download it. I designed a ckt
on bread board using MAX232 and using serial connections pin 2,3 & 5 to
communicate with my hardware but this is not responding,
is it the case that we can not use the controller on bread board?
or something else?