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  [ 6 posts ] 
Author Message
 Post subject: Dataflash not loading
PostPosted: Wed Apr 20, 2011 11:45 am 
Offline

Joined: Fri Oct 24, 2008 5:31 pm
Posts: 31
hi, i am trying to get familiar with arm9 of atmel. by using SAM-BA i sent some example of atmel package for 9260 but no program worked, i sent sdram program to sdram its not working too.

is there any jumper selection needed to change to boot program?

At45db161d on SPI0 CS1
K9F2G08U0B, nandflash
2 of MT48LC16M16A2

*_ i built this board myself


Top
 Profile  
 
 Post subject: Re: Dataflash not loading
PostPosted: Wed Apr 20, 2011 2:12 pm 
Offline

Joined: Sat Oct 30, 2010 6:04 pm
Posts: 574
No, but you need to tell SAM-BA to "Send Boot File"

You could try NAND. You could try an AT91SAM9620-EK board.

You should also check the BMS pin/jumper state to confirm you are trying to use BootROM and not an external NOR Flash.

You should also be able to load and run code in SRAM or SDRAM from SAM-BA. You can do similar things from Keil using a SAM-ICE/J-LINK.


Top
 Profile  
 
 Post subject: Re: Dataflash not loading
PostPosted: Wed Apr 20, 2011 11:56 pm 
Offline

Joined: Fri Oct 24, 2008 5:31 pm
Posts: 31
hi,
can you give me one example project?


Top
 Profile  
 
 Post subject: Re: Dataflash not loading
PostPosted: Thu Apr 21, 2011 2:17 am 
Offline

Joined: Sat Oct 30, 2010 6:04 pm
Posts: 574
>>can you give me one example project?

Have you built the AT91BootStrap project? The dataflash version for the 9260-EK should be quite close to your board I would presume. Compiles with GCC/make.

How about the getting started examples for the 9260-EK?

Sure, I could probably mash up a DBGU Hello World example project in Keil, but that would presuppose you have uv3, and your board is materially similar to the 9260-EK.

CptTitanic at gmail.com

http://www.4shared.com/dir/9r9ERygk/ARM9.html
http://www.4shared.com/get/xST6AS7a/get ... t91sa.html
http://www.4shared.com/get/-TYFysrG/AT9 ... ap116.html


Top
 Profile  
 
 Post subject: Re: Dataflash not loading
PostPosted: Thu Apr 21, 2011 1:44 pm 
Offline

Joined: Fri Oct 24, 2008 5:31 pm
Posts: 31
hi, i forget yopu tell one big problem , i sent boot file to dataflash and got boot up and now i cant access the samba. how can i earse this file from dataflash to load samba again?


Top
 Profile  
 
 Post subject: Re: Dataflash not loading
PostPosted: Thu Apr 21, 2011 2:50 pm 
Offline

Joined: Sat Oct 30, 2010 6:04 pm
Posts: 574
On the AT91SAM9260-EK you'd press the BP4 button to erase the flash.

Alternately you can break the CS connection to the data flash part, presuming you have a jumper or series resistor you can remove.

You might also be able to wrestle it via JTAG depending on your tools/experience.


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 21 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: