The Godfather talking
This is god damn my place! Capisci?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 11, 2016, 05:16:54 05:16


Login with username, password and session length


Pages: [1]
Print
Author Topic: At49f040 Flash Unlock  (Read 1359 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, 05:33:02 05: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: 175

Thank You
-Given: 71
-Receive: 38


« Reply #1 on: January 05, 2011, 07:09:51 19: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, 08:06:42 20: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, 08:23:08 20: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