cfimager-imx error -2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

cfimager-imx error -2

838件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
4 返答(返信)

634件の閲覧回数
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 件の賞賛
返信

634件の閲覧回数
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 件の賞賛
返信

634件の閲覧回数
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 件の賞賛
返信

634件の閲覧回数
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 件の賞賛
返信