[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] bootloader not jumping back to app

From: jeffrey traer bernstein
Subject: Re: [avr-gcc-list] bootloader not jumping back to app
Date: Mon, 08 Aug 2005 11:33:56 -0400
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

is it possible that reset interrupt vector at 0x0000 is jumping directly to the bootloader everytime?

Joerg Wunsch wrote:

jeffrey traer bernstein <address@hidden> wrote:

Problem is when i try to jump to 0x0000 using a function pointer or
inline assembly the app code i loaded doesn't seem to start.

How do you jump to 0, did you make sure it actually resulted in what
you want?

Here's the AppNote AVR109 way (that is proven to work):

void (*funcptr)( void ) = 0x0000;

If you need a genuine reset (which will also return all IO registers
to their default state), rather use the watchdog.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]