+ Post New Thread
Results 1 to 5 of 5
  1. #1
    Newbie level 6
    Points: 160, Level: 2

    Join Date
    Jun 2012
    Posts
    14
    Helped
    0 / 0
    Points
    160
    Level
    2

    How to program AT89s52 for first time.

    Hi frnz,

    I am trying to program at89s52 using just the TXD RXD pins of MCU and serial to usb converter. I've given it a lot of tries but it doesn't work. Am I doing it right or have i just interfaced it for serial communication. and whts the use of ISP ( sorry i am totally new to this stuff).

    Can anyone help me with some schematic for programming the mcu. And is there a need for 2 mcu to program one of it. Whats a preprogrammed mcu ?





    Thanks in advance.

    •   Alt23rd June 2012, 03:36

      advertising

        
       

  2. #2
    Super Moderator
    Points: 58,962, Level: 59
    bigdogguru's Avatar
    Join Date
    Mar 2010
    Location
    Southwest, USA
    Posts
    7,318
    Helped
    2068 / 2068
    Points
    58,962
    Level
    59
    Blog Entries
    3

    Re: How to program AT89s52 for first time.

    One of the simplest methods is to utilize the PC Parallel Port and a 74HCT541, a few resistors and a couple of capacitors.




    ISP Flash Microcontroller Programmer Ver 3.0a



    The above ISP Programmer also works with many Atmel AVR's, which would allow you to program and build an USBasp, which is a widely supported USB based ISP Programmer:

    USBasp - USB programmer for Atmel AVR controllers

    The USBasp can be used to program not only Atmel AVR, but ATMEL AT89S series of 8051s.


    BigDog
    The Edge... there is no honest way to explain it, because the only people who really know where it is are the ones who have gone over.
    -- Hunter S. Thompson



    •   Alt23rd June 2012, 04:52

      advertising

        
       

  3. #3
    Newbie level 6
    Points: 160, Level: 2

    Join Date
    Jun 2012
    Posts
    14
    Helped
    0 / 0
    Points
    160
    Level
    2

    Re: How to program AT89s52 for first time.

    I dont have a parallel port on my PC and if i need to program it serially i dont have a preprogrammed master uc .
    How should i burn the hex file in the master for first time . Is parallel port the only way ....
    I am using this schematic and all this time i've been doing this without the firmware master.( dumb on my part)

    http://www.edaboard.com/attachments/...80-ez_isp2.gif

    Plz do reply.....



    •   Alt11th August 2012, 12:04

      advertising

        
       

  4. #4
    Advanced Member level 4
    Points: 11,056, Level: 25
    ALERTLINKS's Avatar
    Join Date
    Dec 2003
    Location
    Pakistan
    Posts
    1,100
    Helped
    332 / 332
    Points
    11,056
    Level
    25

    Re: How to program AT89s52 for first time.

    A friend in need is a friend in deed.
    Definition from Wiktionary, the free dictionary
    A true friend is one who helps you when you are in need.
    Use some friend's computer for once which has this port



  5. #5
    Full Member level 5
    Points: 2,199, Level: 10
    Jigar 4 Electronics's Avatar
    Join Date
    Apr 2011
    Location
    Surat, Gujarat, India
    Posts
    310
    Helped
    37 / 37
    Points
    2,199
    Level
    10
    Blog Entries
    2

    Re: How to program AT89s52 for first time.

    Never Leave it until you did it.
    Every time you fails go for one more time :)



+ Post New Thread
Please login