STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Use SDCC in STVD

Posted on April 15, 2014 at 11:50Hi, I wanted to integrate the free SDCC Compiler in STVD. But I can´t find a possibility to add a new toolset. If I install Raisonance, a new entry in the toolset dropbox is generated. So there must be a possibility ...

nikolas by Associate
  • 260 Views
  • 0 replies
  • 0 kudos

C compiler sdcc 3.4.0 with stm8 support released

Posted on April 11, 2014 at 22:52Today, sdcc 3.4.0 was released. sdcc is a free C compiler. The 3.4.0 release is the first to support the stm8.http://sdcc.sourceforge.net/ The st8m port works reasonably well at this point (it passes the same regress...

SMT8S007 - Debugging OK, but Programmed Code doesnt run?

Posted on April 04, 2014 at 05:15Hello, I have been able to develop an STM8S007 project with STVD and cosmic C.  I have been able to test the project with no compile errors etc. When I use STVP to program the .S19 file into the chip, everything prog...

Option bytes programming during flash download, IAR EWB

Posted on March 17, 2014 at 14:28Hi all! Does anybody know, how to program option bytes from IAR, during downloading flash image, like it implemented in STVP? Maybe, using some scripts to automate. I will need to program few hundreds of uCs, and set...

kiroid by Associate II
  • 904 Views
  • 2 replies
  • 0 kudos

Infinite ISR on STM8L

Posted on April 01, 2014 at 21:04I'm exploring an STM8L152 on the Discovery Board. That board has a user button, which I have set to trigger an interrupt on a GPIO (pin C1, if that matters). I can watch the interrupt fire in the debugger (using STVD...

vince by Associate III
  • 238 Views
  • 0 replies
  • 0 kudos

About STM8 decimal adjust

Posted on March 29, 2014 at 12:02Hello everyone, I just started learning STM8 assembly language, but can not find the decimal adjust instruction, so do not BCD arithmetic.Have thought about writing a decimal adjustment subroutine, the addition shoul...

ysc by Associate
  • 175 Views
  • 2 replies
  • 0 kudos

STM8S103K3 - ADC takes longer than expected?

Posted on March 27, 2014 at 18:04I am timing the ADC conversion from TRGO to EOC.  I calculate that the conversion should take 3.5us but I measure a minimum of 4.0us using an oscilloscope.I have included the relevant code loop below.Please does anyo...

I2c ACK Problem in stm8s003k3

Posted on March 26, 2014 at 08:29Hi Please Help! I am Facing issue Of Ack Problem, I am Using stm32f103 as a Master  & Stm8s003k3 as a slave Reciever, Master is Working Fine , For slave When I probed SCA & SDA Lines at Ninth Pulse Ev1 is Not coming...

Interrupt cant set global variable?

Posted on March 13, 2013 at 13:22Hi all. I got a problem: Every time i am setting a global variable in my ISR it is set to 0 after the ISR has ended!volatile int test; void main(void){ TIM1_DeInit();  TIM1_TimeBaseInit(10, TIM1_COUNTERMODE_UP, 20000...

texton1 by Associate II
  • 493 Views
  • 6 replies
  • 0 kudos

Over consumption with GPIO input

Posted on March 19, 2014 at 16:43Hi,I'm trying to have the lowest consumption I can with a very simple design. Weird thing appenened: Putting PD4 in ''floating no interrupt'' mode, give me a definitely higher consumption than ''output pull-push low ...

0690X00000602jhQAA.jpg