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

TSL 2.4.0 STM8S105C6 on GPIOE not work in IAR

Posted on October 05, 2011 at 18:29if stm8_tsl_conf.h select GPIOE:#define SCKEY_P1_PORT_ADDR  (GPIOE_BaseAddress)  /**< Single channel key Port 1: GPIO base address */ IAR stopped on - ''__iar_unhandled_exception''

prc by Associate
  • 643 Views
  • 2 replies
  • 0 kudos

STM8L discovery kit ( using raisonance ) error

Posted on October 09, 2011 at 07:29Hi all , I have try to compile default code ( discovery demo ) and everything runs fine. After which i try to create my own application following the guide : UM0991 <Building, debugging and running your applicatio...

lau by Associate
  • 663 Views
  • 1 replies
  • 0 kudos

STM8 Assembler using STVD

Posted on September 18, 2011 at 19:13I use STM8 Assembler. Code: ...... CLOCK EQU 16000 TIME EQU CLOCK/1000 .... compile error Error 67: Improper Character(s) '/1000' Why? I find :) TIME EQU {CLOCK/1000} Works without errors

Problems debugging with STVD

Posted on November 13, 2010 at 07:52Hello, I am unable to debug on the STM8L-Discovery using STVD, I always get this error when trying to start a debug version: Connection error (usb://usb): swim error [30004]: comm timeout I tested STVD versions 4....

Dissassembly and memory windows always empty in STVD

Posted on September 22, 2011 at 11:20Hi, I'm working on the STM8S-Discovery board with the Cosmic compiler in STVD 4.2.1 patch 2.  When debugging and stepping through the code there is no information in the disassembly and memory windows.  I'm sure...

SPI slave communication

Posted on September 21, 2011 at 00:02Hi all,I am working a project that has a SPI master on an OMAP-L138.  I had the four lines manually wired across from the OMAP-L138 to the STM8-S discovery board.  The connections are below:OMAP SPI CS -> STM8 SP...

ttran by Associate
  • 494 Views
  • 0 replies
  • 0 kudos

Cosmic linker error - Section Boundary crossing

Posted on September 14, 2011 at 15:24Hi all, I am busy modifying my code so that I can utilize a custom bootloader. My application code is running and compiling with no problems on its own. The problem begins when I try to shift the start address o...

nsayag by Associate II
  • 1999 Views
  • 6 replies
  • 0 kudos

Flash Loader Demonstrator stuck at 82%

Posted on September 16, 2011 at 15:34 Hi, I am trying to download my application using the flash loader demonstrator and I am running into a problem at the same point each time - After 82% of the download the communication stops (see attache...

nsayag by Associate II
  • 675 Views
  • 0 replies
  • 0 kudos

using TIM1 to measure a pulse witdth on STM8S207S

Posted on September 06, 2011 at 19:56I'm looking to measure 50/60Hz using TIM1 and pin PD7 as input has anyone an example of this? Also I don't seem to be able to select the AFR4 in the STDV anyone have a clue why?

How to register STBLLIB.dll and Files.dll

Posted on September 07, 2011 at 22:52What is the correct procedure for registering STBLLIB.dll and Files.dll under WinXp and Win7? ''regsvr32 stbllib.dll'' under WinXP produces ''stbllib.dll was loaded, but the DllRegisterServer entry point was not ...

helmut by Associate
  • 416 Views
  • 0 replies
  • 0 kudos