Probleme beim Speicherzugriff bei PIC24

OP #1867008
Lesenswert?

Guten Tag,
ich habe unter MPLAB ein Programm in C für einen PIC24FJ64GA004 
geschrieben.
Das Programm soll Werte eines analogen Eingangs abspeichern.
Kompilieren lässt sich das ganze ohne Probleme, doch bei der Ausführung 
kommen dann folgende Fehler im Output Fenster

CORE-E0011: Trap due to unimplemented RAM or PSV memory access, occurred 
from instruction at 0x000e72
CORE-E0001: Trap due to stack error, occurred from instruction at 
0x000e72
CORE-E0003: Trap due to unimplemented RAM memory access, occurred from 
instruction at 0x000e72
CORE-E0003: Trap due to unimplemented RAM memory access, occurred from 
instruction at 0x000e72
CORE-E0003: Trap due to unimplemented RAM memory access, occurred from 
instruction at 0x000e72
CORE-E0003: Trap due to unimplemented RAM memory access, occurred from 
instruction at 0x000e72

Hat jemand eine Idee woher das kommen kann?
Gast #1867245
Lesenswert?

ich habe das Problem jetzt lokalisiert, und zwar tritt der fehler bei
1
float y[3] = {0.,0.,0.};

auf, ich habe das ganze einmal zerteilt, in
1
float y[3];
2
y[0]=0.; y[1]=0.; y[2]=0.;

das Problem erscheint erst, wenn ich versuche in eine Variable 
reinzuschreiben.

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren