Author Topic: Read/Write flash from SH79F1619  (Read 745 times)

0 Members and 1 Guest are viewing this topic.

Offline korisnik_123Topic starter

  • Newbie
  • Posts: 4
  • Country: hr
Read/Write flash from SH79F1619
« on: March 23, 2024, 02:28:48 pm »
Greetings,

First of all, disclaimer: I am doing this for the first time, and I don't have experience with this kind of work. So, does anybody know if I can read flash, memory, eeprom, or whatever is needed from the SH79F1619 8051 microcontroller? More precisely, all I need to do is clone instructions from the old chip to the new chip because the old chip is damaged. I have EPZ 2023+ software and hardware for reading eeprom, so I was wondering if it is possible with it. I also have an Arduino but don't have the knowledge to create a code.
 

Offline voltsandjolts

  • Supporter
  • ****
  • Posts: 2300
  • Country: gb
Re: Read/Write flash from SH79F1619
« Reply #1 on: March 23, 2024, 05:37:21 pm »
The SH79F1619 has a code protection feature which has very likely been enabled by the manufacturer to prevent anyone reading/copying the firmware.
 
The following users thanked this post: korisnik_123

Offline wraper

  • Supporter
  • ****
  • Posts: 16865
  • Country: lv
Re: Read/Write flash from SH79F1619
« Reply #2 on: March 23, 2024, 05:44:00 pm »
IME read protection is not always enabled so there is significant chance it can be read. However as it's supposedly damaged, chances diminish greatly. I had some luck reading partially damaged MCU, however if it does not show any signs of life, chances reading it are close to zero.
 
The following users thanked this post: korisnik_123

Offline korisnik_123Topic starter

  • Newbie
  • Posts: 4
  • Country: hr
Re: Read/Write flash from SH79F1619
« Reply #3 on: March 23, 2024, 06:09:01 pm »
Thank you for your answers. Well, it does work, but maybe half of its inputs and outputs work. But the main question is: how can I read or write data from and to it? Do I need to acquire a special programmer and software, or can I use what I've said in the original post?  :-DMM
 

Offline voltsandjolts

  • Supporter
  • ****
  • Posts: 2300
  • Country: gb
Re: Read/Write flash from SH79F1619
« Reply #4 on: March 23, 2024, 07:21:34 pm »
There is a chance the SH79F1619 program code can be read, although I think it is a small chance due to code protection.
To try, you need to find a device programmer which has the SH79F1619 on the list of supported devices.
I don't think the programmer in the OP is suitable.
I also checked xgecu which are popular programmers, but they don't support it either.
 
The following users thanked this post: korisnik_123

Offline wraper

  • Supporter
  • ****
  • Posts: 16865
  • Country: lv
Re: Read/Write flash from SH79F1619
« Reply #5 on: March 23, 2024, 08:45:45 pm »
It has JTAG interface. Also look here https://github.com/gashtaan/sinowealth-8051-dumper
 
The following users thanked this post: korisnik_123

Offline wraper

  • Supporter
  • ****
  • Posts: 16865
  • Country: lv
Re: Read/Write flash from SH79F1619
« Reply #6 on: March 23, 2024, 08:58:04 pm »
Read app note attached. As of what will certainly work is this debugger https://www.yoycart.com/Product/525990161927/ with ProWriter software https://en.sinowealth.com/seach?type_id=68&a_v_type=1
 
The following users thanked this post: korisnik_123

Offline korisnik_123Topic starter

  • Newbie
  • Posts: 4
  • Country: hr
Re: Read/Write flash from SH79F1619
« Reply #7 on: March 24, 2024, 03:01:25 pm »
Well, this looks promising. I'll take a look at it and try. Hopefully, it is not too difficult.
 

Offline korisnik_123Topic starter

  • Newbie
  • Posts: 4
  • Country: hr
Re: Read/Write flash from SH79F1619
« Reply #8 on: March 26, 2024, 05:19:24 pm »
A final update on the problem. I have contacted the developer of the suggested GitHub software, and, as told by him, it is not possible to write a hex file to the MCU without a dedicated programmer, meaning it is not possible to do it with an Arduino.

Next, for suggested programmers, they are too expensive considering I would be using them just for this occasion. So it's a no-go for me.

All in all, I must abandon this journey and close these threads. Thank you all for your help.  :-+
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8276
Re: Read/Write flash from SH79F1619
« Reply #9 on: March 27, 2024, 01:44:50 am »
It's possible, just no one has been motivated enough to figure it out sufficiently yet. ;)

Contrast: https://www.eevblog.com/forum/blog/eevblog-1144-padauk-programmer-reverse-engineering/
 
The following users thanked this post: korisnik_123


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf