|
ExternalInterrupt Problem: msg#00672hardware.microcontrollers.tini
>... >> The result is: Trigger is owned. >> but I don't know who owned the trigger. the serial >> server is stop, and just one process was running. >... >This appears to be a bug in 1.11 for the 400. I've put it on the list to >fix for 1.12 firmware. >... >Bryan Armstrong Greetings, Is the whole ExternalInterrupt class broken for 1.11 on the 400? I cannot get buttons to work yet either. Even the example from the TINI book does not work. In addition to the Trigger error, I have found: The EX1 bit is not set by default in the IE register. Setting EX1 is required, but does not fix ExternalInterrupt. Edge triggering is the default. Clearing IT1 in TCON for level triggering causes the process to hang while the button is held, but no ExternalInterruptEvent seems to be generated. I have buttons on all 5 interrupts, so something special is needed anyway. How can I link them to generate an event like the ExternalInterrupt is supposed to? Docs seem to indicate I can install interrupt handlers. Then, suspend a thread from an event generator method. But, System_ThreadResume cannot be called from the ISRs. So, how do you resume? Is there good example somewhere? Thanks, Bill Johnson SHOT (R) _______________________________________________ TINI mailing list TINI-6tN4nzCoH/hBDgjK7y7TUQ@xxxxxxxxxxxxxxxx To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: IDE for Java - very fast: 00672, Rainman Yuan |
|---|---|
| Next by Date: | Re: Has anyone noticed the undocumented command argument in TINIConvertor?: 00672, Marc Nicholas |
| Previous by Thread: | Re: ExternalInterrupt Problemi: 00672, Bryan Armstrong |
| Next by Thread: | Re: ExternalInterrupt Problem: 00672, Bryan Armstrong |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |