Skip to main content
Graduate
March 18, 2024
Question

STVisual Develop simulator without STLink?

  • March 18, 2024
  • 4 replies
  • 1348 views

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.

    This topic has been closed for replies.

    4 replies

    Visitor II
    March 21, 2024

    If simulator is ST visual Develop with debug, you need always STLink.

     

    Graduate
    March 21, 2024

    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?

    Visitor II
    March 21, 2024

    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.

     

    Graduate II
    March 21, 2024

    >>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?

    Graduate
    March 22, 2024

    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.