Forum Topic - how to gather for watchdog reset debug: (3 Items)
   
how to gather for watchdog reset debug  
On a qnx 7.0 system. Randomly the system reboot by the hardware watchdog configured for 30 sec timeout. (we are able to 
read reset cause register from arm uC the indicates hardware wdt ). 
It looks like the OS crash, so stop refreshing wdt process. 
The system is not in laboratory environment so information must be save in files to gather after the incident is 
reported.
This happened very rarely and I need to gather information.
So:
* how a kernel crash, hang or shutdown can be force? (for test purposes) 
* what is the kernel shutdown message standard output? how can be configure to write into a file?
 * What tools do you recommend using in these cases?
Re: how to gather for watchdog reset debug  
A kernel shutdown message usually will be written to a serial port. You can force one for test purpose by triggering a 
page fault in an ISR. See also "Reading a Shutdown Message" technote: https://www.qnx.com/developers/docs/7.1/#com.qnx.
doc.neutrino.technotes/topic/proc_dump.html
Re: how to gather for watchdog reset debug  
thanks Alexander ,

we try with the following configuration and wdt disable and there wasn´t any dump or trace on serial console

[image=0x10800000] 
[virtual=armle-v7,raw +compress] .bootstrap = {
	startup-imx6x-apalis -m -vvvvv  
	[+keeplinked]
	kdumper
    PATH=/proc/boot:/bin:/usr/bin:/opt/bin/sbin:/usr/sbin LD_LIBRARY_PATH=/proc/boot:/lib:/usr/lib:/lib/dll:/lib/dll/pci
:/opt/lib procnto-smp-instr -v
}

Is any config in startup* that print the state of registers before hot boot?

thanks