AnsweredAssumed Answered

MFG tool. Is it possible to read from flash

Question asked by claussørensen on Oct 25, 2012
Latest reply on Mar 22, 2017 by Matthew Mckay-Davies

Hi

 

Is it possilbe to read data from the NAND flash on my MX53 board using the MFG tool.

 

I tried this:

     <CMD type="find" body="Updater" timeout="180"/>

     <CMD type="push" body="mknod class/mtd,mtd2,/dev/mtd2"/> <!-- The data location -->

     <CMD type="push" body="$ dd if=/dev/mtd2 of=pdata bs=1 count=100">Copy 100 bytes of data to a temp file named pdata</CMD>

     <CMD type="pull" body="read pdata" file="test">Read pdata</CMD>

 

When excuting the last pull command the MFG tool sometime stops working, or it only read 2 bytes. (The bytes is not the right bytes)

 

What is wrong, or is it not possible to read data from the board

 

(Output from debug)

UTP: received command 'mknod class/mtd,mtd2,/dev/mtd2'
class = 'class/mtd'
item = 'mtd2'
node = /dev/mtd2
type = (null)
UTP: running utp_mk_devnode(class/mtd,mtd2,/dev/mtd2,0x2000)
utp_mk_devnode: creating node '/dev/mtd2' with 90+4
UTP: sending Success
UTP: received command '$ dd if=/dev/mtd2 of=pdata bs=1 count=100'
UTP: sending Busy
UTP: executing "dd if=/dev/mtd2 of=pdata bs=1 count=100"
100+0 records in
100+0 records out
UTP: sending Success
utp_poll: pass returned.
UTP: received command 'read pdata'
UTP: sending DCopied to 9dd84000, 2 bytes started from 0
ata
UTP: received command '$ echo Read Complete!'
UTP: sending Busy
UTP: executing "echo Read Complete!"
Read Complete!
UTP: sending Success
utp_poll: pass returned.
g_file_storage gadget: high speed config #1

 

 

 

Outcomes