mc9s08dz128 flash programming and watchdog

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

mc9s08dz128 flash programming and watchdog

656 Views
martinlockner
Contributor III

I am trying to use the Processor Expert generated code for flash programming (IFsh1.c and IFsh1.h) and I need a way to feed the watchdog timer while the flash is being programmed. Has anyone come up with a solution for this? I am trying to update some constant tables not program code.

Labels (1)
0 Kudos
2 Replies

481 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Martin,

please refer watchdog sample code attached, you can also find this sample under CW6.3 install folder.

Hope this helps!

=========================================

this answer is for you, if it helps, please click on "correct answer" button. thanks!

Best Regards,

ZhangJun

0 Kudos

481 Views
martinlockner
Contributor III

Jennie,

Thanks for your reply. I might not have made myself clear in my post. I have the watchdog working correctly in my normal firmware operation what my problem is is how to feed the watchdog when I am trying to write to an area of flash memory. I am using Processor Expert and it has generated tow files IFsh1.c and IFsh1.h which contain the methods for writing to flash and what I was trying to find out was where to feed the Watchdog when writing a block to flash.

Thanks,

Marty Lockner

0 Kudos