Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Hello! I have a problem with writing OTP registers. I receive the following message:
Quote:
flash device: word write error (status 0xb0)
I use linux kernel drivers (v. 2.6.22). 0xb0 status means command sequence error (bits 7,5 and 4 are set). cfi_cmdset_0001.c driver is used for my intel p30 strataflash. I checked everything i could, but no solutions found. The driver seems to work well cuz first it sends 0xc0 command to initiate OTP programming mode and then writes word at specific address. But after checking the status register error occures - 0xb0.
I found solution. Maybe it would be interesting for someone. 0x80 - WORD address of first lock register, for top-parameter devices (like p30) we have 0x3F0080 WORD address. So, to calculate real address we need to multiply it by 2, and the address would be 0x7E0100.
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it. subscribe
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe