cfimager-imx error -2

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

cfimager-imx error -2

917 次查看
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 回复数

713 次查看
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 项奖励
回复

713 次查看
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 项奖励
回复

713 次查看
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 项奖励
回复

713 次查看
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 项奖励
回复