here under my asm code for initializing UART2 of STM8s105. I use STVD IDE with stm8s discovery.
when I put a break point at the end of the init, all the UART2 peripherals remains at 0x0000. I don't understand because I have init many others peripherals GPIO, Timer ...
hereunder a screenshot of the STVD IDE at the break point
thanks for your help.