89s51 Programming example

Discussion in 'Embedded Systems and Microcontrollers' started by ak08, Sep 6, 2009.

  1. ak08

    Thread Starter New Member

    Sep 6, 2009

    I am a student. I am doing a project using 89s51. I am to write a C program into it. I just want to see a example program in C to learn abt it. I also need the buner circuit for it. Can some one please help me out.

    Thanks in advance
  2. beenthere

    Retired Moderator

    Apr 20, 2004
  3. rushi53


    May 8, 2009

    • example program in C
    Refer to Microcontroller book by Mazidi(Latest edition) you will get all sample codes there. Its good for beginners.

    • buner circuit
    You don't need "burner circuit" or "programmer" for 89s51. Bcoz it has ISP i.e. in system programmer. Refer to datasheet of 89s51 from Atmel website.

    Please let me know if you need any more help.
  4. Arm_n_Legs

    Active Member

    Mar 7, 2007
    Yes. You dont need a burner for the 89S51, but you would need some setup to download. You can get the download cable ISP89 from Atmel (http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2877). Then donwload the free software from Atmel, I think it is called Flip.

    However, I would suggest using the Atmel 89S5131 instead. Downloading to this chip is very simple. Just hook up the USB from yoor PC to the chp USB pin.