2020-03-19 09:47 AM
When I first saw the description for ST-Link STM8/STM32 v2 it noted "Programmer & Emulator". But other listings call it "Programmer & Debugger".
I have a STM8L151 and would like to be able to load my firmware (via a S19 formatted file) into an emulator to perform various tests on it prior to loading it onto the device.
Does such a thing exist?
2020-03-21 01:40 PM
SDCC comes with an emulator, uCsim. It does support the STM8L core, and some peripherals, but support for most peripherals is still incomplete.
2020-03-23 08:49 AM
Philipp: Thanks for the reply! I'll explore SDCC and uCsim as you suggest.
2020-03-26 03:09 PM
Does it support stm8s for simulation?:rose:
Thank you.
2020-03-27 01:20 AM
Yes. But the problem there is the same: Only few peripherals are supported.
You can select the processor variant using the option -t, option -H lists the supported variants.
2020-10-06 03:37 PM
I'm working on one. It's still pretty early in development and doesn't support a lot of peripherals or specific STM8 models yet. I'm not sure how it compares to ucSim. I've never used that.
https://github.com/mikechambers84/STM8-Emulator
Feel free to see if it fits your needs. It doesn't load S19 files yet, but it does load ELF files.