1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

need assembly language programmer for AT89S52 in widows 7

Discussion in '8051/8951' started by tsasiq, Oct 1, 2012.

  1. tsasiq

    tsasiq New Member

    Joined:
    Mar 2, 2012
    Messages:
    1
    Likes:
    0
    Location:
    india
    need assembly language programmer for AT89S52 in windows 7

    pls give the link
    thank u





    with regards
    asiq
     
  2. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,245
    Likes:
    911
    Location:
    Rochdale UK
  3. Jon Wilder

    Jon Wilder Active Member

    Joined:
    Oct 22, 2010
    Messages:
    859
    Likes:
    82
    Location:
    Fresno, CA
    You mean you need an "assembler" and a "programmer"?

    An assembler converts assembly source code into machine code in the form of a .HEX or .BIN file.

    A programmer is the hardware that writes it to the chip. It doesn't much care what language the source code was written in as it only sees the assembled machine code file.

    As mentioned above, MCU8051IDE has an integrated assembler as does Keil uVision. The free version of uVision has a 2K code space limit.

    If you're using an Atmel AT89S series chip, the Atmel AT89ISP cable is a great programmer (AT89C series are not ISP programmable).
     
    Last edited: Oct 1, 2012
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. Mike - K8LH

    Mike - K8LH Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    3,641
    Likes:
    109
    Location:
    Michigan, USA

    Jon, please excuse me for reviving such an old thread...

    Are you familiar with the AT89S52? I ask because I'd like to have a play with one, if I can come across one on-the-cheap...

    It seems links for the MCU8051IDE are dead but I found another one called MIDE-51. Also, I came across a project that uses an Arduino as a serial (spi) 89S52 programmer.

    I realize this is ancient technology but I thought it might be fun to play with.

    Cheerful regards, Mike
     
  6. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,245
    Likes:
    911
    Location:
    Rochdale UK
    Hi Mike... You would be better off playing with the phillips 8051 series... I used a P89C668HBA... They come with a bootloader.. If you take a look here
    http://www.electro-tech-online.com/articles/basic-8051-tutorial-1.667/

    The latest MCU8051IDE comes un-built and trying to find TCL compiler is hard work... I have an earlier version at work that supports SDCC C compiler and the assembler... I'll try and dig it out... Its at work somewhere..

    The MCU8051IDE has moved here
    https://sourceforge.net/projects/mcu8051ide/files/mcu8051ide/1.4.9/
     
  7. Jon Wilder

    Jon Wilder Active Member

    Joined:
    Oct 22, 2010
    Messages:
    859
    Likes:
    82
    Location:
    Fresno, CA
    I've actually been using Keil uVision IDE, which comes with their A51 assembler and C51 compiler. Super simple to use IDE.

    I use the Atmel AT89S8253 along with Atmel's AT89ISP programmer cable and AT89ISP software, but it requires a PC parallel port.

    I'm sure it wouldn't be too difficult to design a programmer cable using an FTDI USB-SPI bridge chip such as the FT4222H. The AT89ISP software uses COM ports while the FTDI devices use FTDI's virtual COM port driver.
     
  8. Mike - K8LH

    Mike - K8LH Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    3,641
    Likes:
    109
    Location:
    Michigan, USA
    Thanks a lot, guys... Just ordered AT89S8253 samples and I will look at Kiel uVision...

    Cheerful regards, Mike
     
  9. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,245
    Likes:
    911
    Location:
    Rochdale UK
    Sorry Mike..... It was Chaos at work and I got sidelined... I promise I'll dig it out tomorrow...
     
  10. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,245
    Likes:
    911
    Location:
    Rochdale UK
    Actually... I have a copy on another drive... I've zipped it up, I'm sure it has no dependencies..

    Oh dear... Its too big... Or they wont allow ZIP files...


    Working on it..
     
  11. Mike - K8LH

    Mike - K8LH Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    3,641
    Likes:
    109
    Location:
    Michigan, USA
    Ian, please, don't worry about it. Let me try these other IDEs.

    Thanks, guys. Cheerful regards, Mike
     
  12. Mike - K8LH

    Mike - K8LH Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    3,641
    Likes:
    109
    Location:
    Michigan, USA
    • Like Like x 1
  13. Jon Wilder

    Jon Wilder Active Member

    Joined:
    Oct 22, 2010
    Messages:
    859
    Likes:
    82
    Location:
    Fresno, CA
    Now that thing is cool! The only thing that would complete it would be a ZIF socket.
     
  14. Mike - K8LH

    Mike - K8LH Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    3,641
    Likes:
    109
    Location:
    Michigan, USA
    Last edited: May 12, 2017
    • Like Like x 1
  15. Jon Wilder

    Jon Wilder Active Member

    Joined:
    Oct 22, 2010
    Messages:
    859
    Likes:
    82
    Location:
    Fresno, CA
    Now I haven't done it yet but I've toyed with the idea of making an UNO into a AT89S programmer. Atmel seems to have discontinued their AT89ISP cable and quite honestly, parallel port is so yesterday anyway.

    I may also design a programmer cable with a FDTI FT221X USB-SPI bridge. Should be super simple to do. Since Atmel's software uses COM port drivers and FTDI has their virtual COM port driver it should work.
     
  16. Mike - K8LH

    Mike - K8LH Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    3,641
    Likes:
    109
    Location:
    Michigan, USA
    Hi Jon.

    I've got my AT89S8253 samples, the little 88 cent development board, and I downloaded Keil, so with a bit more research I think I'll be ready for a programmer of some sort. I came across this chaps' Arduino AT89S52 Programmer and Windows app' and I might give it a try. If you get a chance, tell me what you think...

    Cheerful regards, Mike
     
  17. Jon Wilder

    Jon Wilder Active Member

    Joined:
    Oct 22, 2010
    Messages:
    859
    Likes:
    82
    Location:
    Fresno, CA
    The AT89S8253 uses a slightly different programming algorithm from the AT89S52. While the AT89S52 uses a 3-byte protocol, the AT89S8253 uses a 4-byte protocol.

    Did your dev board come with any programming software to use with it?
     

Share This Page