|
From: | andi |
Subject: | [avr-gcc-list] switch from application to bootloader section |
Date: | Mon, 21 Feb 2005 16:23:34 +0700 |
I know to switch app section to boot section
is:
//....
cli();
GICR = (1<<IVCE);
GICR = (1<<IVSEL);
void (*function)(void) = 0x0000
function();
Anyone know how to switch interupt vector from
bootloader section to application section ?
I Try :
//...
cli();
GICR = (1<<IVCE);
GICR = 0;
void (*function)(void) = 0x1E000
function();
//...
but didn't work.
Andi |
[Prev in Thread] | Current Thread | [Next in Thread] |