AnsweredAssumed Answered

MCUXpresso Firmware Update & WDOG Complications

Question asked by Ellen Stacey on Mar 19, 2020
Latest reply on Mar 27, 2020 by Alexis Andalon

Does anyone know of a trick to be able to update firmware via the debugger during development while a watchdog timeout is low?  I've found that I cannot update via MCUXpresso unless my timeout is at least 2seconds but I'd like to be running with my desired timeout to increase the time to find a problem.   If I have it set to 0.5s, I have to change the jumper settings and update via the flash tool and change the jumper settings back. 

 

If I can't avoid the problem, I'd at least be able to run the debug target without the watchdog running at all.  I thought that is what the specification says it is the way it is supposed to work, but it doesn't.   Is there someway to determine this at runtime so I can skip enabling the watchdog?

 

Otherwise, I suppose I could enable the watchdog much later in the code, but that isn't very clean nor desirable, but could be a temporary work around.

 

Any tips would be appreciated.

Ellen

Outcomes