Skip to main content
Visitor II
November 21, 2016
Solved

STM8 and STVP: how to flash .HEX file

  • November 21, 2016
  • 1 reply
  • 1830 views
Posted on November 21, 2016 at 13:34

Hi everyone.

I have an .HEX file that I would like to program in a STM8AF62A8 MCU.

I load the .HEX into STVP and it seems to be flashing the memory correctly because I can see some of the application's startup output through the serial port (it does it repeatedly due to the MCU being restarted multiple times during programming, I assume). The problem is that, as soon as the process is over, the MCU stops responding and I get no serial output when I reset the MCU manually.

#hex #stvp #stm8
    This topic has been closed for replies.
    Best answer by LaurentL
    Posted on November 21, 2016 at 17:11

    Hello,

    When STVP has finished, the Swim (communication) is disabled and the mcu is held under reset.

    If you unplug the programmer, the mcu should be running.

    Rgds,

    Laurent

    1 reply

    LaurentLAnswer
    ST Employee
    November 21, 2016
    Posted on November 21, 2016 at 17:11

    Hello,

    When STVP has finished, the Swim (communication) is disabled and the mcu is held under reset.

    If you unplug the programmer, the mcu should be running.

    Rgds,

    Laurent