Hello
The watchdog takes some reason, so I'm trying to skip to the watchdog interrupt (WDOG_DriverIRQHandler) and investigate where it's coming from.
The following sources.
I am using SDK_2.6.0_MKE04Z128xxx4.
What's wrong?
*** startup routine ***
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;
;;
;; Default interrupt handlers.
;;
THUMB
PUBWEAK Reset_Handler
SECTION .text: CODE: REORDER: NOROOT (2)
Reset_Handler
*****Omit here
PUBWEAK WDOG_IRQHandler
PUBWEAK WDOG_DriverIRQHandler
SECTION .text: CODE: REORDER: NOROOT (2)
WDOG_IRQHandler
LDR R0, = WDOG_DriverIRQHandler
BX R0
.
*****Omit here
END
*** watchdog initialize ***
void boardWdogInit (void)
{
wdog8_config_t wdogConfig;
.
WDOG8_GetDefaultConfig (& wdogConfig);
wdogConfig.timeoutValue = WDOG_TIMEOUT;
wdogConfig.enableInterrupt = true;
.
WDOG8_Init (WDOG, & wdogConfig);
.
WDOG8_EnableInterrupts (WDOG, WDOG_CS1_INT_MASK);
NVIC_EnableIRQ (WDOG_IRQn);
}
*** interrupt routine ***
void WDOG_DriverIRQHandler (void)
{
*****Omit here
}
Thank you.
jun.