STM8 MCUs

Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

DATA EEPROM area - problem writing byte

Posted on July 12, 2011 at 13:13Hi experts, in my application I am trying to write a single byte to an address in the DATA EEPROM area immediately after disabling ''the DATA area write protection by writing consecutively .. MASS keys to the FLASH_DU...

No stm8s103 in ''STVD\settings\MCUselection list

Posted on July 19, 2011 at 14:29Hi.   No stm8s103 in ''STVD\settings\MCUselection list It start with stm8s207 I have cosmic 16 k free compiler additional problem is ''#error clnk Release\rtos_osa_hw.lkf:1 no default placement for segment .info.''...

slava by Associate
  • 423 Views
  • 1 replies
  • 0 kudos

Upgrading to the STM8 Assembler question

Posted on July 04, 2011 at 09:33After having written a time consuming and reasonably eloquent request about this subject, only to have it rejected and erased, I'll make a shorter attempt. Is it not possible to have straight forward assembler templat...

string.h library and strncmp function

Posted on June 30, 2011 at 00:16Hi, I want to use strncmp function in my code [ if (strnicmp(temp, GPVTG, 5)) ], but I've got an error: &sharperror cpstm8 ..\..\src\main.c:278(12) missing prototype I have string.h file in my include files, but I th...

pietruha8 by Associate II
  • 3244 Views
  • 7 replies
  • 0 kudos

Wait states

Posted on July 05, 2011 at 12:55Hi, I have question regarding STM8S wait states. When exactly wait states are executed - every access to XFLASH or every instruction feed? I want to clock my MCU with 24Mhz crystal oscilator (1 wait state) and I need ...

maestr0 by Associate
  • 573 Views
  • 1 replies
  • 0 kudos

Cosmic CXSTM8 Comiler Error - Invalid Constant Expression

Posted on July 03, 2011 at 23:15I'm porting some code designed to run on a Nordic nRF8200 to an STM8L152C6. The code was orginally compiled using Keil C5. I am using the Cosmic CXSTM8 compiler. I am getting a compiler error 'Invalid Constant Express...

.bsct size overflow (discovery, cosmic)

Posted on June 20, 2011 at 22:53Hello everyone, I've got problem with compilation of my application Running Linker clnk -l''C:\Program Files\COSMIC\CXSTM8_16K\Lib''  -o Debug\stvd_project.sm8 -mDebug\stvd_project.map Debug\stvd_project.lkf #error ...

How to use GPIO external interrupts

Posted on June 24, 2011 at 07:31Hi, Port-c pc6 is connected to a 50 Hz square wave signal, the problem is the variable cCounter did not increment in the port_c_isr, so the PC4 pin did not toggle, please advise about the solution. Thanks ==========...

asim1108 by Associate II
  • 604 Views
  • 2 replies
  • 0 kudos

Boolean variable segment in STVD

Posted on June 14, 2011 at 17:20Here's a question for the STVD & Cosmic gurus!  Since bit instructions in the STM8 do not utilize the zero page addressing I wanted to move the ''.bit'' section out of the ''Zero Page'' and into ''Ram'' so I'd have mo...

jdf25252 by Associate II
  • 1232 Views
  • 4 replies
  • 0 kudos