Hi pgo,
I find a bug of USBDM.I new a project of Mc9S08PA16.I download the program into pA16 and watch WDOG register.
the value is different from the default value of PA16.when i download program into PA16 through multilink.the value is same as the default value in datasheet.
so I think it's a bug.can you try it?
bye
Hi Wang,
This issue has been corrected in the current version just uploaded to Sourceforge.
bye
Dear pgo,
Thanks
Hi Wang,
You are quite correct. Unfortunately I can't see any way around this.
USBDM modifies the target registers to allow programming. After programming the device is reset. Unfortunately the Watchdog is not reset by a software reset - It appears to only be reset by a power-on-reset.
If you cycle power to to the target during your debugging session (and clear the USBDM connection dialogue that pops-up) you can restore the power-on-values.
Software reset in the debugger will not achieve this - The watchdog is unchanged.
I'm unsure how the Multi-link works.
bye
PS. I will modify the flash programming code so it doesn't lock the WDOG (if possible).