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  [ 2 posts ] 
Author Message
 Post subject: NandFlash ID read wrongly in Bootstrap AT91sam9xe512
PostPosted: Wed Sep 14, 2011 7:31 pm 
Offline

Joined: Wed Sep 14, 2011 7:11 pm
Posts: 3
Hi all

We have designed a board with AT91SAM9XE512-ek chip with Micron 16 bit nandflash (MT29F2G16ABA) for which the nandID is 0x2cca.


1. When I read the nandflash Id thru latest ATBootstrap code, the nand id is
read as 0x2c01.

2. when I use nandflash applet in isp-projects and when I give Enable nandflash
option in SAM-BA the nandflash id is read correctly as 0x2cca.
erase option and write file option is also working correctly

Why the bootstrap is reading 0x2c01 instead of 0x2cca ?
and Iam wondering how the nandflash applet is reading correctly


Can Somebody shed some light on this issue..


Top
 Profile  
 
 Post subject: Re: NandFlash ID read wrongly in Bootstrap AT91sam9xe512
PostPosted: Wed Sep 14, 2011 11:20 pm 
Offline

Joined: Sat Oct 30, 2010 6:04 pm
Posts: 574
I guess you'd need to look at how the nand detection code is switching between the 8 and 16-bit modes, and how the data is being masked.

nandflash_hw_init()
nandflash_cfg_16bits_dbw_init()
nandflash_cfg_8bits_dbw_init()

You'd also need to look at the nand_ids.h to make sure the ID is found.

Add instrumentation to AT91BootStrap if you need to pin down the problem.


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 8 guests


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: