Kinetis KDS, K60 and Watchdog_IRQHandler

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Kinetis KDS, K60 and Watchdog_IRQHandler

391 Views
weblar
Contributor V

Hi,

I'm moving a project over from IAR to KDS 3.0.0 and I'm having a few teething issues.

I created a new Kinetis Project from within KDS, selected the correct MCU, imported the relevant source + header files, tweaked the HEAP + STACK sizes, made a couple of syntax adjustments and them compiled and ran it on my target device.

The code used to use a __low_level_init() routine within IAR to disable the watchdog - this worked absolutely fine and there has never been an issue. I realised that there is a SystemInit function being called from the startup_MK60F15.s which I've subsequently disabled as I have my own clock initialization routines, etc.

One thing I've noticed now is that when I attempt to debug, the debugger always stops in Watchdog_IRQHandler even though the watchdog is (allegedly) disabled - I am able to break before and after the disable function yet the interrupt still appears to be active.

I've looked through other discussions regarding this issue without any solution to the problem.

Kind regards,

Kevin

Labels (1)
0 Kudos
1 Reply

232 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Kevin,

In the funtion "SystemInit()"  of KDS, it disable the Watchdog,,

while you disable this function , where you disable the watchdog ?

BR

Alice

0 Kudos