Update: The issue is resolved now. Please check my update here: https://forum.allaboutcircuits.com/...fter-flashing-the-program.177718/post-1613102 for details on the issue. The circuit is now successfully implemented, even on hardware.
I am a beginner trying to learn how to flash programs to microcontrollers. I am using Arduino as ISP. When I flash ATMEGA chips there is no issue and the code works fine. But when I try to flash AT89S52 using the same apparatus, apparently the code is flashed, but the microcontroller does nothing. I have been trying to work it out, to no success.
Any guesses where can I be wrong.?
PS: I don't have a schematic but I will attach image of the circuit that I created on breadboard over here.
Connections are :
40 to VCC, 20 to GND, 31(active low EA) to GND, all ISP to respective pins of Arduino and also an led to P0.0 with a pull-up (doesn't work with or without it)
And I have changed the chip like three times, same issue persists
I am using a 11.059MHz crystal with 22pF capacitors.
I am a beginner trying to learn how to flash programs to microcontrollers. I am using Arduino as ISP. When I flash ATMEGA chips there is no issue and the code works fine. But when I try to flash AT89S52 using the same apparatus, apparently the code is flashed, but the microcontroller does nothing. I have been trying to work it out, to no success.
Any guesses where can I be wrong.?
PS: I don't have a schematic but I will attach image of the circuit that I created on breadboard over here.
Connections are :
40 to VCC, 20 to GND, 31(active low EA) to GND, all ISP to respective pins of Arduino and also an led to P0.0 with a pull-up (doesn't work with or without it)
And I have changed the chip like three times, same issue persists
I am using a 11.059MHz crystal with 22pF capacitors.
Attachments
-
3.6 MB Views: 12
-
6.2 MB Views: 13
-
4.2 MB Views: 12
Last edited: