|
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) |
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; .... funcptr(); If you need a genuine reset (which will also return all IO registers to their default state), rather use the watchdog.
[Prev in Thread] | Current Thread | [Next in Thread] |