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  [ 5 posts ] 
Author Message
 Post subject: Alternatives to Atmel dataflash for custom AT91SAM9G20 board
PostPosted: Fri Sep 10, 2010 4:15 am 
Offline
User avatar

Joined: Mon Jul 19, 2010 8:47 pm
Posts: 58
Hello all,

I've been working on this AT91SAM9G20 board for a few weeks now, and it's working pretty well. I can run U-boot and run Linux, thanks to earlier help from this forum.

I now want to add a serial dataflash chip to store AT91Bootstrap, but it seems that the Atmel dataflash chips are scarce, and leadtimes are 4-6 months, which to me means "We have no idea."

Are there other serial Flash chips that are known to work with the AT91SAM9G20? The SST25VF032B looks like a decent candidate to me.

Cheers,
Brandon

_________________
Brandon Stafford
Rascal Micro


Top
 Profile  
 
 Post subject: Re: Alternatives to Atmel dataflash for custom AT91SAM9G20 board
PostPosted: Fri Sep 10, 2010 7:29 pm 
Offline

Joined: Wed Jan 09, 2008 5:09 pm
Posts: 182
Location: Mounds View, MN
I hand wired a SST25VF080B serial flash chip to my 9G20 board. I was able to get it to work but had to use a specific bootstrap verison to do it. Also, the page size setting for the SST part listed in the SAM-BA code is wrong. The SST parts only support byte write so the "page size" needs to be set to 1, not 256

See the topic linked below for what I had to do to get it to run the bootstrap from serial flash and everything else from NAND Flash.

http://www.at91.com/forum/viewtopic.php/f,9/t,19337/

_________________
Tim Barr
Multitech Inc.


Top
 Profile  
 
 Post subject: Re: Alternatives to Atmel dataflash for custom AT91SAM9G20 board
PostPosted: Fri Sep 10, 2010 8:35 pm 
Offline
User avatar

Joined: Mon Jul 19, 2010 8:47 pm
Posts: 58
Hi Tim,

Let me see if I understand you right.

You modified and recompiled SAM-BA so you could load AT91Bootstrap to the SST25VF080B attached to SPI0_NCS1. At this point, ROMBoot would find AT91Bootstrap, load it to RAM, and execute it, but when it got to the step of reading U-boot out of NAND Flash, it hung because the NAND Flash hadn't been initialized by ROMBoot. You then modified AT91Bootstrap so that it correctly initialized the NAND Flash, and then the full ROMBoot - AT91Bootstrap - U-boot chain worked.

Is that right?

Cheers,
Brandon

_________________
Brandon Stafford
Rascal Micro


Top
 Profile  
 
 Post subject: Re: Alternatives to Atmel dataflash for custom AT91SAM9G20 board
PostPosted: Mon Sep 13, 2010 7:19 pm 
Offline

Joined: Wed Jan 09, 2008 5:09 pm
Posts: 182
Location: Mounds View, MN
Actually there are at least two different versions of the bootstrap file. One is in the bootstrap file that contains bootstrap code for all of the AT91 boards. This version of bootstrap has minimal support in order to keep the file size small.
http://www.atmel.com/dyn/products/tools ... ol_id=4093

The other bootstrap code can be found as part of the software package supplied for each processor. This version of the bootstrap is more full featured, and worked without modification to boot NAND Flash from a serial Flash memory.
http://www.atmel.com/dyn/products/tools ... ol_id=4343

_________________
Tim Barr
Multitech Inc.


Top
 Profile  
 
 Post subject: Re: Alternatives to Atmel dataflash for custom AT91SAM9G20 board
PostPosted: Tue Sep 14, 2010 4:28 pm 
Offline
User avatar

Joined: Mon Jul 19, 2010 8:47 pm
Posts: 58
OK, that makes sense. Thanks for the clarification.

I'll have a board for testing in a couple of weeks; I'm sure I'll be back then with more questions.

Thanks,
Brandon

_________________
Brandon Stafford
Rascal Micro


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 23 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: