Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: fail to initialize nand on at91sam9g20-ek based board
PostPosted: Wed Dec 15, 2010 3:35 pm 
Offline

Joined: Fri Oct 15, 2010 12:07 pm
Posts: 7
HI


I have custom board based on at91sam9g20-ek, with input clock 18.4 Mhz
I have micron nand flash MT29F8G08AAAWPA on my board.
I tried to use SAMBA -2.10 to initialize the nand flash based on at91sam9g20-ek board settings and scripts.
for Enable nandflash , it shows correct message, but when i try to erase block it shows bad blocks,

-I- Nandflash ID is 0x2E90D32C
-I- Nandflash driver initialized
-I- pageSize : 0x1000 blockSize : 0x40000 blockNb : 0x1000 bus width : 8
-I- bufferAddr : 0x20003e34
-I- End of applet (command : 0 --- status : 0)

-I- SkipBlockNandFlash_EraseBlock: Block is BAD
-I- Found block #1 BAD, skip it

-I- SkipBlockNandFlash_EraseBlock: Block is BAD
-I- Found block #2 BAD, skip it ...

so, is there any settings need to be change for micron flash ?

I try the sample program in IAR for at91sam9g20-ek board, with only change in BOARD_MCK to 18.4 MHz , it also detects correct ID , but goes in continuous loop like reset from same location..

Do i need any changes regarding Flash ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: