Board logo

标题: T56 - M5M28F102J erase & program failed [打印本页]

作者: OffGao    时间: 2022-5-2 19:54     标题: T56 - M5M28F102J erase & program failed

T56 can't ERASE and PROGRAM for MITSUBISHI M5M28F102J .
wrong command data(D0-D15)?

VCC: 5V OUT OK
VPP: 12V OUT OK

Read: Successed
Erase: Failed (data remains)
Program: Failed

20220502_203628.jpg コメント 2022-05-02 203226.png

图片附件: コメント 2022-05-02 203226.png (2022-5-2 19:39, 84.16 KB) / 下载次数 8738
http://forums.xgecu.com/attachment.php?aid=1217&k=c21fa59c9f103ade2a736210755f5830&t=1713605328&sid=BvpiUO



图片附件: 20220502_203628.jpg (2022-5-2 19:40, 819.69 KB) / 下载次数 9480
http://forums.xgecu.com/attachment.php?aid=1218&k=b3a644a989efade5f6692c70cbfa47c9&t=1713605328&sid=BvpiUO


作者: admin    时间: 2022-5-3 11:52

回复 1# OffGao


   If the IC is Boot Locked . the boot data canot be erased.  Check the data after the boot.  if all is  FF , the chip is boot locked.
作者: OffGao    时间: 2022-5-3 23:08

回复 2# admin
ttps://www.datasheets360.com/pdf/2009148678025692463
I'm checking the datasheet, this chip doesn't seem to suported boot lock feature.
The data read after erasing was the same as the data before erasing.
作者: Albano.Matos    时间: 2022-5-3 23:27

回复  admin
ttps://www.datasheets360.com/pdf/2009148678025692463
I'm checking the datasheet, this ...
OffGao 发表于 2022-5-3 23:08



    As an user... Just to add diagnostic info, please check ohm from every pin, to dip, and sure pin to pin with no high ohm between?
作者: OffGao    时间: 2022-5-4 11:19

回复 4# Albano.Matos

20220504_115958.jpg
I looked it up.
All pins are connected(0Ω), and not shorted near pins.
Also, It successed program for HN27C1024(PLCC44) with this adapter.
This PLCC to DIP Adapter is works.

图片附件: 20220504_115958.jpg (2022-5-4 11:17, 158.93 KB) / 下载次数 8895
http://forums.xgecu.com/attachment.php?aid=1219&k=f8dede77fabe3b0bbce42505da125824&t=1713605328&sid=BvpiUO


作者: Albano.Matos    时间: 2022-5-4 18:09

回复  Albano.Matos


I looked it up.
All pins are connected(0Ω), and not shorted near pins.
A ...
OffGao 发表于 2022-5-4 11:19

As an User:.... Nice answer. Now Waiting , hopefully, Admin gave further tips or new answer.
Rgds
作者: admin    时间: 2022-5-5 17:29

回复 6# Albano.Matos


   I carefully proofread the algorithm and no errors found,    Test with SOP40 1.27mm is normal, but I don't have this chip of PLCC44, and it's hard to find
作者: OffGao    时间: 2022-5-6 00:38

回复 7# admin

20220506_013643.jpg
I tried using an oscilloscope.
After investigating, it was possible that I was sending the wrong command.

Erase Command required "2020H" and "A0A0H".
But, T56 Sending "0020H" and "00A0H".
It's wrong...

图片附件: 20220506_013643.jpg (2022-5-6 00:26, 172.51 KB) / 下载次数 8787
http://forums.xgecu.com/attachment.php?aid=1220&k=70200461f7e745f6bfec646a5296a80d&t=1713605328&sid=BvpiUO


作者: admin    时间: 2022-5-8 16:17

回复 8# OffGao

But M5M28F102J SOP40 is Normal,  they are same command.
please test with new algorithm with 0x2020
ROM40P91.alg (63.74 KB)

Replace it in the floder:  ?/xgpro/algorithm. After replacement, reopen the application software.

附件: ROM40P91.alg (2022-5-8 16:15, 63.74 KB) / 下载次数 23685
http://forums.xgecu.com/attachment.php?aid=1221&k=4845c3e31672ddcac2b8b2b25597b33b&t=1713605328&sid=BvpiUO
作者: OffGao    时间: 2022-5-9 21:11

回复 9# admin

I tried new algorithm file.

READ: Success
ERASE: Success!!
PROGRAM: Failed

Erase Successed. My M5M28F102J was correctly blanked.

But, Program Failed... Only one word is written unstable.
Some modifications are needed.

m5m-2.png
m5m-3.png

图片附件: m5m-2.png (2022-5-9 20:47, 52.14 KB) / 下载次数 8689
http://forums.xgecu.com/attachment.php?aid=1222&k=bc61dea917c98b484dbe6e8a4579cfcb&t=1713605328&sid=BvpiUO



图片附件: m5m-3.png (2022-5-9 21:09, 62.79 KB) / 下载次数 8634
http://forums.xgecu.com/attachment.php?aid=1223&k=07135fc18e4f945e55d0a7b1dda466c3&t=1713605328&sid=BvpiUO


作者: admin    时间: 2022-5-11 17:30

回复 10# OffGao


   I have to get the chip to test!
作者: OffGao    时间: 2022-6-15 12:22

1201.png
I tried new Xgpro v12.01.
But, My M5M28F102J failed program.

READ: Success
ERASE: Success
PROGRAM: Failed

图片附件: 1201.png (2022-6-15 12:18, 64.04 KB) / 下载次数 8441
http://forums.xgecu.com/attachment.php?aid=1272&k=968105d25fe48e0fcae31880826b6689&t=1713605328&sid=BvpiUO


作者: admin    时间: 2022-6-15 17:30

回复 12# OffGao


   I tested more and more , but it can not be sloved.  programming logic is right.   It seems that the age of the chip is too old to be written.

Found :  after erasing,Disable erase before programming , then repeat programming more times. it can write into the first word, but cannot write the second word.


and M5M28F102 SOP40 is Normal.  I can't find the the problem.
作者: OffGao    时间: 2022-6-26 06:39

Hmm... Access may be too fast.
If you program it many times, it will gradually change to the correct value.
(ex: Write AA55, FFFF -> FEFF -> BEF7 -> AED7 -> AAD5 -> AA55)

I want an option to slow down access.
作者: admin    时间: 2022-6-26 07:56

回复 14# OffGao

no useful at all. I tested with very low speed , can not  write to next address.
作者: Albano.Matos    时间: 2022-6-27 19:55

回复  OffGao

no useful at all. I tested with very low speed , can not  write to next address.
admin 发表于 2022-6-26 07:56


As an User.... Maybe this IC is very sensitive is this version PLCC44. If you ask for slower speed why not trying to handle the 'need for speed'. I've 3 sockets, two ZIF
from different sources, and the one you have , but no IC to test.
I would test at least with all of them, but with only one option, i can remember add a decoupling
power capacitor, as i can't have the socket in a black pcb version, neither the speed down
option....just guessing, it works partially now. Please try it if you understand what i'm trying
to tell  :-(




欢迎光临 XGecu Programmer Forums (http://forums.xgecu.com/) Powered by Discuz! 7.2