post if u have any good tutorials on How to writeBootLoaders

Status
Not open for further replies.

shastri.vs

Member level 2
Joined
Dec 16, 2008
Messages
45
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,600
post if u have any good tutorials on How to writeBootLoaders
 

Re: post if u have any good tutorials on How to writeBootLoa

It is hard to find a generic tutorial for a boot loader. I have been teaching porting for few years now and each case is a stand alone case. The simplest boot loader can be summarized in the following steps:

1. Jump to Reset handler
2. Disable critical I/O as watchdog and interrupts
3. Setup interrupt vector table
4. Initialize stacks
5. Initialize memory controller
6. Initialize RAM
7. Jump to C Code initialization
8. Initialize clock
9. Initialize I/O ports
10. Initialize devices
11. Initialize OS or jump to your application

I can share ARM9 booting code if you are interested.
 


Re: post if u have any good tutorials on How to writeBootLoa

Hi

See STM32 application note on ST site they have application note & source code for boot loader

Also TI on MSP430 have several application on boot loader

And Atmel site see application note for bootloader

All the best

BObi

The microcontroller specialist
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…