This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Build a programmer by own 100%

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

Parents
  • 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.

Reply
  • 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.

Children
  • "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