Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
I need some pointers on how to track down exactly what is happening with some device failures in the field.
Basically, the devices do not start properly (will not run our application code) in the failed mode - using the debugger in Code Composer Studio 7 I have isolated it to a particular strangeness.
The devices are all identical. The vast majority work OK but 2-3% of them die. The devices get as far in our main.c as calling ICall_init() but go no further. Inside ICall_init(), the device seems to be calling a function ti_sysbios_BIOS_start__E(); which doesn't seem right to be (i.e. the device never gets as far as the BIOS_Start() call at the end of main.c.
This always ends up busy inside a HWI exception function. Understandably I guess since none of the application has been registered at that point.
I initially thought it might be a crash related to loading some data using the SNV but it never gets that far.
If I reflash the device with a fresh copy of the (identical) firmware, they start OK.
Is there any way for the firmware to get corrupted? The devices are very simple, running a cr2032 battery and as far as I can tell not subjected to a disastrous amount of static i.e. they can be revivied by re-flashing them (although I don't know how long they are being revived for). Is there a hardware / processor failure mode that would cause something like this?