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

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
  • 482 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
  • 1957 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
  • 652 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
  • 409 Views
  • 0 replies
  • 0 kudos

STM8 Assembler using STVD with Assembler / Linker Toolchain

Posted on August 10, 2011 at 15:13Further to a previous enquiry regarding ''The parameter is incorrect'' issue with STVD. I've installed STVD V4.2.1 and Patch 2  but I'm still struggling with this problem of ''The parameter is incorrect'' on an ST8 ...

STM8L: CCO pin

Posted on September 06, 2011 at 22:27Dear,Working with Discovery board, I encountered the following problems with CCO pin:1. When HSI(16MHz) is routed to CCO, the signal on the CCO a. has a low and not stable amplitude from 500mV to 1.2V.b. The sign...

elil by Associate III
  • 512 Views
  • 2 replies
  • 0 kudos