AT90CAN128: Map the code stack in internal SRAM ?

Gast #2268137
Lesenswert?

Hallo,

im Datenblatt zum AT90CAN128 steht folgendes:

Miss-functioning when code stack is in XRAM
If the stack pointer (SP) targets the XRAM and if the execution of an 
instruction is split to serve a rising interrupt, the last operation of 
this instruction, executed after pushing out the return address from 
XRAM, may be disturbed providing wrong data to the system. Example: - 
the “OUT” instruction can be executed twice
- the “MOV” instruction can update a register with un-predictable data.

Problem fix / workaround
Map the code stack in internal SRAM.

Mir ist nicht ganz klar, was da zu tun ist.

Gruß
Kim

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