|
From: | jeffrey traer bernstein |
Subject: | Re: [avr-gcc-list] bootloader not jumping back to app |
Date: | Mon, 08 Aug 2005 15:18:56 -0400 |
User-agent: | Mozilla Thunderbird 0.7.3 (Windows/20040803) |
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();
okay here's another stab in the dark. when you make a function pointer and initialize it with an address (0x0000 in the case) is it the data i.e. the address stored in the .data section? this would mean that when i reprogramming from the bootloader i am overwriting this necessary initialization data and so the jump is not going to the right place and keeping me in the bootloader.
[Prev in Thread] | Current Thread | [Next in Thread] |