newbie help, Please
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
newbie help, Please

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System
Author Message
Guest






Posted: Wed Nov 23, 2005 7:52 am    Post subject: newbie help, Please Reply with quote

Ok, so I decided to build a LC meter based on 89c2051 microcontroller.
I have 35 yrs experience in electronics and I have limited experience
flashing at90s2313 with a home made programmer.

So I made the python programmer and used py2051.exe to program
the 89c2051. see
http://www.geocities.com/dinceraydin/8051/index.html

I cannot get the blink led test circuit to work....
I do get a burn success message but very very fast!
If I for eg, left the chip out it gives an error msg, likewise if I
unplug
the power, likewise if I unplug the 25pin printer cable...
so it seems to be doing something.
I am using a celeron d processor at 2.9g hz and win XT

Maybe my computer is too fast?

Also the circuit is so very simple and basic..... but the only time I
can get
oscillation is by using a 4 mHz xtal . 10mHz and 11.05mHz xtals show
a flat
oscilloscope trace. Also only pin 4 shows oscillation never pin 5.
Is this normal? Should a chip whether programmed or not show a clock
pulses
(oscillation) ? Maybe I have bad chips? I bought them from Digikey.
This is very frustrating for me with all my electronic backgnd... but I
can bear it (smile)

All I want is to be able to program a chip just to use in my LC meter
circuit..
http://www.hw.cz/constrc/lc_metr/#DOWNLOAD


Thanks for any reply....
Back to top
Guest






Posted: Wed Nov 23, 2005 5:15 pm    Post subject: Re: newbie help, Please Reply with quote

Instead of a scope, I used a freq counter and found out
that there IS oscillation. So now I strongly suspect that the problen
is
in the programming.
Any ideas?

Thanks again
Back to top
mw
Guest





Posted: Sat Nov 26, 2005 5:15 pm    Post subject: Re: newbie help, Please Reply with quote

You might want to check the pulses coming from the PC's printer port to
the AT89C2051. Do they look right on a scope? If you aren't getting
any pulses, maybe your Windows XP is blocking access to the port.

Have you loaded the DriverLINX Port I/O Driver ? That's the one I use,
and it does work OK. I am not sure why SST doesn't have it on their
site anymore, though.

mw

mach7phil@netzero.com wrote:
Quote:
Instead of a scope, I used a freq counter and found out
that there IS oscillation. So now I strongly suspect that the problen
is
in the programming.
Any ideas?

Thanks again
Back to top
Guest






Posted: Wed Nov 30, 2005 8:50 am    Post subject: Re: newbie help, Please Reply with quote

Thanks MW for the reply... I am glad to know someone is helping me.
Yes the DriverLINX is installed ( it is part of installdriver.exe that
comes
with the program)
I ran it on an older computer with Win98.
Also I used blowit.exe (under dos) with both computers.
Still no luck. I do get good messages during prograamming,
such as reading, writing, and success.
At this point I strongly suspect that I need a good working HEX file
to test it with....
Do you have any know good simple hex file to try?
Much, much Thanks,
Oh, I have the scope at a different place from the computer.
Aand I wouldnt know what trace to look for.

mw wrote:
Quote:
You might want to check the pulses coming from the PC's printer port to
the AT89C2051. Do they look right on a scope? If you aren't getting
any pulses, maybe your Windows XP is blocking access to the port.

Have you loaded the DriverLINX Port I/O Driver ? That's the one I use,
and it does work OK. I am not sure why SST doesn't have it on their
site anymore, though.

mw

mach7phil@netzero.com wrote:
Instead of a scope, I used a freq counter and found out
that there IS oscillation. So now I strongly suspect that the problen
is
in the programming.
Any ideas?

Thanks again
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB