mfgtool can't work

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

mfgtool can't work

1,968 Views
1074562799
Contributor I

mfgtools-with-rootfs-mx8.zip

烧写IM8时,识别为大文件存储设备后,就停止无法烧写。

please see picture。11.bmp

0 Kudos
7 Replies

1,444 Views
1074562799
Contributor I

thanks for you reply.

    I use the  "Evaluation Kit for the i.MX 8M Applications Processor".

    I download "L4.9.51_8mq-ga_mfg-tools.tar.gz"  and "L4.9.88_2.0.0_mfg-tool_MX8MQ.tar.gz".   

     Decompress the L4.9.88_2.0.0_mfg-tool_MX8MQ.tar.gz,  then  unzip mfgtools-with-rootfs-mx8.zip, i   click 

mfgtool2-yocto-mx8-evk-emmc1.vbs  to burn . then stop at ,

1.png

past  long time , then occur:

 11.bmp

and  always occur:

2.png

by the way , my computer is lenovo 。

I'm sure this problem is the windows driver problem. beacause  my company have one computer ok.but others 

can not work.  

7.png

     

 

0 Kudos

1,444 Views
zhangweikanghus
Contributor III

Hi, 海陈

请问下你们现在烧写成功了吗?能否分享一下解决办法?谢谢。

0 Kudos

1,444 Views
1074562799
Contributor I

没有解决,换了一台老机器可以烧写。我猜测是新电脑的usb驱动问题

0 Kudos

1,444 Views
csoapy
Contributor III

错误码29是ERROR_WRITE_FAULT,见System Error Codes (0-499) (WinError.h) - Win32 apps | Microsoft Docs 

因为MfgTool点击关闭之后,界面是消失了,但是MfgTool进程还在,文件被占用所以写失败。结束掉再打开就可以了。

NXP已经转向uuu,用垃圾MFC做的MfgTool应该就不更新了吧?虽然这个切换出现了不少断层:比如没有提供迁移工具、缺乏imx6支持等等

pastedImage_3.png

0 Kudos

1,444 Views
jiaxindin
Contributor II

Hi, 海陈.

I catch the same problem with you when I flash i.mx8mq_evk.

And my Mfgtool.log is also same to yours.

Have you figured out it?

Would you mind sharing your solution or idea about this problem.

Thank you very much.

0 Kudos

1,444 Views
jimmychan
NXP TechSupport
NXP TechSupport

Please provide more information.

Which board are you using?

Which BSP are you using?

Do you have any serial console debug message? (This can show why and where it stopped at)

If possible, please tell me the steps you did. So I can reproduce the issue on my board.

0 Kudos

1,444 Views
1074562799
Contributor I

this  is the log :

DLL version: 2.7.0
Tuesday, September 18, 2018 17:18:58 Start new logging
ModuleID[2] LevelID[10]: CMyExceptionHandler thread is running
ModuleID[2] LevelID[1]: new MxHidDeviceClass
ModuleID[2] LevelID[10]: new MxHidDevice[07BD6A80]
ModuleID[2] LevelID[1]: new MxHidDeviceClass
ModuleID[2] LevelID[10]: new MxHidDevice[007CC570]
ModuleID[2] LevelID[1]: new MxHidDeviceClass
ModuleID[2] LevelID[10]: new MxHidDevice[07BD5610]
ModuleID[2] LevelID[10]: Device Manager thread is running
ModuleID[2] LevelID[1]: Can't set m_hStopEvent before it initialized or it already stop

ModuleID[2] LevelID[10]: CmdOperation[0] device chagned and reset to state 0
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: ExecuteCommand--Boot[WndIndex:0], File is D:\tftp_imx8_image\mfgtools\Profiles\linux\OS Firmware\firmware\imx-boot-imx8mqevk-sd.bin-flash_evk
ModuleID[2] LevelID[1]: HAB type mismatch: 0xcf1133!!!
ModuleID[2] LevelID[10]: *********MxHidDevice[07BD5610] Jump to Ramkernel successfully!**********
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: ExecuteCommand--Load[WndIndex:0], File is D:\tftp_imx8_image\mfgtools\Profiles\linux\OS Firmware\firmware\Image, address is 0x40480000
ModuleID[2] LevelID[10]: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: ExecuteCommand--Load[WndIndex:0], File is D:\tftp_imx8_image\mfgtools\Profiles\linux\OS Firmware\firmware\fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot, address is 0x43800000
ModuleID[2] LevelID[10]: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: ExecuteCommand--Load[WndIndex:0], File is D:\tftp_imx8_image\mfgtools\Profiles\linux\OS Firmware\firmware\fsl-imx8mq-evk.dtb, address is 0x43000000
ModuleID[2] LevelID[10]: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID[2] LevelID[10]: ExecuteCommand--Jump[WndIndex:0]
ModuleID[2] LevelID[10]: *********MxHidDevice[07BD5610] Jump to Ramkernel successfully!**********
ModuleID[2] LevelID[10]: CmdOperation[0], current state command has been finished and the last command is successful, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: DeviceManager::DevChangeWnd::OnDeviceChange() - DEVICE_REMOVAL_EVT(\\?\USB#VID_1FC9&PID_012B#5&3863b160&0&4#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID[2] LevelID[10]: DeviceManager::DevChangeWnd::OnDeviceChange() - end
ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT(\\?\USB#VID_1FC9&PID_012B#5&3863b160&0&4#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID[2] LevelID[10]: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, _devices.size: 1
ModuleID[2] LevelID[10]: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, devInstPathToFind: USB\VID_1FC9&PID_012B\5&3863B160&0&4, _deviceInstanceID: USB\VID_1FC9&PID_012B\5&3863B160&0&4
ModuleID[2] LevelID[10]: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, Find the device
ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT,[MxHidDeviceClass] vid_1fc9&pid_012b, Hub:0-Port:0
ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT, Notify
ModuleID[2] LevelID[10]: CmdOperation[0] device chagned and reset to state 0
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: ExecuteCommand--Boot[WndIndex:0], File is D:\tftp_imx8_image\mfgtools\Profiles\linux\OS Firmware\firmware\imx-boot-imx8mqevk-sd.bin-flash_evk
ModuleID[2] LevelID[1]: MxHidDevice::AllocateIoBuffers().CreateFile ERROR:(2)
ModuleID[2] LevelID[1]: ERROR: AllocateIoBuffers failed. 2
ModuleID[2] LevelID[1]: RunPlugIn(): TransData(0x7E1000, 0x28800,0x711A050) failed.
ModuleID[2] LevelID[1]: PortMgrDlg(0)--MxHidDevice--Command Boot excute failed
ModuleID[2] LevelID[10]: CmdOperation[0], current command executed failed, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: CCmdOpreation[0] thread is Closed
ModuleID[2] LevelID[10]: CCmdOpreation[0] thread is Closed

0 Kudos