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?
Zugriff auf eine Datenspeicheradresse, an der sich nicht befindet, insbesondere auch kein RAM. Siehe Befehl an Adresse 0x000E72.
vielleicht hilft letzter beitrag von Beitrag "ADC 12Bit dsPIC33 CH Scanning DMA - Index of the analog input ( Bufferüberlauf )"
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.
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.