Skip to main content
Arman Ilmak
Senior
Question

An online debugger for stm8s MCUs

Hey guys.I need to watch my variables online.On stm32 there was stm studio which I could watch them.

I use IAR as my compiler but for watching a variable I have to pause the debugger to see its value.

Whats your offer?

    This topic has been closed for replies.

    3 replies

    nestor
    Visitor II

    IAR: view>live watch

    -- Nestor

    Philipp Krause
    Senior II

    When using SDCC, GDB and OpenOCD, the following approach from STM32 should work:

    https://mcuoneclipse.com/2015/07/14/automatic-variable-expression-and-memory-display-with-gdb-and-eclipse/

    Sisto Zànier
    Senior

    The STM-STUDIO-STM8 is the solution. (https://www.st.com/en/development-tools/stm-studio-stm8.html)

    I use it normally and with great satisfaction.

    The only limitation is that in your application, you cannot use the HALT or ACTIVE-HALT commands, but only WFE