|
From: | Yannick PODGORSKI |
Subject: | Re: [avr-gcc-list] switch from application to bootloader section |
Date: | Mon, 21 Feb 2005 12:10:58 +0100 |
Don't you make the opposite ?
to switch app section to boot section
is:
//....
cli();
GICR = (1<<IVCE);
GICR = (1<<IVSEL);
void (*function)(void) = 0x1E000
function();
Anyone know how to switch interupt vector from
bootloader section to application section ?
I Try :
//...
cli();
GICR = (1<<IVCE);
GICR = (0<<IVCE);
// try
this
void (*function)(void) = 0x0000
function();
//...
Can you give more details :
- what happen ?
Do you disable watch dog
? Yannick
Podgorski
|
[Prev in Thread] | Current Thread | [Next in Thread] |