STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Brand-new STM8S207K6 pulls reset low

Posted on July 09, 2013 at 09:22Hello, I'm trying to get a first program on a bunch of new STM8S207K6 but the device does not answer. It seems like the reset pin is pulled low by the controller and the programming tool keeps telling me ''Error: Cann...

Cosmic compiler (4.3.9) _checksum16 or _checksum16x Problem

Posted on August 30, 2013 at 22:12I use the Cosmic 4.3.9 compiler(32K free) with the built in functions _checksum16() or _checksum16x().  When my program memory cross over the 0x10000, these functions become unreliable.  Before crossing 0x10000, eve...

mtien888 by Associate II
  • 395 Views
  • 0 replies
  • 0 kudos

Problem with STDV to create a project with STM8L052C6

Posted on August 30, 2013 at 12:01Hello, i have already installed the development environment ST Visual Develop rel. 4.3.1 already used for the processor STM8L151C4 with the c compiler Cosmic 4.3.9 Now i have to use the processor STM8L052C6 but in ...

alberto by Associate
  • 372 Views
  • 0 replies
  • 0 kudos

Linking issues when using @eeprom with Cosmic toolset

Posted on August 23, 2013 at 05:18My application builds fine until I add the @eeprom keyword to a declaration.  Now I get the following linker errors:#error clnk Debug\nos.lkf:1 symbol _FLASH_CR2 not defined ((C:\Program Files (x86)\COSMIC\CXSTM8_32...

COSMIC IdeaSTM8 32K Dev Tool

Posted on August 24, 2013 at 22:40Hello, I recently downloaded the IdeaSTM8-32k dev tool from COMSIC and have trouble saving newly entered C files.I can successfully compile and link the example code provided by COMSIC. When I attempt to include an ...

mark by Associate
  • 422 Views
  • 0 replies
  • 0 kudos

Moveable Code Feature : Change rom location

Posted on August 23, 2013 at 02:54Hi sir,        we have a project. This issue is that one project include application code and bootloader code.We already study the COSMIC datasheet about the Moveable Code feature. But we can’t find that how to chan...

robinsen by Associate
  • 343 Views
  • 0 replies
  • 0 kudos

urgent (read 3 ADC channel)

Posted on August 22, 2013 at 13:17first thanks for spenting your time to me. I need read 3 channel for AIN0,AIN2 and AIN3. But i cant get the analog reading. it always show me constant value even my analog input changed. I'll post related about ADC ...

seesy123 by Associate
  • 369 Views
  • 0 replies
  • 0 kudos

STM8L SWIM pin set up?

Posted on August 20, 2013 at 13:43How should PA0 be set up for the SWIM interface? Input? Output? Shake it all aboutput?Pretty fundamental Q I'd have thought, but I can't find any info'.plenty of fatuous 'Overviews' about SWIM but little useful info...

CAN Rx interrupt sometimes misses one

Posted on May 02, 2013 at 15:12I am using a STM8S208CB in an embedded device on a CAN network. I have initialized the CAN to use an external 8MHz crystal, 250k baud, and enabled the FIFO message pending interrupt. I have my interrupt function proces...

Minimum Interrupt Pulse Width?

Posted on August 12, 2013 at 07:22I am looking at using a STM8S003K3 microcontroller.When a port pin input is configured as an edge triggered interrupt what is the minimum pulse width?  Is this a true edge trigger or is it sampled?I am trying to sav...