Insert area, Skip area, Extract area

Insert area, Skip area, Extract area

Sometimes some specific cases require a non-standard approach when it's necessary to extract, insert or skip some areas. For these cases, VNR has three designed functions. Each of this function allows to perform simple and cyclical operations on the dump or on the dump structures. These three functions are available in the Workspace tab.  



Each of this function has a set of parameters:
  1. Period
  2. Starting address
  3. Length
  4. Value (Only insert area)


Period - defines an area on which operations are performed. After setting this parameter VNR will divide dump by set value into periodic areas, then operations (insert/skip/extract) will be performed on those areas.
Starting address - byte position (in the period area) from which VNR starts performing an operation.
Length - the number of bytes.
Value - values of inserted bytes (hex).

Extract area
This function allows to extract some pieces/areas from periodical areas.



Example 1

It is necessary to extract the first half from each block. The EXTRACT AREA tool will be used. The period will be equal to the block size (2359296 bytes), the start address is zero  (since the first half of the block has to be extracted) and the length is half of the block (1179648 bytes).



Example 2

One particular block has to be extracted from the dump. In this case the Period equals to the dump size, Start address is the address of the first byte of the extracted block. The Length is the Block size.




Example 3

Six bytes after 1024 byte from each page should be extracted. Period = Page size; Start address = 1024; Length = 6




Skip area

Allows to skip some areas, from periodical areas. It's opposite to extract area function.




Insert area
This function can add certain amount of bytes to periodical areas.



Other examples

Chip parameters:
  1. Phy image size 9663676416 (4096 blocks)
  2. Block size 2359296
  3. Page size 9216
  4. Data area(1024)+SA(6)+ECC(70)+[Data area(1024)+ECC(70)]7

Extract area

Extraction of every first block out of 2 from the dump
  1. Period 4718592 (2 blocks)
  2. Starting address 0
  3. Length 2359296
Extraction of every second block out of 2 from the dump
  1. Period 4718592 (2 blocks)
  2. Starting address 2359296
  3. Length 2359296
Extraction of first Service area (by offset 1024) from each page from each block
  1. Period 9216
  2. Starting address 1024 
  3. Length 6
Extraction of first 3 pages from each block
  1. Period 2359296
  2. Starting address 0
  3. Length 27648 (3*9216)
Extraction of block number 505 from the dump
  1. Period 9663676416 (dump size)
  2. Starting address 1193803776 (505*2359296)
  3. Length 2359296

Skip area

Leaving out 2 last pages from each block in the dump
  1. Period 2359296
  2. Starting address 2340864 (2359296-18432)
  3. Length 18432(2*9216)
Insert area

Adding half block of zeros to the end of each block in the dump
  1. Period 2359296
  2. Starting address 2359296
  3. Length 1179648 (2359296/2)
  4. Value 0x00

    • Related Articles

    • Phison - Double block rotation and SLC block management

      The solution step by step It’s been many years since the first NAND controllers were released on the market. Many technological aspects of flash devices have changed since that time, but one thing is certain, along with the multiplied capacity, the ...
    • Silicon Motion(SM) controllers - Data recovery

      We can find plenty of NAND controllers on the market and without any doubt one of the most popular is SiliconMotion.  These controllers found their use in all kinds of flash devices, starting from USB flash drives, SD cards, monolithic devices, and ...
    • Phison dynamic XOR

      Majority of NAND memory devices that use scrambling algorithms generate their XOR keys statically. When a user writes new data to the NAND chip, the controller transforms this data with the XOR key that is generated every time with the same binary. ...
    • Block extraction

      Video tutorial Introduction In this little tutorial the procedure of block extraction is briefly explained. Blocks are second most basic structures in NAND memory dumps and their length defines (in most cases) length of XOR key, for this reason it is ...
    • Missing data planes in TSOP48, LGA52, BGA132 and BGA152 Sandisk chips.

      This article shows the way how to extract all data from TSOP48, LGA52, and BGA132/152 Sandisk memory chips when the configuration and dump size are correct, but half of the dump is still empty.  Usually, if a NAND memory chip has 2 or 4 crystals, ...