I am using MPC5604S controller and the self-programming flash library provided from NXP. I have a requirement to write certain numbers to a particular memory location using the flash write operation. But one constrain is that i need to refresh the controller in every 10ms else the controller will reset or go to sleep. So i am refreshing watchdog inside the callback routine.
But the issue I am facing is that when I am trying to write the number to the controller using flash library,the controller is resetting. That means watchdog refreshing is not happening.
Kindly provide your suggestions ASAP.