Author |
Message |
LabLab
Joined: 17 Oct 2007
Posts: 306
Location: Europe
|
Posted: Wed Jan 16, 2008 2:11 Post subject: SM324Q - New - cannot remove mix
|
|
I have a problem removing the mix from an SM324Q controller.
- Flash type (USB, CF, SD...) USB
- Controller name SM324Q
- Flash chips amount (2)
- Flash chip name and Config file content (Show config) -write next time (2 chips with 2 banks)
- Dumps amount 4
- Do you found FAT? yes. Once inverted.
- Is there mix? Yes
- Do you remove mix? that is where I have a problem.
I inverted the 4 dumps
I find FAT in 2 banks. In bank 1b and 2b.
Value pieces of FAT in these bank (eg. 0x13fb000-0x13fbe70) is this same. In 1a and 1b bank, in adress 0x13fb000 is pieces of dirs and files.
How do I get rid of this mix?
|
|
|
Сергей
Joined: 26 Aug 2005
Posts: 20282
Flash-Extractor developer
|
Posted: Wed Jan 16, 2008 12:33 Post subject:
|
|
look for marker at position 512/513.
analize bloks with marker=0011.
skip bloks with marker=0044, 0045...
|
|
|
LabLab
Joined: 17 Oct 2007
Posts: 306
Location: Europe
|
Posted: Wed Jan 16, 2008 12:37 Post subject:
|
|
Flash chip name and Config file content (Show config):
Hynix
HY27UG088G5_b2.cfg
MNG Samsung
ID 0xad 0xdc 0x80 0x95
Bits 8
Page 2112
MB 512
COL 2
RAW 3
READ 0x30
SBACK 0x00
End
I upload 300k of Invert bank 1b, and Invert bank 2b (Invert1b_300k.bin, Invert2b_300k.bin)
|
|
|
LabLab
Joined: 17 Oct 2007
Posts: 306
Location: Europe
|
Posted: Thu Jan 17, 2008 2:55 Post subject:
|
|
I find sectors and marker 512/513 with 00 11, and i see new problem.
In dump Invert1b at adress 0x3b0a000 starting MBR.
In 0x3b0c100 is F8FFF - first sector
next 01 01
01 02
01 03
01 08
01 09
01 0A
01 0B
01 10
01 11
.......
01 50
01 51
01 52
01 53
01 58
01 59 adress 0x3b11dd0
00 00 00 00
00 00 00 00
00 00 00 00 adress 0x3b12400
00 00
[b].....
00 00 8 sectors
01 6A
01 6B
01 70
01 71
.....
0x3b11dd0-0x3b0a000=0x7dd0 + 0x630 (3 sectors) = 0x8400
0x3b0a000+0x8400=0x3b12400
In adress 0x3b12400 and 0x3b121f0 and 0x3b11fe0 is null
In dump Invert2b at adress 0x3b0a000 is 00000000
In 0x3b0c100 is 01 04
next 01 05
01 06
01 07
01 0C
01 0D
01 0E
01 0F
01 14
01 15
etc.
01 56
01 57
00 00
..... ( 8 sectors)
01 6C
01 6D
etc.
If I Join Invert1b with Invert 2b by block 2112 before
01 59 and 01 6A is 16 sectors with 00 00 00 00
|
|
|
Алексей Алексеевич
Joined: 28 Nov 2005
Posts: 98
Location: Moscow, Soft-Center
|
Posted: Thu Jan 17, 2008 15:30 Post subject:
|
|
1. To get 300K use flash_Extractor:
-open file
-goto FAT
-press "copy" button, choose 300K to file
2. in 300K I see FAT tables with marker 0044
search for FAT table with marker 0011
for example: f8ffff/h/528/0
|
|
|
LabLab
Joined: 17 Oct 2007
Posts: 306
Location: Europe
|
Posted: Thu Jan 17, 2008 17:09 Post subject:
|
|
In your FTP we upload 300k_invert1a_atxxxxxadress_SM324Q, and 300k_invert1b_atxxxxxadress_SM324Q, 300k_invert2a_atxxxxxadress_SM324Q, 300k_invert2b_atxxxxxadress_SM324Q
|
|
|
Сергей
Joined: 26 Aug 2005
Posts: 20282
Flash-Extractor developer
|
Posted: Fri Jan 18, 2008 12:47 Post subject:
|
|
Join by block (528, 1b, 1a) -> A
Join by block (528, 2b, 2a) -> B
Join by Block (4224, A, B)
|
|
|
LabLab
Joined: 17 Oct 2007
Posts: 306
Location: Europe
|
Posted: Fri Jan 18, 2008 16:03 Post subject:
|
|
I make it.
And in Image ekplorer (SM32/0x84000/block=400/default)
image = MBR is OK, but FAT starter at 0x4000 and FAT2 starter 0x4000 ?
We now testing different parameters for SM32xx.
|
|
|
Сергей
Joined: 26 Aug 2005
Posts: 20282
Flash-Extractor developer
|
Posted: Fri Jan 18, 2008 16:48 Post subject:
|
|
To Sunday i at home.
Can quick answer.
Put 300k of image on ftp
Put Flash_Extractor Log on ftp
|
|
|
LabLab
Joined: 17 Oct 2007
Posts: 306
Location: Europe
|
Posted: Fri Jan 18, 2008 17:15 Post subject:
|
|
File Any_kiloB_image10800_bl200.dump is in your FTP.
This is better result, for our work.
|
|
|
Сергей
Joined: 26 Aug 2005
Posts: 20282
Flash-Extractor developer
|
Posted: Fri Jan 18, 2008 18:00 Post subject:
|
|
Very intersting...
Try with this !!! image !!!
Split by Block 0x80000
Please, put full dump on ftp
I want to look :)
|
|
|
LabLab
Joined: 17 Oct 2007
Posts: 306
Location: Europe
|
Posted: Fri Jan 18, 2008 18:33 Post subject:
|
|
In your FTP we upload log 108000_block200_space200_nofullblock.txt
|
|
|
Сергей
Joined: 26 Aug 2005
Posts: 20282
Flash-Extractor developer
|
Posted: Fri Jan 18, 2008 19:52 Post subject:
|
|
Why 108000 ????
0x84000 !!!
I understand.
Get dump and Split by Block 0x84000
Use SM32xx with 0x84000 !
|
|
|
LabLab
Joined: 17 Oct 2007
Posts: 306
Location: Europe
|
Posted: Fri Jan 18, 2008 20:33 Post subject:
|
|
Yes, of course. But teh best results is in 10800 with 0x200 space.
Moment !
Join by block (528, 1b, 1a) -> A
Join by block (528, 2b, 2a) -> B
Join by Block (4224, A, B)
Results - 1 dump
Where is split by block 0x84000???
|
|
|
LabLab
Joined: 17 Oct 2007
Posts: 306
Location: Europe
|
Posted: Fri Jan 18, 2008 22:27 Post subject:
|
|
Look at 324QF_log_0x84000_space400.txt on your FTP.
|
|
|
|