[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] LPM instructions in optimized code causes unintended
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] LPM instructions in optimized code causes unintended behavior in execution |
Date: |
Wed, 16 Jun 2010 20:16:25 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
As Thomas Carsten Franke wrote:
> I did not restored the NVM CMD because I
> didn't know that it would has to be.
This is correct. We recently added a note to the documentation in the
header file <avr/pgmspace.h> telling that on Xmega devices, all the
functions will only work as designed if NVM_CMD is set to 0x00 (NOP).
As you had to manually take care to set NVM_CMD to something else
before, I think it's only fair to leave the job to the programmer to
restore it afterwards.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
- [avr-libc-dev] LPM instructions in optimized code causes unintended behavior in execution, Thomas Carsten Franke, 2010/06/16
- Re: [avr-libc-dev] LPM instructions in optimized code causes unintended behavior in execution,
Joerg Wunsch <=
- Re: [avr-libc-dev] LPM instructions in optimized code causes unintended behavior in execution, Wouter van Gulik, 2010/06/17
- Re: [avr-libc-dev] LPM instructions in optimized code causes unintended behavior in execution, Joerg Wunsch, 2010/06/16
- Re: [avr-libc-dev] LPM instructions in optimized code causes unintended behavior in execution, Wouter van Gulik, 2010/06/16
- Re: [avr-libc-dev] LPM instructions in optimized code causes unintended behavior in execution, Joerg Wunsch, 2010/06/16
- Re: [avr-libc-dev] LPM instructions in optimized code causes unintended behavior in execution, Wouter van Gulik, 2010/06/17
- Re: [avr-libc-dev] LPM instructions in optimized code causes unintended behavior in execution, Wouter van Gulik, 2010/06/17
- Re: [avr-libc-dev] LPM instructions in optimized code causes unintended behavior in execution, Thomas Carsten Franke, 2010/06/17
- Re: [avr-libc-dev] LPM instructions in optimized code causes unintended behavior in execution, Wouter van Gulik, 2010/06/17
- RE: [avr-libc-dev] LPM instructionsin optimized code causes unintended behavior in execution, Weddington, Eric, 2010/06/17
- RE: [avr-libc-dev] LPM instructionsin optimized code causes unintended behavior in execution, Weddington, Eric, 2010/06/17