URL:
<http://savannah.nongnu.org/bugs/?26171>
Summary: INTERNAL ERROR: device would be twice in cycle
list.
Project: Simulavr: an AVR simulator
Submitted by: kschwi
Submitted on: Mo 13 Apr 2009 17:53:47 GMT
Category: Simulation
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Email: [email protected]
Open/Closed: Open
Discussion Lock: Any
Component Version: simulavrxx
_______________________________________________________
Details:
While activationg the SPI subsystem by setting the SPE bit in the SPCR
register the error message above is created.
Erroranalysis:
This happens while the method HWSpi::SetSpcr calls
core->AddToCycleList(this); if the SPE bit changes from 0 to 1.
It looks like an error in the constructor HWMegaSpi::HWMegaSpi. The
constructor HWSpi::HWSpi is identical to HWMegaSpi::HWMegaSpi. The
HWSpi::HWSpi does not call core->AddToCycleList(this);. There this call is
commented out! An Off-list request to Klaus is pending.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?26171>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
_______________________________________________
Simulavr-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/simulavr-devel