2024-03-18 12:21 PM
ST visual Develop Version 4.3.12! running on Windows 10.
I have set this up with the Cosmic toolkit and can build images for my ST8 processor but can I run the simulator without STLink?
Apologies for such a newbie question - first time I've tried to develop anything for this processor so happy to receive "go read this responses" :-).
Papadeltasierra.
2024-03-21 07:20 AM
If simulator is ST visual Develop with debug, you need always STLink.
2024-03-21 09:08 AM
Thanks - that being the case, what is the wiring? Perhaps I have misunderstood what STLink is but I thought it was a hardware device that allowed debugging of real hardware. If I am simulating the hardware, what is it plugged into? Or is this referring to the Windows device driver for STLink and it is somehow told to "loopback" instead of expecting real hardware?
2024-03-21 11:55 AM
You should start with a development board. Maybe this:
Discovery kit with STM8S105C6 MCU.
The board includes ST-Link (the top parte of the board). ST-Link is a board that connects development MCU to a PC by USB. It allows to program or read the FLASH and debugging the program, set breakpoints, etc. It works with real hardware.
Read the documentation.
2024-03-21 02:54 PM
>>Apologies for such a newbie question - first time I've tried to develop anything for this processor..
Probably a bit too late to the party, everyone is vacating.
Some reason one of the small/cheap Cortex-M0 or RISC-V parts isn't a more desirable path for anything new?
2024-03-22 03:32 AM
I have an HC-12 board which uses an STM8 and was considering a quick play at changing the software on it. This is a board I bought in error and currently don't use so if I screw up, it hasn't really cost me anything.
I do have a way to add code to this board but I thought I would play with a simulator first but neither of your posts really tell me how the simulator is of any use at all. Sounds like you are both saying use some real hardware, which I can if I have to if the simulator really is pointless and of zero use to anyone.