We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, friend, is anybody willing to share on how to build a programmer in 8051 ?
My meaning is like create a own software and hardware for flashing 8051. Totally start from ZERO. Step by step up, bit by bit sending the HEX file to the MCUs.
source code avaliable I think is a good start point.
hmmm i might wish to make one for PIC ;) ;) ;)
anyone interested to do it for 8051 lets do that......lets make our own firmware , software + hardware for 8051 programmer. im just fed up with my programmer which is " ez downloader " available on internet.
"anyone interested to do it for 8051 lets do that......lets make our own firmware , software + hardware for 8051 programmer."
Fine - but not really a question about Keil products, is it? See: http://www.keil.com/forum/
Set yourselves up a project website, and make a start on it. Maybe at Sourceforge: sourceforge.net/index.php
Post a link here, so that any interested parties can join in...
If you're going to make it an open-source project, it might be more appropriate to use an open-source compiler...?
Just a thought.
Is anybody here can explain how actually send those bits in the HEX file from the PC to the mcu ?? Can show some examples code so that begineer can get understand easier. From UVISION source code is in C# language but it is too complicated and hard to understand. Can anybody shows some simple code ? maybe we can start to program EEPROM first also can.
"Is anybody here can explain how actually send those bits in the HEX file from the PC to the mcu ??"
There are many possible ways to do it - which one(s) do you want to support?
The easiest way is probably over an RS232 link - there are plenty of serial comms examples around!
"Can show some examples code so that begineer can get understand easier."
Look at the "Hello, world" sample, and start from there...
"From UVISION source code is in C# language"
No, it is not. It is in ANSI 'C' (possibly also C++ for ARM)
"it is too complicated and hard to understand."
If you can't understand it, then you are in no way ready to start building your own programmer!
You need to start with the basics; eg, see: http://www.keil.com/books/ www.8052.com/books.phtml www.8052.com/tutorial.phtml
"maybe we can start to program EEPROM"
That will still require transferring data to the microcontroller - so start with the serial comms!
I posted "manufacturers do not release parallel programming info." (check if you do not believe me) and the thread happily com=ntinu8es with "let's make one"
Erik