Gast
#2268137
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