+ Post New Thread
Results 1 to 10 of 10
  1. #1
    Newbie level 2
    Points: 26, Level: 1

    Join Date
    Oct 2018
    Posts
    3
    Helped
    0 / 0
    Points
    26
    Level
    1

    How to burn hex file into AT89C51 ?

    Click image for larger version. 

Name:	developmentboard.jpg 
Views:	11 
Size:	89.5 KB 
ID:	149515
    I am doing 3 year in B.E. CSE .I have no idea about practical implementation of microcontroller. I have a development board similar to that i have uploaded.I am using AT89C51-24PI microcontroller.I have searched the internet for whole 2 days but still hadnt found a working burner software.Everything throws "Hardware timeout" error or cant cont connect to the hardware.
    Can anyone do a favour and guide me through the process ?

    •   AltAdvertisment

        
       

  2. #2
    Super Moderator
    Points: 248,202, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    43,165
    Helped
    13134 / 13134
    Points
    248,202
    Level
    100

    Re: How to burn hex file into AT89C51 ?

    The software needs to fit your development board. There are so many working solutions, each using a different programmer hardware.

    - - - Updated - - -

    Need to supplement my first post. AT89C51 is one of the last x51 processors without comfortable in-circuit programming features, it's more than 20 years old. Developing with the shown 8051 Quick starter development board http://silicontechnolabs.in/developm...lcd-ds1307-rtc is expecting additional programmer hardware to "burn" the chip. If you don't have any suitable programmer hardware, it's better to switch a slightly newer device with serial ISP capability like AT89S51.



  3. #3
    Advanced Member level 5
    Points: 14,802, Level: 29

    Join Date
    Nov 2012
    Posts
    2,741
    Helped
    638 / 638
    Points
    14,802
    Level
    29

    Re: How to burn hex file into AT89C51 ?

    I am doing 3 year in B.E. CSE .
    Surely you can find a controller that fits you need rather than struggle to find how one works. The documentation in the website listed is rather sparse. Did you contact the seller for more details?

    And the best advice has already been given above: switch to a better and newer device.



    •   AltAdvertisment

        
       

  4. #4
    Newbie level 3
    Points: 2,729, Level: 12

    Join Date
    Dec 2003
    Posts
    4
    Helped
    0 / 0
    Points
    2,729
    Level
    12

    Re: How to burn hex file into AT89C51 ?

    AT89C51 needs parallel programmer to burn HEX file,
    you can use AT89S51/52 that can use ISP programming
    you can USE W78E052 is equal to 89S52 and can program without serial communication with ISP programming software
    .



    •   AltAdvertisment

        
       

  5. #5
    Full Member level 4
    Points: 2,659, Level: 12
    Achievements:
    7 years registered

    Join Date
    Nov 2009
    Location
    Pakistan
    Posts
    197
    Helped
    19 / 19
    Points
    2,659
    Level
    12

    Re: How to burn hex file into AT89C51 ?

    use external burner for your microcontroller, you will find many external universal microcontrolller programmers on which you will put your controlller and it will burn for you



  6. #6
    Newbie level 2
    Points: 26, Level: 1

    Join Date
    Oct 2018
    Posts
    3
    Helped
    0 / 0
    Points
    26
    Level
    1

    Re: How to burn hex file into AT89C51 ?

    Thanks for your reply . I have a similar board not the same.



    •   AltAdvertisment

        
       

  7. #7
    Newbie level 2
    Points: 26, Level: 1

    Join Date
    Oct 2018
    Posts
    3
    Helped
    0 / 0
    Points
    26
    Level
    1

    Re: How to burn hex file into AT89C51 ?

    Thanks for your reply.I have a RS232 cable.When connected to computer, it shows a device under ports in device manager. Couldn't proceed after this.



  8. #8
    Advanced Member level 5
    Points: 14,802, Level: 29

    Join Date
    Nov 2012
    Posts
    2,741
    Helped
    638 / 638
    Points
    14,802
    Level
    29

    Re: How to burn hex file into AT89C51 ?

    I presume your hex file is sitting on the computer as a disk file. The hex file must be read by the development board and transferred to the microcontroller. You need to have suitable software on the PC that can talk to the development board.

    The software on the PC need to communicate to the development board and will have an user interface. You need to get this software from the vendor because this is specific for the development board you are using. Having only the board is not sufficient.



  9. #9
    Advanced Member level 4
    Points: 7,903, Level: 21
    Achievements:
    7 years registered
    paulfjujo's Avatar
    Join Date
    Jun 2008
    Location
    France 01120
    Posts
    1,298
    Helped
    263 / 263
    Points
    7,903
    Level
    21

    Re: How to burn hex file into AT89C51 ?

    hello,


    i was facing with same problem ...
    i built myself a AT89C2051 programmateur using a PIC 16F874
    it uses Terminal Vbray to send the Hex file into the programmator .. then the PIC decode the file, and send the data trough a parallele port conneted to the AT89C2051.
    It works fine ..
    i used MikroC for 8051 MCU to program my AT89C2051
    and use the resulting Hex file.



  10. #10
    Advanced Member level 5
    Points: 14,802, Level: 29

    Join Date
    Nov 2012
    Posts
    2,741
    Helped
    638 / 638
    Points
    14,802
    Level
    29

    Re: How to burn hex file into AT89C51 ?

    It works fine ..
    True, I just want to say that some interface between the development board and the PC is needed; minimum required is a driver. This is a very simple file but this provides the essential service between the hardware and the software.

    The driver uses hardware specific commands and translates these into an uniform style that is understood by the most of the software. That is how one software can talk to many different boards. The hardware end of the driver is specific to the controller chip on the programmer. The software end of the driver is rather universal and is only OS specific. Thus, the actual user interface can be rather common - and can handle many different boards.

    By the way, hex files are basically binary images and can be directly burned into the given location using only a handful of commands. Timings can be critical but you can do it if things turn up rough.



--[[ ]]--