XGecu Programmer Forums's Archiver

kuzma2000 发表于 2021-8-12 17:56

How unpack partition table from full dump NAND chip

Hi!
I need to make a copy of the Nand chip.
I can't write a copy to the new chip in "Hadr Copy" "Single File" mode because the new chip has a Bad Block.
I want to use "Partition Mode" and "Skip Bad Block" mode, but I don't know what partition markup is on the original chip.

How do I know/unpack a partition table from a full dump?

admin 发表于 2021-8-13 09:46

[size=2][b]回复 [url=http://forums.xgecu.com/redirect.php?goto=findpost&pid=1069&ptid=373]1#[/url] [i]kuzma2000[/i] [/b]

Please read carefully, Chapter 6: NAND/ SPI_ NAND Programming  of the user Guide[/size][size=2]
[/size]
[size=2]NAND/ SPI_ NAND Programming Notes:[/size]
[size=2]1. It is possible that the speed of programming the chip is faster than reading , because the software automatically skips the content of the empty data during programming.[/size]
[size=2]2. In the process of reading, erasing , or programming, if chip has bad blocks, the tip will appear, but i t does not affect the [/size][size=2]programming of the chip.[/size]
[size=2]3. It is not necessary to check the bad block before copying. As long as the verifying is correct and there is no error when [/size][size=2]programming, the new copied chip will be available. If there is a bad block in the new chip, the software will skip writing if the [/size][size=2]bad block is empty data when copying. If the new chip has a bad block, and the original chip has data to be written to the [/size][size=2]location of this bad block, the data can’ t be written into this bad block, the programming error will occur. Please replace with [/size][size=2]another new chip, (the location of the new chip bad block’s position is generally random).[/size]
[size=2]4. Repairers usually do not know how to deal with bad blocks, so only copy directly with hard copy mode [/size]

kuzma2000 发表于 2021-8-14 22:04

I read these notes and want to figure out what to do with such bad blocks :)

These two links talked about how bypass bad blocks  - write in Partition mode and skip bad blocks.
[url]http://forums.xgecu.com/viewthread.php?tid=265&page=1&extra=#pid747[/url]
[url]http://forums.xgecu.com/viewthread.php?tid=314&highlight=bad%2Bblock[/url]

Can you get ahead of what partitioning on a flash drive if there is only a full dump of it?
If I write only one section (the whole flash drive), how to correctly calculate the END_BLK and CNT_BLK values

kuzma2000 发表于 2021-8-15 02:27

[b]回复 [url=http://forums.xgecu.com/redirect.php?goto=findpost&pid=1077&ptid=373]2#[/url] [i]admin[/i] [/b]

I tried to record the chip in single partition mode for the entire volume (1024 blocks).
It successfully writes data to the partition but fails validation.

Programming Nand Flash : Succeeded. Time : 16.641 S --  Flash Size :135168 KB
Verifing Nand Flash ...
Block#252 Verify error Bytes: 1174
Verify Error Blocks: 1

At the same time, the Bad Block list is empty.
I think my programmer can't identify a faulty block when programming (6.4.7.1) in this situation.

How can I manually mark/add Bad Block it to the Bad Block List?

I cant upload images - Adobe Flash Player does not work now:(

admin 发表于 2021-8-15 07:43

[b]回复 [url=http://forums.xgecu.com/redirect.php?goto=findpost&pid=1096&ptid=373]4#[/url] [i]kuzma2000[/i] [/b]

  Don't know how to partition.

[size=12px]the only way:

[/size]   Replace a  new chip.It is best if there are no bad blocks

Elarapy 发表于 2024-1-16 22:15

Upload to me your nand flash dump file and I sent to you the partition address to try using with partition mode and skip bad block, Currently I am trying to get the correct addresses and am waiting to try on a device with bad sectors.

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.