in a file measure.ini: PE_SWD = 0 /* Disable Watchdog with pin PE_SWD */ but the compiler says "PE_SWD undefined identifier". is there anyone who can tell me what i should do,thanks a lot!
This is a VTREG that is available on many of the Infineon devices. It controls the watchdog timer. Setting in the debugger scripts prevents the watchdog from automatically being enabled and resetting the simulation. Refer to the following knowledgebase article for more information. http://www.keil.com/support/docs/1966.htm This is enabled in the script for users who change the device to the C509 and other similar devices. The error message is innocuous and causes no problems. Jon
Jon, huang wei is to be commended for taking the effort to work through the examples and learn the tools properly. If only everyone did that! The last thing he deserves is to be rewarded for his trouble by spurious error messages & undocumented VTREGs!
This will be fixed in the next update and release. Jon