Discussion in "Project Addition or Changes" started by    nitheeshas    Jan 3, 2012.
Fri Feb 03 2012, 10:58 pm
#21


AT89S2051 is different. I was actually talkin about P89V51RD2 anyways... you can surely replace C2051 with S2051. The ISP circuit are available online, check here:
http://dybkowski.net/content/en/node/15
http://ikalogic.com/isp.php

Ajay Bhargav



thanks for that.. Never thought it would be that easy! so we just have to connect those pins to the mosi, miso, sck & rst pins of the microcontroller?! Great!


Interrupts are an "add on".
The port works as usual, but you only see changes if you enable interrupts.
Other pins are more complex.
EG..if you enable the serial port, the TX/RX pins are controlled by the
serial hardware.
Actually I'm assuming that is the case
It may not always be true, but I never never tried to use a pin for two purposes
at once, it is hard enough doing one thing at once

ExperimenterUK


I was asking to make a continuity in the input port. I mean, P3.2 is being used as interrupt while propeller display is running. So, while inputting the new sequence, i can just disable that interrupt & use p3.0 to p3.5 & hence get the 6 input lines continuously. So then programming will be easy.


Use Proteus to build a test circuit... it saves a *lot* of time.

ExperimenterUK


Have heard of it, but haven't used it. Will check it out for sure.
Sun Feb 05 2012, 12:48 pm
#22

Have heard of it, but haven't used it. Will check it out for sure.

nitheeshas


Search on forum you might be lucky make sure you dont get addicted to that software lol!
Sun Feb 05 2012, 02:55 pm
#23


Search on forum you might be lucky make sure you dont get addicted to that software lol!

Ajay Bhargav



Use Proteus to build a test circuit... it saves a *lot* of time.

ExperimenterUK



man that software is really awesome! *no words to say*



The ISP circuit are available online, check here:
http://dybkowski.net/content/en/node/15
http://ikalogic.com/isp.php

Ajay Bhargav


About the programmer, i made the programmer shown in link below. I couldnt get 74LVC244 nor the AND gate ICs which were shown in the links you posted. I bought 74LS244, thinking it would be fine to use in circuit shown in the 1st link, but anyways, i searched for an ISP programmer that is using 74LS244 & got this link. You think it would be fine?


http://www.mytutorialcafe.com/Microcontroller%20Programmer%2089S51.htm

Also, i saw this line in the 2051 datasheet in the ISP section: "SCK frequency should be less than (XTAL frequency)/8."
How can we know the SCK frequency?


[ Edited Sun Feb 05 2012, 10:11 pm ]
Mon Feb 06 2012, 10:14 pm
#24
@ nitheeshas
yes this link is fine and it is working programmer
http://www.mytutorialcafe.com/Microcontroller%20Programmer%2089S51.htm
Wed Feb 08 2012, 01:44 am
#25
you can use 74LS244 in place of 74LVC244 as both are same function octal buffer with tristate output.
Thu Feb 09 2012, 08:52 pm
#26
Thanks Majoka & Ajay bro. Built the S2051 programmer. But now, i cant find that microcontroller anywhere in the city i live at. One shopkeeper told they discontinued it. Is it true? Do you know any good online stores to buy it from India?

OR suggest some alternatives for S2051....


[ Edited Thu Feb 09 2012, 09:33 pm ]
Fri Feb 10 2012, 12:47 am
#27
@ nitheeshas
u can use at89c2051
s2051 and c2051 is same things
see these attachments may be u find i t useful

Fri Feb 10 2012, 02:02 pm
#28
@majoka: Thanks for that collection of programmers.
But the problem is that there isn't any 8051 programmers available for me, in order to burn the firmware to the master microcontroller(in Easy downloader). That is why Ajay bro advised me to use a microcontroller that supports ISP so that a simple programmer could be built, which dont require a master uC. I have only ATMEGA8 & ATMEGA8535 programmers. Do you know any C2051 programmers that are using these uC as master?
The USBASP uses ATMEGA8, but i think its for ISP supported microcontrollers only, right?
Sat Feb 11 2012, 12:22 pm
#29
why dont u use ATMEGA in your project then??? wont that be good?
Sat Feb 11 2012, 12:50 pm
#30
I thought about that, but i'm not confident in converting the assembly program to atmega compatible program. I have only done small programs with ATMEGA series. Also, i'm already lagging in submitting the project. So i just decided to fix with some 8051 microcontroller only. Anyways, I ordered S2051 from Robosapiens India just now.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

ChrisLub
Tue Apr 23 2024, 05:21 pm
Davidbab
Tue Apr 23 2024, 10:41 am
Richardrit
Tue Apr 23 2024, 09:54 am
HenryLaf
Mon Apr 22 2024, 03:50 pm
bleradrar
Mon Apr 22 2024, 06:38 am
ppu-pro_ka
Sun Apr 21 2024, 07:39 pm
Infewow
Sun Apr 21 2024, 06:30 pm
HumanTak
Sun Apr 21 2024, 12:26 pm