2014-10-04 03:31 AM
I'm using STM8L151G6 in a device. I've erased program and data memory using STVP and set bootloader checks 1 and 2 in option bytes (although as i understand this is not necessary since there is no data at address 0x8000 bootloader should start right away).
So I'm sending synchronisation byte (0x7F) via UART to the device to start code upload, but I'm getting no response. See the pic, channel 1 is device's RX, channel 2 is it's TX. I've tried resetting the MCU by pulling down the RST pin, that didn't help. What could be causing the problem? #stm8 #bootloader2014-10-04 08:15 AM
Figured it out, had nothing to do with STM, had bad electrical contact between PC and the board.