Dies ist eine alte Version des Dokuments!
Java offers exception and errors. Errors are thrown by the virtual machine and we do not currently use them as we have no vm at all.
Exceptions
Auf dem Eval-Board (Carrier Board) befindet sich eine einzige freie LED am Gpio_Wkup_7. Diese kann in einer Applikation frei verwendet werden. Sie dient aber auch dazu, Fehlerzustände anzuzeigen.
blinking pattern | state | comment |
---|---|---|
1x kurz im Sekundentakt | Code wurde fehlerhaft geladen | FCS error in kernel |
1x once | Exception thrown in command | Unchecked exception caught in Task.loop |
2x once | Exception thrown in command | Unchecked exception caught in Kernel.loop |
3x once | Exception thrown in action method of task command | Unchecked exception caught in Task.loop |
5x kurz im Sekundentakt | Exception thrown | Unchecked exception caught in kernel |
1x kurz, dann 2x kurz im Sekundentakt | Machine Check Exception | Busfehler |
1x kurz, dann 3x kurz im Sekundentakt | System Call | sc-Instruktion |
1x kurz, dann 4x kurz im Sekundentakt | Floating Point Unavailable Exception | FPU switched off |