Forums

Booting ATMEGA2560

Started by ratemonotonic October 19, 2007
Hi all ,

I have just designed a board with a JTAG interface and ISP interface
( with some good advice from past discussions on this forum)and have
also bought the JTAG programmer. Now before I send the board for
layout , I am looking at the nitty gritty of bootloading a hello world
programme ( flashing leds!)  on it. Does the ATMEL parts come
preprogrammed with a standard bootloader in the boot section of the
flash , so that I can compile link and load using the AVRISP mkII? If
yes what are the functionalities of the boot loader?

If no are there any example bootloader for ATmega which i could use to
start off, without reinventing the wheel.


BR
Rate

On Oct 19, 11:30 am, ratemonotonic <niladri1...@gmail.com> wrote:

> preprogrammed with a standard bootloader in the boot section of the > flash , so that I can compile link and load using the AVRISP mkII? If
By definition, you do not need any code in the micro in order to program over ISP.

"ratemonotonic" <niladri1979@gmail.com> skrev i meddelandet 
news:1192807850.637196.324650@q3g2000prf.googlegroups.com...
> Hi all , > > I have just designed a board with a JTAG interface and ISP interface > ( with some good advice from past discussions on this forum)and have > also bought the JTAG programmer. Now before I send the board for > layout , I am looking at the nitty gritty of bootloading a hello world > programme ( flashing leds!) on it. Does the ATMEL parts come > preprogrammed with a standard bootloader in the boot section of the > flash , so that I can compile link and load using the AVRISP mkII? If > yes what are the functionalities of the boot loader? > > If no are there any example bootloader for ATmega which i could use to > start off, without reinventing the wheel. > > > BR > Rate >
It is enough to download AVR Studio connect the AVR ISP to the ISP interface. No need for a bootloader. If you want to be able to do field upgrade later, without the AVR ISP or a JTAG ICE; then there are some application notes available on www.atmel.com or www.avrfreaks.net -- Best Regards, Ulf Samuelsson This is intended to be my personal opinion which may, or may not be shared by my employer Atmel Nordic AB
On 19 Oct, 20:28, "Ulf Samuelsson" <u...@a-t-m-e-l.com> wrote:
> "ratemonotonic" <niladri1...@gmail.com> skrev i meddelandetnews:1192807850.637196.324650@q3g2000prf.googlegroups.com... > > > > > Hi all , > > > I have just designed a board with a JTAG interface and ISP interface > > ( with some good advice from past discussions on this forum)and have > > also bought the JTAG programmer. Now before I send the board for > > layout , I am looking at the nitty gritty of bootloading a hello world > > programme ( flashing leds!) on it. Does the ATMEL parts come > > preprogrammed with a standard bootloader in the boot section of the > > flash , so that I can compile link and load using the AVRISP mkII? If > > yes what are the functionalities of the boot loader? > > > If no are there any example bootloader for ATmega which i could use to > > start off, without reinventing the wheel. > > > BR > > Rate > > It is enough to download AVR Studio connect the AVR ISP > to the ISP interface. > No need for a bootloader. > If you want to be able to do field upgrade later, without the > AVR ISP or a JTAG ICE; then there are some application > notes available onwww.atmel.comorwww.avrfreaks.net > > -- > Best Regards, > Ulf Samuelsson > This is intended to be my personal opinion which may, > or may not be shared by my employer Atmel Nordic AB- Hide quoted text - > > - Show quoted text -
thanks, Very good ! So I can get started developing code easy peasy! an worry about field upgrade at a later stage.