[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] wdt_enable may fail to enable the watchdog onATmega12
Re: [avr-libc-dev] wdt_enable may fail to enable the watchdog onATmega1281
Mon, 31 Aug 2009 20:12:42 +0200
As Weddington, Eric wrote:
> > Instructions such as sts that use two words (32 bits) are not
> > guaranteed to be executed before an interrupt may fire.
> Have you tested this on the ATmega1281?
This behaviour would surprise me a bit, given that the datasheet
chapter about interrupt latency explicitly mentions the increased
latency when the interrupt arrives while a multiword instruction is
currently being executed.
I'd be interested in setting up a test setup that experimentally
verifies this behaviour, as the assumption the next instruction will
still be executed without being interrupted is quite crucial to the
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)