cancel
Showing results for 
Search instead for 
Did you mean: 

STM8 and STVP: how to flash .HEX file

jorge23
Associate
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
1 ACCEPTED SOLUTION

Accepted Solutions
LaurentL
ST Employee
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

View solution in original post

1 REPLY 1
LaurentL
ST Employee
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