Read command

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Read command

1,171 Views
AbisaiNegrete
Contributor II

Does anyone know how to use the read command in MfgTool?  In the documentation only are the next information

 

"read  string"

Read the file specified by parameter and send it to the host. Ifthere is no such file, the appropriate status will be returned.

 

Is it possible to read a file from the board to the HOST? If yes, what is the right command?

 

Best Regards

5 Replies

901 Views
matthewmckay-da
Contributor II

Looking at the source code there is an undocumented XML attribute for the element command type push: savedfile.

 

I've just tried this with MfgTool2 and it seems to work.

 

<CMD state="Updater" type="push" body="read /mnt/flags/BoardInfo.bin" savedfile="test.bin">Retrieve BoardInfo.bin</CMD>

901 Views
StanleyLee
NXP Employee
NXP Employee

Not available till June.

0 Kudos

901 Views
drewwurfel
Contributor I

At this point it looks like the read command is implemented. Could you provide a usage example.

0 Kudos

901 Views
WilliamChan
Contributor I

Is Mfgtool 2.0.x available now? We would like to use the read function to get back the data from NAND flash for failure analysis.



Stanley Lee said:

The read-back functionality will be added into Mfgtool2.0, which is not available in Mfgtool1.x.

We hope to release a draft version of Mfgtool2.0 3 months later.

0 Kudos

901 Views
StanleyLee
NXP Employee
NXP Employee

The read-back functionality will be added into Mfgtool2.0, which is not available in Mfgtool1.x.

We hope to release a draft version of Mfgtool2.0 3 months later.

0 Kudos