STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Why does my Cosmic compiler license fail?

When I do a "Rebuild all" of a new, blank project, I get the following errors:----------- Project test - STM8 Cosmic - Configuration Debug -------------Removing intermediate files ... Done!----------- Project test - STM8 Cosmic - Configuration Debug ...

lyoy by Associate III
  • 2362 Views
  • 3 replies
  • 2 kudos

SDCC 4.4.0 and a comparison of current STM8 C compilers

Two days ago, SDCC 4.4.0, a C compiler targeting various 8-bit architectures, including STM8, was released. IMO, for the ST8, the main two improvements over SDCC 4.3.0 are:New optimizations, in particular generalized constant propagation and the rota...

Resolved! Where the configuration is stored in STVP

I would like to know where the configuration set in STVP is stored.I'd like to set the configuration automatically, but I don't know where the default storage address is.  

ShawnHong_0-1713491873576.png
ShawnHong by Associate II
  • 1157 Views
  • 3 replies
  • 1 kudos

Breakpoint on TRAP interrupt gets removed!

I'm using the ST Visual Developer V4.3.12 and trying to do what sample stm8s code suggests, namely set a breakpoint on TRAP interrupt (which I am 99% sure it tripping because of a bug in my code).  The debugger keeps "moving", i.e. removing the break...

Initialized const pointer

How do I correct this code so that the pointer is a constant and not place into RAM?```const typeOfVariable Variable = DEFINED_VARIABLE_VALUE;const typeOfVariable *pVariable = &Variable;````pVariable` keeps ending up in RAM and I've run out of ideas ...

STM8S bootloader Wireshark Dissector?

I am using the STM8S bootloader via a USB/FTDI.  I can use Wireshark/USBpcap and catch the exchanges and I have a somewhat happy "export packets, parse with Python" method of looking at the exchange.But has anyone already written a proper Wireshark d...

AN2659, chaining interrupts, how?

AN2659, section 4.1.3 Vector table redirection, says that "The primary interrupt table contains a set of jumps to the user interrupt table" but the same code that accompanies this document does not seem to implement this - does this code just need to...