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  [ 3 posts ] 
Author Message
 Post subject: boot from Flash
PostPosted: Thu Nov 11, 2004 3:16 am 
Offline

Joined: Tue Jul 20, 2004 3:05 am
Posts: 28
hi all,

following the instructions provided by Atmel to flash u-boot from scratch (for AT91RM9200 DK), I am unsure about the validity of the 6th vector contained within the boot.bin application which gets copied to address 0x10000000.

I have both boot.bin as well as the gzipped UBoot binary stored and protected successfully in flash; however, reading the first 8 words in memory, this is the contents:

ea00 0006
eaff fffe
eaff fffe
eaff fffe
eaff fffe
eaff fffe
e51f ff20
e51f ff20

so the 6th vector is not set... is this an error in the memory contents, or does the compiled boot.bin application simply not have the 6th vector set as supplied by Atmel? It is no problem for me to set it on my own, but it just seems odd that it is not set already, which suggests to me there may be another problem so I wanted to check with you all. Does anyone know what is the case with boot.bin and the 6th vector? Thank you all very much for any advice,

Conger


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 18, 2004 6:54 pm 
Offline

Joined: Mon Feb 16, 2004 6:57 pm
Posts: 3
Hi Conger,

The 6th vector value is checked only by the internal boot rom.
This boot rom is executed only if the BMS is tied to 1.
In your case the code executed after the reset is the one in external flash connected on CS0 (0x10000000) . This code do not need a particular value for the vector 6.
(ref AT91RM9200 datasheet for Boot program and BMS )


Top
 Profile  
 
 Post subject: Booting from Flash continued
PostPosted: Fri Feb 04, 2005 8:48 am 
Offline

Joined: Fri Feb 04, 2005 8:40 am
Posts: 1
I am trying to boot from and run from Flash. I have build a small application with a scatterload of the RO in 0x10000000 and RW in 0x3000000 which is SRAM in my board. I have the code Flashed and can run it from the RVDS2.1 which I am using. I can not get it to run at powerup. I have BMS tied low on the board. Any guidance??
ONT


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

All times are UTC + 1 hour [ DST ]


Who is online

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