Verfiy doesn't verify the full range

Here you can ask technical questions about REVELPROG-IS and device/memory programming.
Post Reply
jeb
Posts: 2
Joined: Wed Nov 04, 2020 10:59 am
Been thanked: 1 time

Verfiy doesn't verify the full range

Post by jeb »

Hi,

the verify command isn't reliable!
It doesn't check the last 2047 bytes of a buffer.

Tested with revelprog is v1.8.2 and v1.8.3

Steps to reproduce
Chip: MX25L25735F

Read the chip
Then select the bytes from 1FF:F801 to the end
Fill the selected range (ALT-F) with some pattern
Start "Verfiy", the result is "Device buffer is equal to program buffer"

I detected it by writing a global pattern into the chip (0xF8).
The verify was okay, but reading the chip reveals that the content from 1FF:FE60 wasn't written correctly (0xE0 instead of 0xF8)

Is the "WRITE" command also unreliable? Or is the write failure a problem with my chip, only?

jeb
ArT
Posts: 1602
Joined: Wed Mar 25, 2015 8:54 am
Location: Warsaw, Poland
Has thanked: 61 times
Been thanked: 171 times

Re: Verfiy doesn't verify the full range

Post by ArT »

Thank you for bug report. I've just tired to reproduce it but everything is working correctly.

I did:
1. read MX25L25735F
2. select range from 0x0FF to 0xF801 (I checked also with range from 0x01FF to the end)
3. fillted with pattern 0x01 0x02
4. clicked verifify with buffer

Result:
Verification error at 0xFF
2020-11-04 121911.png
2020-11-04 121911.png (74.49 KiB) Viewed 7139 times
Could you reproduce my steps and confirm that problem exists? If yes, please try to save buffer after editing (all editied bytes marked with red will be black) and then try to verify or write - any difference?
jeb
Posts: 2
Joined: Wed Nov 04, 2020 10:59 am
Been thanked: 1 time

Re: Verfiy doesn't verify the full range

Post by jeb »

I suppose you selected the wrong range.

I can reproduce the problem only with the last 2047 bytes, from 0x01FFF801 to 0x01FFFFFF.

If I modify even a single byte at 0x000000FF, then the "verify" detects it
ArT
Posts: 1602
Joined: Wed Mar 25, 2015 8:54 am
Location: Warsaw, Poland
Has thanked: 61 times
Been thanked: 171 times

Re: Verfiy doesn't verify the full range

Post by ArT »

I checked and reproduced it with addr 0x01FFF801 to 0x01FFFFFF.

You are right that verification function does not compare last N packet. With N-1 is working fine. Write is ok for whole buffer, read also is ok. The problem is only with verification with last packet. I added it to TODO list and it will be fixed. Thank you for reporting it. At this time workaround is to read device with read function and compare buffers with compare tool.
ArT
Posts: 1602
Joined: Wed Mar 25, 2015 8:54 am
Location: Warsaw, Poland
Has thanked: 61 times
Been thanked: 171 times

Re: Verfiy doesn't verify the full range

Post by ArT »

The fix is already prepared. Please download and install latest version from this link:
https://www.reveltronics.com/downloads/ ... _Setup.exe

I tested it by reproducing above steps and it's working now.
Please test it and let me know.
Thank you for finding this bug, if you will need any accessories/adapters/programmers from our offer please contact with me I'll prepare you discount for reporting it.
Post Reply