at last I could read the flash with zjtag CPU=ATHEROS AR2313 FLASH=MX29LV320DT
Because
- EJTAG DMA Support ... : No
we must add command /nodma like this
zjtag -backup:custom /window:1fc00000 /start:1fc00000 /length:1000 /l1:3 /nodma
but I understand that we must write data 0x000e3ce1 to addr 0x58400000 in AR2313 and 0x100e3ce1 to same addr in AR2312 .
but all data are not in the right place
original data read with programmer
0X1FC00000
40 1A 60 00 3C 1B 00 08 03 7A D8 24 17 60 00 37
00 00 00 00 3C 08 BC 00 35 08 30 70 8D 00 00 00
read flash with zjtag in normal CAN NOT DETECTED FLASH
Probing Flash at Address: 0x1FC00000 ...
Detected Chip ID (VenID:DevID = 001A : 6000)
*** Found a CFI Compatiable Flash Chip from Unknow
- Flash Chip Window Start .... : 1FC00000
- Flash Chip Window Length ... : 00400000
- Selected Area Start ........ : 1FC00000
- Selected Area Length ....... : 00001000
*** You Selected to Backup the CUSTOM.BIN ***
=========================
Backup Routine Started
=========================
Saving CUSTOM.BIN.SAVED_20140123_165210 to Disk...
Done (CUSTOM.BIN.SAVED_20140123_165210 saved to Disk OK)
bytes written: 4096
=========================
Backup Routine Complete
=========================
elapsed time: 15 seconds
00 60 1A 40 08 00 1B 3C 24 D8 7A 03 37 00 60 17
00 00 00 00 00 BC 08 3C 70 30 08 35 00 00 00 8D
we need swap the data
read flash when write data 0x100e3ce1 to addr 0x58400000 with urjtag
detected flash but some data is 00 and wrong plase in file
Detected Chip ID (VenID
evID = 00C2 : 00A7)
*** Found a CFI Compatiable Flash Chip from Macronix
Probing Flash at Address: 0x1FC00000 ...
Detected Chip ID (VenID:DevID = 00C2 : 00A7)
*** Found a CFI Compatiable Flash Chip from Macronix
- Flash Chip Window Start .... : 1FC00000
- Flash Chip Window Length ... : 00400000
- Selected Area Start ........ : 1FC00000
- Selected Area Length ....... : 00001000
*** You Selected to Backup the CUSTOM.BIN ***
=========================
Backup Routine Started
=========================
Saving CUSTOM.BIN.SAVED_20140123_173235 to Disk...
Done (CUSTOM.BIN.SAVED_20140123_173235 saved to Disk OK)
bytes written: 4096
=========================
Backup Routine Complete
=========================
elapsed time: 16 seconds
60 00 40 00 00 00 3C 00 D8 00 03 00 00 00 17 00
00 00 00 00 BC 00 3C 00 30 00 35 00 00 00 8D 00