Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 23, 2024, 09:27:50 09:27


Login with username, password and session length


Pages: [1]
Print
Author Topic: At49f040 Flash Unlock  (Read 3939 times)
0 Members and 1 Guest are viewing this topic.
Help
Junior Member
**
Offline Offline

Posts: 37

Thank You
-Given: 33
-Receive: 0


« on: January 05, 2011, 04:33:02 04:33 »

Dear All,

Does anyone know how to unlock this flash memory? Now i couldn't reprogramming the data in memory from 0x00000 to 0x03FFF.  Cry

The datasheet just given a command for Boot Block Lockout but didn't give the command for unlock boot block.

Please kindly advice,.

Thanks..
Logged
Mega32
Active Member
***
Offline Offline

Posts: 179

Thank You
-Given: 183
-Receive: 37


« Reply #1 on: January 05, 2011, 06:09:51 18:09 »

I haven't tested this , but you might find the sequences here

http://www.hs-augsburg.de/~hhoegl/rt/etc/gnu/bdm-driver-linux-2.6/m68k-bdm-1.3.0/flashlib/flash29.c

Mega32
Logged
Help
Junior Member
**
Offline Offline

Posts: 37

Thank You
-Given: 33
-Receive: 0


« Reply #2 on: January 05, 2011, 07:06:42 19:06 »

Dear Mega32,

Thanks for your reply and the information. I had do some research on google did get some similar sample code as you given. I tried to analyze the sample code and do some testing but still no working. I will try to check it out your sample code see whether can get the sequence command for that.

Tomorrow I will feedback to you again...  Wink
Logged
Help
Junior Member
**
Offline Offline

Posts: 37

Thank You
-Given: 33
-Receive: 0


« Reply #3 on: January 08, 2011, 07:23:08 19:23 »

Dear Mega32,

I did check all the sample code that you given (eg. flash29.c, bdmflash.c,.. and so on). I couldn't found the unlock flash sequence command in the sample code. We could see a lot of "cmd_unlock1" and "cmd_unlock2" (0x555555.. and 0xAAAAA..) constant variable in the coding but it is not a standard command for all the AT49fXXX function. I did simply tried to write this 2 byte 0x5555 and 0xAAAA(in stead of 0x2AAA) to flash in the first sequence but it wouldn't work.

Is there any other advice? I did tried to unlock the flash almost 2 week but still can't unlock the flash. 

Thank you.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC