This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
The code generated by the HAL Code Generator tool creates the resetSource_t enumerator (HL_system.h file) with WATCHDOG2_RESET that refers to a bit that is reserved in the System Exception Status Register (SYSESR).
WATCHDOG2_RESET is used in _c_int00().
Does WATCHDOG2_RESET has a meaning? Can it be removed from _c_int00()?
Best regards,
Marcio.
Hi Marchio,
I am suspecting this resetSource_t structure is designed for dual core even though they are always operated in lock step mode, just like as mentioned in below thread:
I practically created watchdog reset and found that only "WATCHDOG_RESET" bit got SET and "WATCHDOG2_RESET" not SET after RESET.
So, TRM is correct and HL_system.h needs to be correct.
Thanks for pointing out this issue and we will take necessary corrective action on this issue.
--
Thanks & Regards,
Jagadish.