I have downloaded Cosmic C compiler software for STM8. But unable to receive the key
I have sent request to send the key for STM8 Cosmic C compiler arround 3-4 days back but unable to receive till today. Can you send the license key
I have sent request to send the key for STM8 Cosmic C compiler arround 3-4 days back but unable to receive till today. Can you send the license key
Based on Cosmic compiler document, I am trying to use #pragma to store the const object into flash memory region 0x17f80. Even I have configured the liker config,Then I have added below code in .c file.#pragma section const {applflag}const u32 appl_f...
Hello,When I flash a user application to STM8L with STVD, it works fine. As long as I do NOT power off MCU, I can read back flash content with STVP. For the first byte located at address 0x8000 (beginning of IT vector table), value is 0x82, which is ...
When initially burning the MCU, I want to save some EEPROM data. Lets say the data 123 is to be saved in location 1 of EEPROM. If I write the below C code before the main function, will it work? Once the data is stored the first time the program is b...
Hi,I am using input capture of Timer2 Ch1 in stm8s003f3(20 pin uC). I had configured the timer 2 and provided pulses in PD4 pin , but i am not getting interrupt in Timer2 interrupt handler.void InitTimer2(void){TIM2_DeInit();CLK->PCKENR1 |= 0x20; ...
1. I have written below code for PWM generation for STM8S003F3. Two pwm pins are used inverted with dead time.2. But I observed this graph on CRO of two pins is this. I was expecting one pin to turn off before another turn on i.e deabband.. But rever...
I'm using the TSM8S001J3 for a small application that requires Pin-8 (PD1/ SWIM, PD5/ AIN5/ UART1_TX) to be used for the RS232-TX. Currently in the code I have a way to halt the GPIO assignment prior to reassigning the SWIM pin if needed by holding t...
I am unable to write to flash of STM8S105C6T8 although I can read the flash. I am using stlinkV2 via SWIM and stm8flash programming tool under ubuntu. I tried to reset option bytes to factory default and use the -u (unlock) option of stm8flash but bo...
Here is the initialization code...void InitPwm(void){TIM1_DeInit();TIM1_TimeBaseInit(0, TIM1_COUNTERMODE_CENTERALIGNED1, 800, 0);TIM1_OC1Init(TIM1_OCMODE_PWM1, TIM1_OUTPUTSTATE_ENABLE, TIM1_OUTPUTNSTATE_ENABLE, 100, TIM1_OCPOLA...
I've been struggling with this problem for some time. Currently I'm porting my application from STM8L051 to STM8L151. Whenever I start USART1 Receiver, the USART Status Register (USART->SR) shows "0xfa", indicating Parity and Overrun Error. I tried w...