Hello to all,
I cannot write EEPROM with program under, my array fin[x] declared in {$EEPROM} works like in RAM with nothing memorised, I used in the past the same process with ATMEGA but it not works with XMEGA32E, why ?
Thans for help !
Device = xmega32E5, VCC=3.3;
{ $BOOTRST $04000} {Reset Jump to $04000}
{$EEPROM}
var
fin: array[0..87] of byte;
{ Var Declarations }
{$IDATA}
var
rep,dep,s1,s2,derposi,sens: array[0..87] of byte;
posi,a,b,note,dist,v,vmid,idc: byte;
{--------------------------------------------------------------}
{--------------------------------------------------------------}
{ Main Program }
{$IDATA}
begin
for a:=0 to 87 do fin[a]:=200;endfor;
loop
endloop;
end Proxi.
I cannot write EEPROM with program under, my array fin[x] declared in {$EEPROM} works like in RAM with nothing memorised, I used in the past the same process with ATMEGA but it not works with XMEGA32E, why ?
Thans for help !
Device = xmega32E5, VCC=3.3;
{ $BOOTRST $04000} {Reset Jump to $04000}
{$EEPROM}
var
fin: array[0..87] of byte;
{ Var Declarations }
{$IDATA}
var
rep,dep,s1,s2,derposi,sens: array[0..87] of byte;
posi,a,b,note,dist,v,vmid,idc: byte;
{--------------------------------------------------------------}
{--------------------------------------------------------------}
{ Main Program }
{$IDATA}
begin
for a:=0 to 87 do fin[a]:=200;endfor;
loop
endloop;
end Proxi.