Chip enable program error Progisp AT89S51

Chip enable program error Progisp AT89S51

Chip enable program error Progisp AT89S51

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

  • Digital Design and Embedded Programming
  • Microcontrollers

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

[SOLVED] Chip Enable Program Error with 8051 MCU(AT89S51)

  • Thread starter Mithun_K_Das
  • Start date Mar 11, 2020

Status Not open for further replies.

  • #1

I've no previous experience with 8051 MCUs. Recently I was trying to work with AT89S51 MCU.
I'm having Chip Enable Program Error when trying to upload hex to MCU using Progisp1.72

Chip enable program error Progisp AT89S51

I checked many times to ensure this wiring to connect with MCU:

Chip enable program error Progisp AT89S51

Tried two different usbasp programmers and in the last made one to test.
I was able to upload hex to Atmega8, 328, and 32 with these 3 programmers.

Chip enable program error Progisp AT89S51

Whenever I try with AT89S51, same Chip Enable Program Error. Tried changing Crystal with 4MHz, 11.059MHz, 12MHz. Same problem.

Any suggestion ?

  • #2

Not sure about what exact procedures you did, but since the message log right bellow give indication of a sucessful Write, I would check how fuses are set ( e.g code protect, oscillator ). Try uploading a simple blink led to check at least if something works, even at a wrong timming.

  • #3

Yes, I took a hex file of simple blink led from mikroC example file (which I changed the MCU only) and tried to upload that. But can not even erase the AT89S51. Seems like the USBasp can not detect or not getting any response from MCU. I checked the wiring. It was as like this one:

Chip enable program error Progisp AT89S51

I'm not sure if I missing anything else.

  • #4

From the above picture, the IC on the breadboard seems like being AT89C51, not the AT89S51 you mentioned.

  • #5

seems like being AT89C51, not the AT89S51 you mentioned

Good catch! AT89C51 doesn't support ISP (in circuit serial programming).

  • #6

From the above picture, the IC on the breadboard seems like being AT89C51, not the AT89S51 you mentioned.


OH!!!! I did not noticed that before. Dosen't AT89C51 support ISP?

- - - Updated - - -

I have collected AT89S52 and tried again replacing the IC name in the software and in the project board. But same problem. Am I missing something?

Chip enable program error Progisp AT89S51

Chip enable program error Progisp AT89S51

- - - Updated - - -

I found a user guide of USBasp programmer. They are mentioning that the supported MCUs (page: 5), in that list there is no AT89 series. But on the other hand found many guideline online where many people used USBasp to program AT89S52. I've attached the document here.

Chip enable program error Progisp AT89S51

Attachments

  • #7

Finally I solved after working on it for last few days. Now I can program AT89S51 with USBasp. The problem was the USBasp Firmware. I found that the Chinese one can program 8051 series MCUs. But the standard German one doesn't support 8051. So I took the Chinese one and read the flash and eeprom. Then burned it into a fresh Atmega8A which I used as the MCU of the USBasp programmer. Now I can upload the hex to 8051!!!

Chip enable program error Progisp AT89S51

Chip enable program error Progisp AT89S51


- - - Updated - - -

Instruction to others who are having similar problem is collect a Chinese one, Connect with it to another USBasp(any) programmer. Read the flash and eeprom. Then burn these two files to your Atmega8A MCU to make a new USBasp programmer which can program 8051 series MCUs.

- - - Updated - - -

Or I've attached these files. You can use these too.

Attachments

  • USBasp Chinees Firmwire for 8051 series.rar

  • #8

Just made this simple USBasp. You can try it too.

Chip enable program error Progisp AT89S51

- - - Updated - - -

Bottom side of the PCB.

Chip enable program error Progisp AT89S51

Attachments

  • #9

Chip enable program error Progisp AT89S51

JoinedDec 5, 2020Messages3 Helped0Reputation 0Reaction score0Trophy points1Activity points 21

Finally I solved after working on it for last few days. Now I can program AT89S51 with USBasp. The problem was the USBasp Firmware. I found that the Chinese one can program 8051 series MCUs. But the standard German one doesn't support 8051. So I took the Chinese one and read the flash and eeprom. Then burned it into a fresh Atmega8A which I used as the MCU of the USBasp programmer. Now I can upload the hex to 8051!!!

View attachment 158189
View attachment 158190


- - - Updated - - -

Instruction to others who are having similar problem is collect a Chinese one, Connect with it to another USBasp(any) programmer. Read the flash and eeprom. Then burn these two files to your Atmega8A MCU to make a new USBasp programmer which can program 8051 series MCUs.

- - - Updated - - -

Or I've attached these files. You can use these too.


Thank mate, that chinese firmware working fine, another usbasp for 8051 firmware not work

Status Not open for further replies.

Similar threads

  • Digital Design and Embedded Programming
  • Microcontrollers

  • This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.

How do you fix chip enable program error in Progisp?

Check if the USBasp driver is properly installed (update it from settings)..
Recheck the jumpers. ... .
Try to change the port, sometimes some ports can malfunction (ex. ... .
Press reset button for 10 seconds..
Try to erase current program from progisp compiler, and load flash of hex file again..

What is Progisp software?

PROGISP, also known as Progisp.exe or Prog ISP, is a commonly used in-system programming (ISP) software, which specifically allows the programming of AVR microcontrollers manufactured by Atmel (Microchip Technology).