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.

problem in pony pgmer

Status
Not open for further replies.

senthilkumar

Advanced Member level 1
Advanced Member level 1
Joined
Nov 24, 2001
Messages
401
Helped
27
Reputation
54
Reaction score
19
Trophy points
1,298
Location
india
www.gameroom.com
Activity points
3,965
hai,

i try to pgm the chip89s8252 by pony programmer (avr adapter).

reading ..................ok
writing....................ok
verifying .................ok

but after pgm the code doent work.

i write the code just like that

#include <at898252.h>
#include <stdio.h>

main(){
while(1){
P1^=0xff;
P2^=0xff;
P3^=0xff;
}
}


any one help me
 

Hi senthilkumar,


Sorry I can't help you , I am stuck well below you and was hoping you could help me:
I tried to build the ISP Dongle yesterday to program an AT89S52 but it didn't work. Pony prog gave the message"Device not responding"

Can you please share your circuit and settings in pony prog?

Thanks,

gam
 

Hi senthilkumar,

try aec programmer, 2 resistors and 1 capacitor. Its free, I use it with 89s8252 and I never have a problem.

w w w.aec-electronics.co.nz


Its also suport AT89S51, AT89S52 and AT89S53

Mr.Cube
 

I am not sure if the at89s that you are using have an internal oscillator mode... If so, keep an eye on that.

I got stuck before with pony programming when working with an avr mega8... The error symtoms are fairly similar to yours. I obtain the chip from the university electronic store... Some guys had programmed the chip into the internal oscillator mode without my knowledge. Pony programmer cannot reflash the chip... At the end, I had to use a supported eprom programmer to blank the chip.... Everything worked fine with pony programmer afterwards.
 

I built the STK dongle, but I found It only worked after using twisted pair wires on all the signal lines (each signal line from parallel port twisted around a gnd wire).

Has anyone experienced this behavior ? Or can you tell me which of the lines is the most sensitive one (I suspect the Sck of course).

Thanks and best regards,

Gam
 

To gam
I built the STK dongle, but I found It only worked after using twisted pair wires on all the signal lines (each signal line from parallel port twisted around a gnd wire).

Has anyone experienced this behavior ? Or can you tell me which of the lines is the most sensitive one (I suspect the Sck of course).

Like I sad before I use aec, its very easy to build, my cable is about 5 meters long and I never have problems.

Mr.Cube
 

Actually I tried the aec circuit also but it didn't work. I didn't use twisted pair cable then, so maybe this was the same problem.

But since you say you used a 5 m cable, Is your PC an old type (slower?)

Thanks.
 

I use 2 PC's:

Intel PIII 1GHz and notebook Dell PII 400MHz.

Both work OK!

Did you get error in programming mcu or after proggraming your application don't work (good or at all)???

When you use aec after programming you have to change reset pin voltage with "I" (as I remember well).


Mr.Cube
 

Actually, I get a programming error. maybe there is something wrong in my cable. Thanks
 

hi gam,
check out that if you select the right port for your programmer(com1 or com2) . for AT89Sxx devices you need to select the "Invert Reset" check-box in the interface setup.
i hope it works.else you must check your hardware. :) :wink:
 

gam said:
Hi senthilkumar,


Sorry I can't help you , I am stuck well below you and was hoping you could help me:
I tried to build the ISP Dongle yesterday to program an AT89S52 but it didn't work. Pony prog gave the message"Device not responding"

Can you please share your circuit and settings in pony prog?

Thanks,

gam


pony prog does not support 89s52.
:?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top