Sign in

username:

password:



Not a member?

Search Comp.Arch.Embedded



Search tips

embedded by Keywords

68HC11 | 68HC12 | 8051 | 8052 | ARM | ARM7 | Asic | AT91 | AT91RM9200 | Atmel | AVR | AVRStudio | Bootloader | CFP | CompactFlash | Cygnal | Cypress | Dataflash | DSP | eCos | EEPROM | Embedded Linux | Emulator | Endian | Ethernet | Firewire | FPGA | Freescale | GCC | GNUARM | GSM | H8 | HDLC | I2C | Infineon | Interrupts | Java | JTAG | LCD | LED | LPC2000 | MCU | Microchip | MMC | MPLAB | MSP430 | PC104 | PCB | PCI | PCMCIA | PowerPC | Rabbit | RS232 | RS485 | RTOS | SBC | SDRAM | Sensor | SPI | STK500 | UART | UML | USART | USB | Verilog | VHDL | VxWorks | Xilinx

Discussion Groups

Discussion Groups | Comp.Arch.Embedded | Atmel mega 16 bootloader q's

There are 2 messages in this thread.

You are currently looking at messages 0 to 2.

Atmel mega 16 bootloader q's - Nedward - 08:36 24-07-07



Hi all, new here.

i have been looking at getting a bootloader to work. all i want to do at
this stage is write something to flash so i know it's working and even
that isnt working.

i got some help from a good friend, who wrote some code for me for his dev
board but it was a mega 64. now, that shouldn't really matter, as it had
nothing in it that i couldn't use on my 16 other then the register name.

so i changed that and it didnt work. tried a few more different things and
that also didnt work.

Now i'm just wondering, maybe the micro hasnt been told it's supposed to
be acting as a bootloader.... because if it doesnt know, it wont do
anything with the SPM instruction.

How do i make sure that the micro is actually in bootloader mode rather
then application?

it writes to the right part of flash for the bootloader to be in, i set
the bootrst bit in the compiler so that it jumps straight to that address
on reset but cant get the thing to work.

Anyone have any ideas? i'm using CodeVisionAVR btw



Re: Atmel mega 16 bootloader q's - Eric - 13:08 25-07-07

On Jul 24, 8:36 am, "Nedward" <DevilRacer...@hotmail.com> wrote:
> Now i'm just wondering, maybe the micro hasnt been told it's supposed to
> be acting as a bootloader.... because if it doesnt know, it wont do
> anything with the SPM instruction.
>
> How do i make sure that the micro is actually in bootloader mode rather
> then application?

You might try posting a question at http://www.avrfreaks.net if you
don't get an answer here. That's a terrific place for AVR developers.

Eric