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?