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

Debugging AT89C51RD2

I am using AT89C51RD2. My code is written in KEIL. How can I debug it?

Parents
  • Look in the Datasheet to see what debug support (if any) it provides.

    With no on-chip debug, you'll just have to resort to old-school techniques like printf & toggling IO pins.

    The Simulator might be helpful in some cases.

    Maybe use a device with on-chip debug while debugging, and port to a "non-debug" chip when done?

Reply
  • Look in the Datasheet to see what debug support (if any) it provides.

    With no on-chip debug, you'll just have to resort to old-school techniques like printf & toggling IO pins.

    The Simulator might be helpful in some cases.

    Maybe use a device with on-chip debug while debugging, and port to a "non-debug" chip when done?

Children