Feel free to skip this step if it is already wired.What you usually need to set up a minimum system for AT89S52:For clock: 1x Crystal Oscillator, less than 33Mhz 2x Capacitors, about 33pF depending on which crystal you useFor the reset circuit: 1x 10kOhm Resistor 1x 10μF CapacitorThe microcontroller can definitely run without the reset circuit, you just have to manually reset it after powering it up.You can also use one of those minimum system boards. If this is the case, go ahead and skip to the next step. The Arduino IDE comes with avrdude preinstalled. Even better, ArduinoISP, which also comes with the IDE, supports AT89S51(AT89S52).First, upload the sketch named 'ArduinoISP' onto your arduino. The sketch can be found under 'File' - 'Examples' - '11.ArduinoISP' in the Arduino IDE.Then, you have to customize the configuration file of avrdude in order to enable support for our AT89S51(52). You can download an already modified configuration on this page.Double check your wiring, if everything seems OK, run the following:'C:Program Files (x86)Arduinohardwaretoolsavrbinavrdude.exe' -C E:/avrdude8051.conf -c stk500v1 -P COM3 -p 89s51 -b 19200(You might want to replace the path to 'avrdude.exe' with your installation path of the Arduino IDE. Replace 'COM3' with the serial port name of the arduino you use as the programmer.
![]()
CARPROG FULL V10.93(with all Software's activated and all 21 items Adapters), was designed with regard to demands of our customers to have universal tool for car radios, dashboards, immobilizers repair including advanced functions like EEPROM and microcontroller programmer.
![]()
Replace 89s51 with 89s52 if you have an AT89S52. Replace 'E:/avrdude8051.conf' with path to the configuration you just downloaded.).
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |