Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000243FirmwareInit & Configpublic2011-07-28 23:002014-02-18 23:46
ReporterFred 
Assigned ToFred 
PrioritynormalSeveritytweakReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version0.2.0-SNAPSHOT 
Target Version0.2.0Fixed in Version0.2.0 
Summary0000243: Handle Spurious Interrupts & Other System Interrupts
DescriptionCurrently there is no handler (UISR) for the spurious interrupt vector and several others which are out of our control. This is bad. Add handlers for all non-peripheral system level interrupts such that program operation is ensured to be smooth at all times.
TagsNo tags attached.
FirmwareVersion
Issue TypeBug
Risk of Breakagevery low
Attached Files

- Relationships

-  Notes
User avatar (0000225)
Fred (administrator)
2011-07-28 23:06

Currently broken, can only get better from here.
User avatar (0000226)
Fred (administrator)
2011-07-28 23:56

Required:

Spurious
Clock
UnimpInstruct

Not required:

COP and Main reset vectors - These are handled by the SM.

Maybe required:

RAM violation
XGATEsoft error
CRG self clock
CRG PLL lock
User avatar (0002654)
Fred (administrator)
2013-05-18 22:32

COP, main, and clock are all passed through the SM vector table, and can't be handled by us directly. Later it'd be nice to see from where each reset came, this requires SM mods.

The two CRG interrupts are now active and in use, issues are 0000213 and 0000844 detail this.

That leaves Spurious, Unimplemented, RAM Violation and XGATE software error to do. Perhaps others? I don't think so, but maybe.
User avatar (0002657)
Fred (administrator)
2013-05-21 16:36

Sean, this is fixed in hash 22572c7, please rebase your XGATE stuff on top of this, add some bad instructions and verify that the four bits in the new flags register remain unset without the bad instructions and the xg sw error becomes set with it. Close if happy.
User avatar (0002747)
Fred (administrator)
2014-02-18 23:46

Closing as no one has complained about anything, so it's likely fine. Typical lack of testing and community involvement demonstrated here by Sean... utter FAIL!


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker