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.

AMTEL 89S52 IC Flash Programming Problem

Status
Not open for further replies.

pnnavigator0915

Member level 3
Joined
Feb 4, 2006
Messages
62
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,900
89s52 programmer

Hi guys,

I have been trying to make a programmer board for programming possibly each and every In system programmable microcontroller. I have used the simple circuit of interfacing the microcontroller under programming with the parallel port through the buffer 74HCT541.

I am not able to get this circuit work. I have debugged it many a times. Can u suggest any other type of programming technique for the In System programmer.

Thank you for your kind attention.

Regards.

 

eng_ahmed22

Full Member level 4
Joined
Jun 7, 2005
Messages
190
Helped
20
Reputation
40
Reaction score
5
Trophy points
1,298
Activity points
2,944
89s52 programmer circuit

hi
can u upload the schematic so we can chek it ti be sure that it dont contain any errors???
hava a nice day
salam
Ahmed
 

silvio

Advanced Member level 3
Joined
Dec 31, 2001
Messages
716
Helped
105
Reputation
210
Reaction score
16
Trophy points
1,298
Location
Romania
Activity points
11,471
ic 89s52

Hi pnnavigator0915,

This problem has been discussed many times on forum.

Did you tried this kind of circuit interface ?

isp1_sch.gif


https://chaokhun.kmitl.ac.th/~kswichit/IspPgm30a/ISP-Pgm30a.html

If yes, bear in mind that you have to short pin 2 and 12 of DB25 connector when using software https://chaokhun.kmitl.ac.th/~kswichit/IspPgm30a/ISP-30a.zip

As the name said (In-System-Programming) you need microcontroller already fitted in your board with a crystal oscilator (min 3MHz) running and +5v rail stable.

You need then some design tips regarding pins P1.5 P1.6 and P1.7 involved in programming and used by your application, too.

But if you tried to program the AT89S52 "in the air" (despite the ISP name) then you can use this circuit, which supplies the system clock at pin XTAL1, too.

SPI_PGM.gif


More details here: https://chaokhun.kmitl.ac.th/~kswichit/SPI_Pgm/SPI-Pgm37.html

You can even try loading through SPI interface without 74HCT541 inteface :

https://chaokhun.kmitl.ac.th/~kswichit/cheapcable/index.html

though not recommended. But you still need the crystal fitted to AT89S52.
 

pnnavigator0915

Member level 3
Joined
Feb 4, 2006
Messages
62
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,900
89s52 programming

Thank you for your sincere efforts guys.

Yes i have tried the first circuit.

Hey thank you silvio, I didn't know about shorting the pin numbers 2 and 12. I would surely try out this thing and inform about the further developments.


Thank you for ur kind attention.

Regards
 

rushikesh.deshmukh

Newbie level 5
Joined
Jan 28, 2008
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Nagpur, India
Activity points
1,344
89s52 isp programmer

I've also used the same circuit with pins 2 and 12 shorted.The software does not recognized my device correctly.It reads the microcontroller only when 89S53 is selected,though mine is 89S51.Also there is an error while writing,says that

program buffer 00h
data buffer 80h

Please help me on this
 

mvs sarma

Advanced Member level 3
Joined
Apr 23, 2006
Messages
789
Helped
121
Reputation
244
Reaction score
80
Trophy points
1,308
Location
Hyderabad, India.
Activity points
5,574
programming 89s52

pnnavigator0915 said:
Hi guys,

I have been trying to make a programmer board for programming possibly each and every In system programmable microcontroller. I have used the simple circuit of interfacing the microcontroller under programming with the parallel port through the buffer 74HCT541.

I am not able to get this circuit work. I have debugged it many a times. Can u suggest any other type of programming technique for the In System programmer.

the Adam Dybkowski programming software down-loadable from there, will help as it has facility to define any pin for any purpose
Thank you for your kind attention.

Regards.

Try using the ISP programmer from www.ikalogic.com/isp.php
try reading the forum for certain clues, and you will go thro
Sarma
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top