simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] attiny85 - external interrupt support (INT0/PCINT)


From: Thomas K
Subject: Re: [Simulavr-devel] attiny85 - external interrupt support (INT0/PCINT)
Date: Wed, 3 Feb 2016 15:01:16 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

Hi

should work. Message means, that there are no registers assigned but code shows (gimsk and mcucr) Do you really simulate attiny85? E.g. start simulavr with "-d attiny85"? What version simulavr do you use? (if self compiled, from where do us download the code?)

cu, Thomas

Am 03.02.2016 um 10:35 schrieb zid:
Hi,

I am trying to simulate external interrupts (INT0) on an ATTiny85.

After adding the following lines, I get the following errors:

// Enable INT0 interupt
GIMSK |= (1<<INT0);

// Set INT0 interupt to rising edge detection
MCUCR |= (1<<ISC00) | (1<<ISC01);


WARNING: file rwmem.cpp: line 222: Invalid read access from IO[0x5b],
PC=0x80
WARNING: file rwmem.cpp: line 231: Invalid write access to IO[0x5b]=0x40,
PC=0x84
WARNING: file rwmem.cpp: line 222: Invalid read access from IO[0x55],
PC=0x86
WARNING: file rwmem.cpp: line 231: Invalid write access to IO[0x55]=0x3,
PC=0x8a


Does this just mean this feature is not available to simulate on this MCU?
Or am I missing something fundamental?

Thanks
Zid



--
View this message in context: 
http://nongnu.13855.n7.nabble.com/attiny85-external-interrupt-support-INT0-PCINT-tp208170.html
Sent from the simulavr-devel mailing list archive at Nabble.com.

_______________________________________________
Simulavr-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/simulavr-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]