cfimager error -22

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

cfimager error -22

2,330件の閲覧回数
thekarl
Contributor I

Hello!

I'm having problems with a custom board with an i.MX28 processor (see https://community.nxp.com/message/653838?et=watches.email.thread#comment-653838). I have a theory that the problem is related to the flash memory, so I want to run the i.MX28 On-Board Diagnostics Suite. I have built the obds binary and am trying to flash it to an SD-card with cfimager (part of the obds package). The command I've run and its output is as follows:

>cfimager.exe -f mx28-obds.sb -d h -a

Failed to unlock drive, closing anyway!

Error: error -22

I've failed to find any information of what error -22 means. Can someone here help me figure it out?

Is there an alternative to cfimager?

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

2,049件の閲覧回数
thekarl
Contributor I

I found the cause for the failure to unlock the drive. The program did not run with admin rights. When it's run as admin, wrting to the sd card works.

But I've run in to aother problem. When I try to boot the device from the sd card I get the following output on the usb debug interface:

HTLLCLLJ
Undefined InsHTLLCLLJ
Undefined InsHTLLCLLJ
Undefined InsHTLLCLLJ
Undefined InsHTLLCLLJ
Undefined InsHTLLCLLJ
Undefined InsHTLLCLLJ


The Undefined InsHTLLCLLJ part repeats forever.

Is something wrong with the boot image?

0 件の賞賛
返信

2,049件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,


The "Undefined Ins" message may be caused because of memory bug.

Also please take a look at the next thread :

What does 'Undefined Ins' mean in u-boot? 

Regards,

Yuri.

0 件の賞賛
返信

2,049件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Karl-Johan

could you try :

cfimager.exe -f ./output/mx28/bin/mx28-obds.sb -d g 

(use -a option for the first time when format is needed)

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

2,049件の閲覧回数
thekarl
Contributor I

That command gives me the same output, so I don't think it's the -a option that is the problem.

The SD-card i'm trying to flash is formatted as FAT32, if that matters.

0 件の賞賛
返信