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.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > The Linux Kernel > Intel P30 flash. OTP write error

Forgot Password?
 The Linux Kernel   Compiling, theory, programming or other discussion about the linux kernel

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 06-29-2009   #1 (permalink)
Just Joined!
 
Join Date: Jun 2009
Posts: 2
Intel P30 flash. OTP write error

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.
CartmanYO is offline  


Reply With Quote
Old 07-09-2009   #2 (permalink)
Just Joined!
 
Join Date: Jun 2009
Posts: 2
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.
CartmanYO is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
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



All times are GMT. The time now is 03:29 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2