Hardfault while debugging cortex-M4 on Colibri i.MX7D , related to WDOG_DisablePowerdown

While running the hello_world_imx7_colibri_m4 example application I found that a hardfault was triggered within BOARD_ClockInit and caused by the call to WDOG_DisablePowerdown(BOARD_WDOG_BASEADDR);
I am using DS-5 and a Ulink Pro D for debug.
I have configured uboot with setenv defargs clk_ignore_unused but setting that has not resolved the issue
What could be causing this hardfault ?

Please check this thread.