2021-08-27 10:04 PM
2021-08-28 06:35 PM
Found it. It seems that by default the IWDG is on so is causing resets. Solved by including the IWDG initialisation and servicing resets to it in the main thread. Something must have changed in the startup(F103C6tx) to have done this as this project was working properly when built with MXCubeIDE V1.6.0
Anyway all solved and working again. I guess having the watchdog running isn't such a bad thing anyway.
2021-08-28 11:07 AM
> F103C6T6
knock-off chip and/or programmer?
> refuses to debug consistently
Perhaps provide a more detailed description.
> continuously resets
Determine the cause of the reset in RCC->CSR.
2021-08-28 04:58 PM
Could only be a knock off chip and / or programmer if Farnell are supplying knock offs which I very much doubt. This worked perfectly prior to updating from V1.6.1 to 1.7.0. RCC_CSR shows reset being caused by Low Power management and software resets. (I had already been down that path).
2021-08-28 06:35 PM
Found it. It seems that by default the IWDG is on so is causing resets. Solved by including the IWDG initialisation and servicing resets to it in the main thread. Something must have changed in the startup(F103C6tx) to have done this as this project was working properly when built with MXCubeIDE V1.6.0
Anyway all solved and working again. I guess having the watchdog running isn't such a bad thing anyway.