We are running a .NET application on the T30 using WinCE with the 2.0 released OS image.
Doing some stress testing which has a lot of IO to the flashdisk. Occasionally, the kernal crashes. I'm at a loss about how to debug this. Is there any way to turn on kernal level logging? I would like to turn on Dr. Watson as specified http://developer.toradex.com/knowledge-base/post-mortem-debugging-watson. The config block editor does not have these options. In dbg, I only see serial, regread and regwrite.
However, I don't even know if Dr. Watson would help during a kernal crash.
Any other suggestions for debugging this?
WEC7 BSP V2.0
Answer by samuel.tx · Apr 06 at 06:09 AM
The config block editor currently does not support the newer configurations like the watson settings. No worry, there are some alternative ways to get that set.
You can configure these settings directly in the bootloader menu.
To get into the bootloader menu, please check this developer page.
Once you are in the bootlaoder menu, you get in the bootloader command prompt by typing "x". See also here.
Adjust the dbg settings by typing:
set dbg.watson=1 set dbg.watsonsize=xxxxx // in case you want to increase the size save dbg
After rebooting the device watson debugging should be enabled.
Please also make sure, you have enabled the debug output, may be you already find some valuable information there that points out what is the reason for the crash.
I will add an issue to our bug tracker in order to get the missing config block settings added. Thanks for pointing this out.
Answer by dmcreynolds · Apr 13 at 04:14 PM
Thanks. I tried this, but I got:
>set dbg.watson=1 Invalid Command
I have turned on normal debug output and will see if I get anything useful. But it would be very useful to be able to setup our machines to dump out debug information after a crash, as the crash is rare and not always on a lab device connected to a running computer over serial.
How can I delete a Folder on the USB HD? 0 Answers
10" LCD on Apalis T30 WEC2013 1 Answer
PWM with Ixora/T30 under WinCE 1 Answer