Microcontroller › 8051 › Clock using 89c51 microcontroller
- This topic has 8 replies, 2 voices, and was last updated 14 years ago by
dagakshay.
-
AuthorPosts
-
March 11, 2011 at 9:47 am #791
iman paul
ParticipantI am making a seven segment display clock(project code MC008). But when I try to connect the microcontroller using rs-232, it fails. I am using win_7, so I don’t have Hyper Terminal to connect to. I’ve been able to generate the hex file from the code given. I used ez-uploader 3.0 to flash the rom but it’s not been connecting to the port(COM 1). I’ve double checked every connection. Please help. Thanks.
March 12, 2011 at 12:07 pm #5722dagakshay
Participantsir where exactly you getting problem…
since you u using W_7 you don’t have a hyperterminal or
you had dump the program into the controller but not able to run it or
not able to dump the programe…
what is that EZ programmer???March 14, 2011 at 6:52 pm #5746iman paul
Participantok, I’ve somehow copied the files of hyperterminal into my machine & it is connecting to the microcontroller. But then what ? How do I download the hexfile into the ROM ? Plz help.
March 15, 2011 at 4:34 am #5747dagakshay
Participantso your problem is you want to dump/burn/put the hex code into your controller???
but you said you had somehow copied the files of hyperterminal into youir machine?? what does this mean?? adn it is connected to microcontroller… you machine is connected to microcontroller and you have copied some fiels to that controller or to machine what file you have copied…
iman paul…. do elobrate the things clearly or else how can i understand what you want to do and what problem you facing????
March 15, 2011 at 11:51 am #5751iman paul
ParticipantSince I had told you previously that I use win_7, I don’t have Hyper Terminal in my computer. So, I googled this problem & got a solution that says, just copy the hyperterm.exe & hyperterm.dll file from any xp installed computer & put those in your program files. I did & it worked actually. This is how I am being able to connect to the microcontroller using Hyper Terminal. But still I don’t know how to copy that HEX file into the microcontroller. Plz Help.
March 15, 2011 at 12:07 pm #5753dagakshay
Participantto copy a hex fiel into your controller you need a programmer(also known as burner)….
which controller you using(eg: 8051, AVR, PIC)?????March 15, 2011 at 12:29 pm #5754dagakshay
Participantoohhhh so EZ is the programmer you using….
k… see you might have got some GUI check that you can dump the file using that…
from where you have got that EZ programmer any link???you can try
http://www.kmitl.ac.th/~kswichit/IspPgm30a/ISP-Pgm30a.html
i tried that and it works fine its a very low cost programmer, it works on parallel port.. try to keep the wire length shorter than 1.2meter
it works for S series controller and some of avr tooand if you using AVR try for PONY PRO itws more simpler one. you just need few registors and a transistor… this too need a serial port in you PC….
i tried both and they work fine….remmeber you don’t need a hyperterminal or any terminal… though you using Win_7 you just need a serial port in you system adn the GUI it self will connect it to the com port you don’t need to worry about it….
March 16, 2011 at 4:03 am #5760iman paul
ParticipantI’m using atmel 89c51 microcontroller with a serial rs-232 interface, because my program is interrupt driven so I
can’t use parallel port. Tell me about a burner that works on serial port.March 16, 2011 at 4:27 am #5764dagakshay
Participantthe burner is a seprate part it doesnt need to do any thing with you program, it just burn/dump the program into the controller.. you need a seperate CKT to burn at89c51 then take out you controller from there and then put into you ckt….
the the link an givng you is the simplest and the cheapest one to make a burner(for at89s series) it works on parallel port… the only way to burn the at89c51… there are other ckts too that uses serial port but then again they are bit complex and at then and the convert the data into parallel stream… k leave it, it doesnt concern right now..
why dont you swith over s series… i will find if i get any simpler ckt for 89c51 which you can made on your own…..
have you heard of philips P89V51RD2 controllers, they have the same archi as 8051 and its very eary to make it burner…. -
AuthorPosts
- You must be logged in to reply to this topic.