Boot Code in mega8

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

1. Can we write a small OS in Boot Code section of mega8.
2. Can any one show me a outline of how to write boot code using WinAVR.. I mean is there any specific address or segment we have to mention using C.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The bootloader are easy in intial concept and difficult in actual implementation. you'll need a lot of background to do what you are suggesting.

Read:
AVR109: Self-Programming
AVR910: In-System Programming
AVR911: AVR Open Source Programmer
Design Note #032 AVR Boot Loader
The ATmega8 Data Sheet Section n the Boot Loader

Finally do some searching on the forum and projects to find George Kolovos boot loader, Dean Camera's ButtLoad, and Agner Fog's Boot Loader to see some real code and get some practical insight.

Smiley

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Although please realise that ButtLoad isn't a bootloader, it's a programmer. It may still be interesting from a coding perspective, but it does not perform any bootloader functions. It's also been very annoying to get the new 1.4R version working lately so I can release it but that's a whole different story ;).

- Dean :twisted:

Make Atmel Studio better with my free extensions. Open source and feedback welcome!