bugSimulavr: an AVR simulator - Bugs: bug #59427, Pending external interrupts can...

 
 

bug #59427: Pending external interrupts can not be cleared

Submitter:  None
Submitted:  Sat 07 Nov 2020 11:30:24 AM UTC
   
 
Category:  Simulation Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  * -email is unavailable- Open/Closed:  Open
Component Version:  * simulavr
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 07 Nov 2020 11:30:24 AM UTC, original submission:  

I observed that clearing pending external interrupts has no effect. For instance, clearing the PCIE bit (by writing a 0 bit) inside of GIMSK or clearing the PCIF bit (by writing a 1 bit) inside of GIFR, does not prevent the interrupt handler to be run.

Looking at the simulavr source code it seems like a Problem inside of libsim/externalirq.cpp in the function ExternalIRQHandler::set_from_reg. The function does not call ClearIrqFlag which would be required to clear any pending interrupts...

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code