Accessing the lower 64 sectors in amd flash

Hi Everybody, I am programming amd flash, Am29LV641D. The configuration is 128 sectors, 64Mbits size(4M*16), sector size:64Kb, 1 bank. The problem is that I cannot access the lower 64 sectors(starting from sector 64 to sector 127 assuming that sector number starts from

0). When I am erasing the 64th sector, the 0th sector is getting erased, when doing the 65th one, the 1st one gets erased...and hence so forth. I have confirmed this wrapping up as when I am coping some data in 127th sector, its being reflected in 63rd sector. can anybody suggest anything to rectify this? How to access the lower 64 sectors. Are there any settings by which I can do it? The datasheet for this flash doent seem to reflect anything. I am working on bcm4704 chipset(similar to bcm5836). I think the flash address starts from bc000000(although I am not very sure,as I dont have the bcm4704 datasheet, have known this from some other sources). If you feel that this is not correct, please let me know. Except the above problem, everything seems to be working fine.

Thanks and Regards, Sudip

Reply to
Sudip
Loading thread data ...

I am sorry, its not to access lower 64 sectors,but its the higher part, that means from sector number 64 to 127 which I am not able to access. Thanks and Regards, sudip

Reply to
Sudip

Are you sure you are using the correct sector adresses? The symptoms look a lot like you have your addresses shifted 1 bit. So you are actually accessing sector 0,2,4,... when you think your are accessing

0,1,2,...
--
Stef    (remove caps, dashes and .invalid from e-mail address to reply by mail)

Flying is the second greatest feeling you can have.  The greatest feeling?
Landing...  Landing is the greatest feeling you can have.
Reply to
Stef

Hi Stef, I have checked the stuff you have mentioned...seems ok to me. I have checked almost all other possibilities to check this stuff. I think its having 1 bank. Is it having another bank, starting from bfc00000(normally for the broadcom boards) or by some other address? It's a possibility that the 22nd address pin grounded for which its giving access to only 4Mb and hence the next is getting mapped to the previous one. We couldnt check that out over here. We are wondering if there are there any hardware stuff required to be initialised to access the next 4Mb memory? I couldnt just find anything like that in the data sheet.

Thanks, Sudip

Reply to
Sudip

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.