Author Topic: Read Flash Memory ATMEL AT89C52 Microcontroller  (Read 1014 times)

0 Members and 1 Guest are viewing this topic.

Offline 2XTopic starter

  • Frequent Contributor
  • **
  • Posts: 434
  • Country: gr
Read Flash Memory ATMEL AT89C52 Microcontroller
« on: April 06, 2025, 03:23:09 pm »
Hi,
I am trying to read the flash memory from the ATMEL AT89C52 microcontroller (from a damaged PCB) with the T56 universal programmer, but I am getting an error (images 2,3,4). The error says that the pins 38 & 39 from the microcontroller don't contact with the zif connector from the programmer. I measured all the pins from the microcontroller with the multimeter in diode mode and all pins show approximately 0.6V except from the pins 38 & 39 where show OL (image 9 - I suspect that these pins are damaged). Also, I remove the Check ID (images 4 &5) option from the programmer’s software and the programmer shows "Read Succeed" but didn't read something at all… all are FF.
There is something where I could do to read the flash memory?
« Last Edit: April 06, 2025, 03:24:54 pm by 2X »
 

Online PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 2368
  • Country: au
Re: Read Flash Memory ATMEL AT89C52 Microcontroller
« Reply #1 on: April 07, 2025, 04:07:33 am »
If the part is secured, you will not be able to easily read the contents.
If pins are damaged, the chip may also be internally damaged.
 
The following users thanked this post: 2X

Offline bobxyz

  • Contributor
  • Posts: 35
  • Country: us
Re: Read Flash Memory ATMEL AT89C52 Microcontroller
« Reply #2 on: April 07, 2025, 04:37:29 am »
Your first screenshot says: "No Programmer Found" and "Demo running as TL866II Plus Programmer".  In other words, it's running in demo mode and is ignoring the actual programmer.
 
The following users thanked this post: 2X

Offline 2XTopic starter

  • Frequent Contributor
  • **
  • Posts: 434
  • Country: gr
Re: Read Flash Memory ATMEL AT89C52 Microcontroller
« Reply #3 on: April 07, 2025, 07:46:27 pm »
Your first screenshot says: "No Programmer Found" and "Demo running as TL866II Plus Programmer".  In other words, it's running in demo mode and is ignoring the actual programmer.

In first picture I haven't connect the programmer. The programmer is connected fine but I can't read the MCU.
 

Offline 2XTopic starter

  • Frequent Contributor
  • **
  • Posts: 434
  • Country: gr
Re: Read Flash Memory ATMEL AT89C52 Microcontroller
« Reply #4 on: April 07, 2025, 07:53:52 pm »
If the part is secured, you will not be able to easily read the contents.
If pins are damaged, the chip may also be internally damaged.

The MCU working... it is from a control panel of a Fendt 250V 1991 tractor. The problem is that not only digits on the LCD display are displayed (I have install new LCDs and LCDs drivers).

 

Offline Atlan

  • Frequent Contributor
  • **
  • Posts: 697
  • Country: sk
Re: Read Flash Memory ATMEL AT89C52 Microcontroller
« Reply #5 on: April 09, 2025, 05:13:33 pm »
It is very likely that read protection is enabled.
FNIRSI 1013D Always provide a picture or video with the problem where the parameters of the oscilloscope are visible, and a picture of the diagnostic screen with the values.
Firmware is here (or not) https://github.com/Atlan4/Fnirsi1013D/tree/main/latest%20firmware%20version
 

Offline wraper

  • Supporter
  • ****
  • Posts: 18299
  • Country: lv
Re: Read Flash Memory ATMEL AT89C52 Microcontroller
« Reply #6 on: April 09, 2025, 05:45:29 pm »
This MCU has parallel programming interface. Most of the pins are required for programming. So if you have some I/O damaged, you won't get the data out even if read protection is not enabled. https://www.microchip.com/content/dam/mchp/documents/OTH/ApplicationNotes/ApplicationNotes/DOC0285.PDF
Edit, you could try baking the chip to ~150oC. There is some chance that if it's a bond wire issue, they may regain contact for a while.
« Last Edit: April 09, 2025, 06:12:34 pm by wraper »
 
The following users thanked this post: 2X

Offline 2XTopic starter

  • Frequent Contributor
  • **
  • Posts: 434
  • Country: gr
Re: Read Flash Memory ATMEL AT89C52 Microcontroller
« Reply #7 on: April 14, 2025, 06:26:04 pm »
I bought some new chips and all are read it fine.
 

Offline 2XTopic starter

  • Frequent Contributor
  • **
  • Posts: 434
  • Country: gr
Re: Read Flash Memory ATMEL AT89C52 Microcontroller
« Reply #8 on: April 14, 2025, 06:29:17 pm »
This MCU has parallel programming interface. Most of the pins are required for programming. So if you have some I/O damaged, you won't get the data out even if read protection is not enabled. https://www.microchip.com/content/dam/mchp/documents/OTH/ApplicationNotes/ApplicationNotes/DOC0285.PDF
Edit, you could try baking the chip to ~150oC. There is some chance that if it's a bond wire issue, they may regain contact for a while.

There is a way for serial programming?
 

Online up8051

  • Frequent Contributor
  • **
  • Posts: 330
  • Country: pl
Re: Read Flash Memory ATMEL AT89C52 Microcontroller
« Reply #9 on: April 14, 2025, 06:48:19 pm »
No.
AT89C52 has only parallel programming mode.
 
The following users thanked this post: 2X

Offline mikerj

  • Super Contributor
  • ***
  • Posts: 3468
  • Country: gb
Re: Read Flash Memory ATMEL AT89C52 Microcontroller
« Reply #10 on: April 14, 2025, 08:03:56 pm »
Are you sure this missing segments aren't caused by a PCB fault, e.g. broken trace or via?
 

Offline 2XTopic starter

  • Frequent Contributor
  • **
  • Posts: 434
  • Country: gr
Re: Read Flash Memory ATMEL AT89C52 Microcontroller
« Reply #11 on: April 14, 2025, 08:14:06 pm »
Are you sure this missing segments aren't caused by a PCB fault, e.g. broken trace or via?


Yes. I checked all of them.
 

Online PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 2368
  • Country: au
Re: Read Flash Memory ATMEL AT89C52 Microcontroller
« Reply #12 on: April 14, 2025, 10:13:43 pm »
The MCU working... it is from a control panel of a Fendt 250V 1991 tractor. The problem is that not only digits on the LCD display are displayed (I have install new LCDs and LCDs drivers).

Your only option may be to ask the supplier for a programmed part, or a replacement board ?
How functional is the unit? Aside from visual effects, how partially operational is it ?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf