cfimager-imx error -2

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

cfimager-imx error -2

1,006 Views
norishinozaki
Contributor V

Hello Champs,

I'm using OBDS(imx50_obds_release_v1_0.tar.gz) for i.MX50.

I built a bin file and when I try to write it to SD-card formatted in FAT32, I got this error:

cfimager-imx.exe -o 0  -f ./output/mx50/bin/diag-obds-mx50ref-rev3.bin -d e:

Error: error -23

What is error -23 ?

Best regards,

Nori Shinozaki

Labels (1)
0 Kudos
Reply
4 Replies

802 Views
Yuri
NXP Employee
NXP Employee

Please try to clear the SD using Linux command  dd, as shown below (an example)

$ sudo dd if=/dev/zero of=/dev/sda bs=512 count=1000

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

802 Views
norishinozaki
Contributor V

Hello Yuri,

I didt that but I got the same result error -23.

I erased the SD-card with the "dd" command in Linux then, formatted in FAT32 in Windows.

You meant to use elftosb to write the bin file also in Linux?

No way to use cfimager-imx.exe?

Because my customer is using Cygwin and arm-none-eabi-gcc for Windows.

They can build the OBDS in Windows so they would like to write in Windows.

Best regards,

Nori Shinozaki

0 Kudos
Reply

802 Views
Yuri
NXP Employee
NXP Employee

  You wrote "I erased the SD-card with the "dd" command in Linux then,

formatted in FAT32 in Windows.". Please try do not format (FAT32) under

Windows.

Regards,

Yuri.

0 Kudos
Reply

802 Views
norishinozaki
Contributor V

Hello Yuri,

I tried my SD-card without formatted but it results the same -23 error.

Then I tried without SD-to-USB converter, directly insert the SD-card into PC's SD slot.

It worked!

Thanks!

Nori Shinozaki

0 Kudos
Reply