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  [ 24 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Thu Jun 16, 2005 9:43 pm 
Offline

Joined: Tue Jun 14, 2005 5:28 am
Posts: 6
Location: Corona, CA, USA
Excelent . :idea:


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 09, 2005 10:52 pm 
Offline

Joined: Sat Apr 30, 2005 12:59 am
Posts: 25
Did you ever solve your bootloader questions regarding keeping the bootloader in the flash and dealing with the interrupt vectors?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 10, 2005 10:43 pm 
Offline

Joined: Wed Aug 10, 2005 10:30 pm
Posts: 20
I am facing the same problem. How to manage bootloader with interrupt vector at 0 in flash. Cant we just remove interrupt vector from application and use bootloader interrupt vector?


Top
 Profile  
 
 Post subject: Hold up
PostPosted: Fri Aug 12, 2005 8:09 pm 
Offline

Joined: Wed Jan 05, 2005 11:38 pm
Posts: 305
Location: San Diego, California
Why are you guys writing your own bootloader when all the software is provided by Atmel? I don't get it! Thanks for the info!

Thnaks


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 13, 2005 5:34 am 
Offline

Joined: Wed Jul 20, 2005 11:04 pm
Posts: 42
I know we will be working on a custom bootloader. We need to impement AES 256bit decryption for the bootloader. The firmware will be encrypted with a key specific to the unit serial number. For this the standard Atmel bootloader is no good to us.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 28, 2005 1:34 am 
Offline

Joined: Thu Feb 17, 2005 6:57 pm
Posts: 10
Location: Vancouver, BC, Canada
rkonjeti,
I am trying to the same thing, we need a custom bootloader as well. I have downloaded my complete application (that runs from 0 on its own) into location 0x1000. now I want on startup at 0 , the image is checked to see if it is valid and then I want to startup the whole application from 0x1000.
Trouble is there are two cstartup.s79 files now, one for the bootloader at 0 and one for the applcation at 0x1000. How can the two exist. Can the application at 0x1000 use the IVECT at 0??
Is there any way to do this??


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 28, 2005 3:30 am 
Offline

Joined: Wed Jul 20, 2005 11:04 pm
Posts: 42
The normal way to handle something like this is 2 completely separate projects, on for the bootloader and another for the application. The bootloader should be a fully self contained application that runs independantly of the application.

This way when the application space has been erased and is ready for re-programming by the bootloader there is no need for the bootloader to interact, or reply, any of the application routines that are now erased.


Top
 Profile  
 
 Post subject: Two seperate applications..
PostPosted: Wed Sep 28, 2005 5:39 pm 
Offline

Joined: Thu Feb 17, 2005 6:57 pm
Posts: 10
Location: Vancouver, BC, Canada
Thanks Tschultz for the advice. I have done it in two seperate applications for testing and debugging. However the final product will need to have both the bootloader application and the functional application present. We are allowing for a Wireless transfer of a firmware image via the application to be stored in an external nvram. Then on a reset, the bootloader must check if there is a new image available and write it over the existing one in flash. Then reset again and allow the new functional application to startup.


Top
 Profile  
 
 Post subject: Re: Simple Flash Bootloader
PostPosted: Fri Jan 08, 2010 2:01 pm 
Offline

Joined: Fri Jan 08, 2010 12:00 am
Posts: 10
Hello all,

No reply to this thread from a long time ..?
has any one found the solution ?

I am having the same issue, and stuck there...

I am newbie to Arm and IAR. I have develope an application using IAR5.30 and
AT91SAM7S128 which has interuupt vector starting from 0x0 and rom starting from
0x5000 and when i load this application using jflash utitlity it is working
fine.

On the same configuration(address) i have devloped a bootloader application.Now i want to download first application using this bootloader application. Asthe both bootloader application and the first application has the same interruptvector address 0x0 so when i download it donot work.

Do i need to move the interrupt vector to some where else, ?
When i moved the interrupt vector of my application to 0x5000 , i.e. just in the start of the application, the interrupt are not working.

Kindly send your valuable advise and observation to help solving my problem.

Your kind guidence will be highly appricated


Danii


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour [ DST ]


Who is online

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