In STVD (ver.4.3.12 MCU: STM8L052C6)I wrote:LD A,#$68LD $5232,A ;(USART bade rate register)but memory ($5232) is $00when I wrote: LD $5000,A ;Port A data reg. memory ($5000) is $68, it work wellwhai is the different?Could anybody hel...
void sEE_Init(void) { //printf("i2c init\n"); sEE_LowLevel_Init(); // enable clock /*!< I2C configuration */ /* sEE_I2C Peripheral Enable */ I2C_Cmd(sEE_I2C, ENABLE); I2C_DeInit(sEE_I2C); /* sEE_I2C configuration after enablin...
The chip is stm8s103f3p6, and I wanna use lsi as clk and tim4 to make a timer, there are two strange things happened. when I set prescaler to TIM4_PRESCALER_4 and ARR to 32, I thought it should interrupt every 1ms (128k/4/32=1kHz), but it seems brea...
Hi,I am developing an IAP for one of my project.In that the bootloader and the application using interrupt vectors.How can I seperate the interrupt vectors for application as well as bootloader. How to relocate the interrupt vectors in STM8?T...
Hello,First off, I'd really like to thank the community for being there to help, and I really appreciate any help or guidance offered. I am trying to put an STM8S103F3 MCU into wait mode until an external interrupt on port A triggers. I make the asse...
1. Table 26 of STM8S001J3 page 49 of 85, shows current consumption in halt mode is 4.5uA typical, but when I put MCU in halt mode, i got current in 1mA range. Dont understand why?2. I have broken small breakout board from stm8-so8-disco of STM8S001J3...
Hello,Is there a way to detect if debugging session is active (eg. IAR debugger is attached)?Datasheet says DM and SWIM registers are only accessible from SWIM interface, not from STM8 bus.Unfortunately IAR doesn't like the WFI instruction during deb...
I am running code overnight using the STVD debugger and an STM8S discovery board as the interface. After many hours the debugger loses connection to the target. "Stop Program" is grayed out under the "Debug" menu. The "watch" variables are not bei...