Skip to main content
dscdsc
Associate III
October 4, 2014
Question

Bootloader not responding

  • October 4, 2014
  • 1 reply
  • 1154 views
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
This topic has been closed for replies.

1 reply

dscdsc
dscdscAuthor
Associate III
October 4, 2014
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.