+ 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
    Administrator
    Points: 60,788, Level: 60
    bigdogguru's Avatar
    Join Date
    Mar 2010
    Location
    Southwest, USA
    Posts
    9,268
    Helped
    2246 / 2246
    Points
    60,788
    Level
    60
    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: 9,249, Level: 22
    ALERTLINKS's Avatar
    Join Date
    Dec 2003
    Location
    Pakistan
    Posts
    1,258
    Helped
    382 / 382
    Points
    9,249
    Level
    22

    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
    I know. I know. And once more - I don't know.
    I am too old and would not have enough knowledge to judge, and only have made some remarks in order not to be called ignorant.



  5. #5
    Full Member level 5
    Points: 2,298, Level: 11
    Jigar 4 Electronics's Avatar
    Join Date
    Apr 2011
    Location
    Surat, Gujarat, India
    Posts
    310
    Helped
    39 / 39
    Points
    2,298
    Level
    11
    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

--[[ ]]--