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

STM8L Sleep Speed

Posted on October 08, 2012 at 08:40 OK, title sounds really weird, but I'm really curious about the low pawer state switch speed of the STM8L micro. I'm doing some tests about switching to LSE and back to HSI, waiting for stablization etc. I...

Debugger Stopwatch

Posted on September 28, 2012 at 09:52Hi Guys,Do we have a stopwatch feature within STVD? I'd like to measure passed time between two breakpoints as time (us, ms) and cycles.I know there are simulators with MPLAB and IAR IDE with this function but co...

chibiOS and IAR

Posted on September 25, 2012 at 05:48Hi all,Does everybody have examples chibios base on IAR of stm8? Now cosmic limited 8k, so I want to change to IAR Thanks and best regards Thinh

np1 by Associate II
  • 485 Views
  • 0 replies
  • 0 kudos

EWSTM8 of IAR - problems with debugging

Posted on September 21, 2012 at 10:33Dear,In the past I published here in the forum a question about EWSTM8 problems.I have been in touch with IAR on that and now I have their Beta version. This beta version has solved a problem with crashes as resu...

elil by Associate III
  • 3295 Views
  • 0 replies
  • 0 kudos

Software Update on STM8

Posted on September 12, 2012 at 12:40I am working on a low density STM8S with 8Kbyte flash memory. I need to accomodate a main software and a recovery software. I do not need any special bootloader as I am planning to make the software update as pa...

spveer by Associate II
  • 1037 Views
  • 3 replies
  • 0 kudos

ICP and IAP: Linker

Posted on September 18, 2012 at 17:21 Hi, Is it possible to program only part of the flash memory using ICP? I have STM8 programmed with bootloader using ICP where UBC is protected from 0x8000 to 0x8fff. Now when I try to...

spveer by Associate II
  • 462 Views
  • 0 replies
  • 0 kudos

TIM3 wrong counting?

Posted on September 04, 2012 at 17:14I need to generate a 20 ms interrupt into my firmware. HSE is 16 Mhz with STM8S208. I put this initialization code into my firmware to accomplish that through the use of TIM3: #define PRESC TIM3_PRESCALER_32     ...

STVD 4.3.1 : swim error [30103]

Posted on February 09, 2012 at 12:26Hi, I'm running windows 7 64 bit, my target is STM8S103F2U. STVD gives me this error when trying to debug: ''failed to download application: error: swim error [30103]: rlink communication error''.    Rlink does no...

@eeprom

Posted on August 09, 2011 at 18:31Anyone know how to use the @eeprom on the cosmic compiler Does it suppot @eeprom vu32 EE_Total; The above passed the complier but if I try to use it I get errors I've also tried char and int but none seem to work. ...

Debug/programming another chip with STLINK from STM8disco

Posted on August 30, 2012 at 12:11Hi, After developping and testing with stm8s-discovery connected to various evalboards, i just received my prototype. As written in STM8SVLDISCOVERY's usermanual, i unsoldered the two 0 Ohms of swim connector from t...

thibaut2 by Associate II
  • 601 Views
  • 1 replies
  • 0 kudos