Connect with us

programming Atmel AT89S52

Discussion in '8bit Microcontrollers' started by Peter, Jan 11, 2004.

Scroll to continue with content
  1. Peter

    Peter Guest


    I'm trying to build a small programmer for an AT89S52 µC,
    by using a programmed AT89C2051 as a serial to parallel converter
    and an application on my computer to create the ISP signal.

    I didn't have any problems sending the "Programming Enable" command to
    the controller and also got the proper output form the 89S52.
    Programming the rom also seems to work, but the controller doesn't
    behave as expected after setting RST to low.
    I created a small test program, that should just output #10101010b on
    all Ports, but every pin is just set to high.

    Here's the asm code I use for testing:
    Any ideas why I don't get the expected output on the ports?

    Thanks in advance
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day