Hallo zusammen! ich wollte mein programm debuggen und da sind mir im massage-fenster ein paar meldung aufgefallen! z.B AVR Simulator: Stack Overflow at 0x005a AVR Simulator: Stack Overflow at 0x072b AVR Simulator: Unsupported instruction 'jmp' at address 0x000945 AVR Simulator: Stack Underflow at 0x0e09 AVR Simulator: Stack Underflow at 0x0e09 AVR Simulator: Stack Underflow at 0x0e09 AVR Simulator: Stack Underflow at 0x0e09 AVR Simulator: Stack Underflow at 0x0e09 AVR Simulator: Stack Underflow at 0x0e09 AVR Simulator: Stack Underflow at 0x0e09 AVR Simulator: Too many stack errors - further reporting suppressed AVR Simulator: Unsupported instruction 'call' at address 0x000043 AVR Simulator: Unsupported instruction 'jmp' at address 0x000945 AVR Simulator: Unsupported instruction 'call' at address 0x000043 AVR Simulator: Unsupported instruction 'jmp' at address 0x000945 AVR Simulator: Unsupported instruction 'call' at address 0x000043 AVR Simulator: Unsupported instruction 'jmp' at address 0x000945 AVR Simulator: Unsupported instruction 'call' at address 0x000043 AVR Simulator: Unsupported instruction 'jmp' at address 0x000945 AVR Simulator: Unsupported instruction 'call' at address 0x000043 AVR Simulator: Unsupported instruction 'jmp' at address 0x000945 AVR Simulator: Unsupported instruction 'call' at address 0x000043 AVR Simulator: Unsupported instruction 'jmp' at address 0x000945 AVR Simulator: Unsupported instruction 'call' at address 0x000043 AVR Simulator: Unsupported instruction 'jmp' at address 0x000945 AVR Simulator: Unsupported instruction 'call' at address 0x000043 AVR Simulator: Uninitialized stack pointer used at 0x0043 okee, ich versteh was er mir sagen will, aber leider nicht, was ich falsch mache! z.b: wie genau verhindere ich einen stack over/underflow !? MfG Tom
Erst mal für den richtigen Controller übersetzen, also für den, der auch zu simulieren ist. Offenbar passt das nicht zusammen.
Wenn du eine massage-Fenster siehst, musst du erst mal die schweinischen Sachen wieder zumachen!
Wenn ich mich nicht irre, gab es mal eine Studio-Version, die einen Bug hatte. Ob das in den aktuellen Versionen auch noch so ist, keine Ahnung... Lass dein Programm halt bis zum ersten Stack-Fehler laufen, und schau dir die Adressen an. Dann solltest du erkennen, was los ist. Oliver
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.