This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

AT89S52 doesn't work as exected.

Hi,

I am working on a small project, for which i have created chip code, which i have tested and it works fine in Keil IDE. But the same when uploaded to chip behaves partly expected or totally unexpected. Some times the chip doesn't reset even done hardware reset.

I have checked it with 3 chips, but no success. My programmer seems fine as it is detecting attached chip and programming chip correctly.

In my project I need serial communication, which is also not working fine. Sometime the MCU skips sending or receiving characters, or doesn't respond to command event after hardware resets.

Could you please suggest me how to resolve this?

Let me know if any further information is required.

Details
AT89S52, USB Programmer, C Programming language,

Regards,

Bhagirath

Parents
  • "Could you please suggest me how to resolve this?"

    it probably makes sense, given the language barrier, for you to post your code and schematic in its entirety so people can better help you.

    I for one have used far simpler reset circuitry than yours and zero problems whatsoever (in a lab environment).

    But it helps to understand exactly what YOU are dealing with before anyone can give you more specific suggestions.

Reply
  • "Could you please suggest me how to resolve this?"

    it probably makes sense, given the language barrier, for you to post your code and schematic in its entirety so people can better help you.

    I for one have used far simpler reset circuitry than yours and zero problems whatsoever (in a lab environment).

    But it helps to understand exactly what YOU are dealing with before anyone can give you more specific suggestions.

Children