Dear all,
I always used successfully ATK to flash NAND type (MT29F1G16) on my iMX25 device with MQX RTOS
Now, in order to make it possible also on Win 7/8,
I need to migrate to MFG tool.
Device is correctly recognized as Freeescale i.MX25 BulkIO Device
But something goes wrong during
"push" operation (UTP mode) ---- > error code=-65520
or
"program" operation (RKL mode) ---- > Updater Error -22136
UCL attached.
- "mx25_nand.bin" is my micro-loader image used with ATK
- "Bootloader.bin" is the module I want to flash starting from 0x00000000
- "mx25ddr2.xml" is the memory file used also with ATK
Any idea about how to fix it?
Many thanks in advance
Regards,
Alessandro A.
- UTP mode:
<UCL>
<CFG>
<STATE name="BootStrap" dev="MX25" />
<DEV name="MX25" vid="15A2" pid="003A"/>
</CFG>
<LIST name="NAND" desc="Choose Nand as media">
<CMD type="find" body="BootStrap" timeout="60"/>
<CMD type="init" body="Memory" file ="mx25ddr2.xml" />
<CMD type="load" file="Bootloader.bin" address="0x70100000" loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Doing preLoad."</CMD>
<CMD type="load" file="mx25_nand.bin" address="0x80800000" loadSection="OTH" setSection="APP" HasFlashHeader="TRUE" >Loading OS image.</CMD>
<CMD type="jump" > Jumping to OS image. </CMD>
<CMD type="push" body="send" file="files/Bootloader.bin">Sending Bootloader.bin</CMD>
</LIST>
</UCL>
- RKL mode:
<UCL>
<CFG>
<STATE name="BootStrap" dev="MX25" />
<STATE name="RamKernel" dev="MX25" />
<DEV name="MX25" vid="15A2" pid="003A" />
</CFG>
<LIST name="NAND" desc="Program FW into flash">
<CMD type="rklCmd" body="FlashInit" timeout="120" />
<CMD type="init" body="Memory" file ="mx25ddr2.xml" />
<CMD type="program" file="Bootloader.bin" address="00000000" readback="TRUE" />
</LIST>
</UCL>
Strictly speaking, the micro-loader image "mx25_nand.bin", used with ATK,
cannot be used with the MFG.
You may find MFG configuration for i.MX25 in Community.
“MX25 3stack HAB (High Assurance Boot)”
https://community.freescale.com/docs/DOC-94911
“How to create your own Mfgtool firwmare”
https://community.freescale.com/message/408920#408920
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------