I try to disable the SWIM interface in a STM8AL3168 derivative but it does not seem to work (see details). What am I doing or thinking wrong?
I try to disable the SWIM interface in a STM8AL3168 derivative, by setting the SWD bit of the global configuration register (CFG_GCR) = 1 in main().typedef struct CFG_struct{ __IO uint8_t GCR; /*!< Global Configuration register */}CFG_TypeDef;#define...