Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] 89v51rd2bn ISP problem

Status
Not open for further replies.

kirti_sonawane999

Junior Member level 3
Joined
Dec 24, 2010
Messages
26
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Pune
Activity points
1,481
hi, i am trying to dump program in 89V51RD2BN IC using Serial programming, but not working.
when I click "start" on Flash magic. It shows an error of "Reset the device in ISP mode now" after resetting, nothing happens.

I have used MAX232N IC
10 uF for it capacitors...
serially interface to PC by RS232 and DB9...
here are the details-----

controller interfacing is correct...
oscillator is O.K. (12 MHz and two 33 Pf)
reset switch is O.K. (it is showing 5.02V on pin 9 when I press reset switch)
I have connected EA to Vcc
I have check power supply it is showing 5.02 V supply on controller and MAX232 as well.

I have checked voltages on MAX 232 IC
pin 2. ----9.2V
pin 6 ----- (-8.57V)

I have checked voltages on DB9 connector
pin no 2 (Rxd)-----(-8.58V)
pin no 3 (Txd)------(0.00V)
pin no 5 is grounded


Still It didn't worked .:?:
Please Help :-( :-(

and one more thing..
I have used a supply of adaptor of 12V 500mA
connected to regulator . ( I do not give capacitors to 7805)
And output given to 89V51RD2 and MAX232 .
Is it ok?
It is showing current 12.3mA to microcontroller.
and 3.4mA to MAX 232 IC when running..
(I have checked in serial connection)


Please reply........ **broken link removed**
**broken link removed**
**broken link removed**
**broken link removed**
 

this problem occures during improper serial RS232 conectivity
please check your connectivity
1st of all check MAX232 driver
 

Thanks for reply . As you said, i check all physical connections . All are ok . How to check electrically ?
 

if u have connected Tx and Rx to 13 and 14th pin of MAX 232 in output side
*then short 11 and 12th pin of the max232
* open the hyperterminal
*enter some keys from the keyboard of your computer
*then if that driver is working , the entered data will display on the hyperterminal
 
if u have connected Tx and Rx to 13 and 14th pin of MAX 232 in output side
*then short 11 and 12th pin of the max232
* open the hyperterminal
*enter some keys from the keyboard of your computer
*then if that driver is working , the entered data will display on the hyperterminal

You should never short pins at MAx232... when it is powered ON..... It will damage the entire circuit.

One thing is Swap TX and RX pin at any one end and try

---------- Post added at 15:47 ---------- Previous post was at 15:45 ----------

Where did you get the serial cables. Looks like it is some GSM modems cable
 
You should never short pins at MAx232... when it is powered ON..... It will damage the entire circuit.

One thing is Swap TX and RX pin at any one end and try



if you short in input side of max232 ,i.e, T1in and R1out nothing is going to happen
that mean that the data input from R1out to the controller is directly passed in to the T1in, which cause no damage
 

Thats the basics knowldege....
Understand the internal architecture of MAX IC. they have internal charge pumps which work with 10uF capacitors.....
they charge and discharge and pull the voltage levels... repeated shorting will blow up the capacitors you have put....


charge a 10Uf capacitor and short the 2 pins........ see what happens.... give technically correct answers

---------- Post added at 16:25 ---------- Previous post was at 16:19 ----------

which software are you using to burn the program

---------- Post added at 16:47 ---------- Previous post was at 16:25 ----------

It is showing current 12.3mA to microcontroller.
and 3.4mA to MAX 232 IC when running..
(I have checked in serial connection)


hOW did you measure the current at controller pin??????

in flash magic there is option or tools go there and see you have advanced option.. uncheck all the boxes and try again
 
some problems ll occur if we short permanently ....... or for more time.............
i will not damage for small time of duration ...
 
Last edited:

if u have connected Tx and Rx to 13 and 14th pin of MAX 232 in output side
*then short 11 and 12th pin of the max232
* open the hyperterminal
*enter some keys from the keyboard of your computer
*then if that driver is working , the entered data will display on the hyperterminal
Hey thanks....
It is cool thing .... good idea...

---------- Post added at 21:41 ---------- Previous post was at 21:29 ----------

I Think ckshivaram sir are right ...
But I'll check that thing also (shorting the pins and checking it on hyper terminal)
I can afford another IC

---------- Post added at 21:45 ---------- Previous post was at 21:41 ----------

Where did you get the serial cables. Looks like it is some GSM modems cable

Sir, I dont know exactly , I found it at home and from DB9, I thought it was RS232 .
I will check it ..

---------- Post added at 21:48 ---------- Previous post was at 21:45 ----------

which software are you using to burn the program

Sir I am using Flash magic V 3.36.171

---------- Post added at 21:53 ---------- Previous post was at 21:48 ----------

in flash magic there is option or tools go there and see you have advanced option.. uncheck all the boxes and try again
Yes, I have unchecked all.
I am not using DTR to Reset

---------- Post added at 21:56 ---------- Previous post was at 21:53 ----------

hOW did you measure the current at controller pin??????
I measure it by connecting DMM serially
It means I connect 1 probe of DMM to supply output and other to microcontroller supply pin
it means current goes through DMM and I measure it...
????? Is it right? it is correct method???

---------- Post added at 22:02 ---------- Previous post was at 21:56 ----------

I think I have to check my serial cable now....
thanks...

---------- Post added at 22:21 ---------- Previous post was at 22:02 ----------

yes..... I have found my serial cable is not correct...
I have checked its 2nd pin is connected to 3rd one and 3rd to 2nd and 5th to 5th
It is not a "straight through" cable.
I will change it and see again

---------- Post added at 22:29 ---------- Previous post was at 22:21 ----------

(I become happy when i found some mistake.)
Hopes are still alive
 

just connect serial cable to serial port and short pin 2 and 3 of cable and type and see on terminal instead of shorting the IC.

Do one thing...

Keep pressing the reset switch and press program button.. when it asks reset the device then release the reset switch
 

just connect serial cable to serial port and short pin 2 and 3 of cable and type and see on terminal instead of shorting the IC.

Do one thing...

Keep pressing the reset switch and press program button.. when it asks reset the device then release the reset switch

while checking RS232 no need of shorting the IC's

it is enough to short PIN2 & PIN3 of RS232 and checking out put on the hyperterminal
 

Dont turn on microcontroller..
Press read device ID in Flash Magic..
tyanantar adaptor on kar..
U will c device ID in Flash Magic..
Me 89V51Rd2 magachya 5 varshapasun use kartoy...
Its really very handy & cool chip...

__
Amit
** If you find this post useful please press Helpful? Please click:icon **
 
Try two things

switch off the board...start programming...and switch ON the board.

change MAX 232 to ST 232

do these 2 steps only if ur serial port is working.
 

Dear Brother,Use adapter with 5 v,1A.because i use same having crystal 20.000Mhz for programing P89V51rd2.

---------- Post added at 17:02 ---------- Previous post was at 17:00 ----------

wa rao mast bolta ki tumi marathi pan.:)

---------- Post added at 18:02 ---------- Previous post was at 17:02 ----------

hi my programmer for P89V51rd2 is worked in PC. when i connect same setup with laptop then it shows "unable to connect at specific baud rate".in my laptop i have OS window Xp.there is no serial connector. so i buy usb to serial connector.i also test it on my laptop.for testing I short the Rx and TX pin.then go into device manager see the which port assign for the USB to serial.then open flash magic -->tools-->select the assign port-->when type any letter was appear on both screen. now pleas suggest me what is the problem?I am waiting for reply.
 

    V

    Points: 2
    Helpful Answer Positive Rating
1) what have you connected to the reset pin?
2) From where did you buy MAX232 IC?
there are lots of duplicate MAX232 IC's available in market replace the IC i suggest buy Intersil's or ST 232 to be on safer side.
 

Hi friend,

I have practical experience that
some time MAX 232 ic is work normal in regular communication,
but it is not work with flash magic.
(reason does not know perfectly, but i think some time MAX 232 IC take more time to start up.
I have test this project today.)

so, try with another MAX 232 IC.

Hope this is help you.
Shyam
 

Thank you amol shah sir..(I know you)
My problem is solved.I was using null modem cable.
I just alter the connections of pin no 2 and 3 and its working fine.
thank you all.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top