cancel
Showing results for 
Search instead for 
Did you mean: 

Bootloader not responding

dscdsc
Senior
Posted on October 04, 2014 at 12:31

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?

0690X00000602m2QAA.jpg

#stm8 #bootloader
1 REPLY 1
dscdsc
Senior
Posted on October 04, 2014 at 17:15

Figured it out, had nothing to do with STM, had bad electrical contact between PC and the board.