Trap management
Posted: Fri Nov 27, 2009 12:53 pm
Hi Tom,
I cannot create a new threat in the firmware section... therefore I do it here....
Below a suggestion for your error trap management in the module microcontroller.c.
When a trap is triggered a Red LED should be turned on and stay turned on even after a reboot/power off-on. In the trap error routine, there should always be a reset of the micro-controller.
At start-up, the the Red led should flash a number of time corresponding to the error type.
The user should be able to reset the Red LED with a simple procedure (eg push switch during board start-up)
So the user will know an error happens and the causes will be easier identified
PS/ I cannot upload code example in this threat...
MArc
I cannot create a new threat in the firmware section... therefore I do it here....
Below a suggestion for your error trap management in the module microcontroller.c.
When a trap is triggered a Red LED should be turned on and stay turned on even after a reboot/power off-on. In the trap error routine, there should always be a reset of the micro-controller.
At start-up, the the Red led should flash a number of time corresponding to the error type.
The user should be able to reset the Red LED with a simple procedure (eg push switch during board start-up)
So the user will know an error happens and the causes will be easier identified
PS/ I cannot upload code example in this threat...
MArc