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 ;) ;) ;)
"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