Geeting Error -25 when programming SD card in windows host machine using cfimager-imx.exe

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

Geeting Error -25 when programming SD card in windows host machine using cfimager-imx.exe

692 Views
anandkumar
Contributor I

HI,

     I am geeting below error while programming the SD card using cfimager-imx.exe which comes with IMx6 SDK.

Cygwin prompt error:

$ ./tools/windows/cfimager-imx.exe -o 0 -f ./output/mx6dq/sdk_unit_test/smart_device_rev_a/sdk_unit_test_gic.elf -d g -a

Error: error -25

Labels (1)
0 Kudos
1 Reply

448 Views
Yuri
NXP Employee
NXP Employee

Error -25 is STERR_FAILED_DEVICE_IO_CONTROL, which results from a failure sending
one of the following media format IOCTLs to Windows:

IOCTL_DISK_GET_DRIVE_LAYOUT

IOCTL_DISK_SET_DRIVE_LAYOUT

IOCTL_STORAGE_GET_DEVICE_NUMBER

IOCTL_DISK_GET_DRIVE_GEOMETRY

  Please try another card and / or Windows host.

0 Kudos