cfimager "Failed to unlock drive" error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

cfimager "Failed to unlock drive" error

1,699 次查看
dlafreniere
Contributor I

I am using an i.MX6 processor and the Nitrogen6x development board. I am trying to get the board to boot from a SD card using a QNX image. However, the cfimager.exe tool always returns this error:

H:\>cfimager -raw -offset 0x400 -skip 0x400 -f ipl-mx6q-nitrogen.bin -d h

Failed to unlock drive, closing anyway!

Exception found: -31 Failed to lock the drive

I've tried both a USB and Internal SD card reader, but the same error keeps appearing.

Thanks for any assistance!

标签 (1)
0 项奖励
2 回复数

910 次查看
dlafreniere
Contributor I

Solved. Can't have cfimager on the SD card. The .bin and cfimager.exe in a temp directory on your PC, then execute the command.

0 项奖励

910 次查看
LeonardoSandova
Specialist I

Correct. this because the cfimager command formats the SD and if binary is executed from there, the device is already locked and can not proceed the formatting.

Leo

0 项奖励