nickgammon / arduino_sketches

Publicly-released sketches for the Arduino microprocessor
650 stars 335 forks source link

Can we program 8051 based MCU with these? #67

Closed HTerminal closed 1 year ago

HTerminal commented 4 years ago

Hello @nickgammon Sir

Can we use these codes to program 8051 based microcontrollers too?

nickgammon commented 1 year ago

No.

kapil-iitk commented 1 year ago

Probably Yes, you can program 8051 microcontroller (if they support SPI programming such as at89s52) by adopting following 2 changes,

  1. Add the signature of the microcontroller
  2. By inverting the reset line (see the data sheet of 8051 microcontroller)

(Looking forward to Nick Gammon for the suggestion)