cancel
Showing results for 
Search instead for 
Did you mean: 

boot via USART1

Sergey Stepanov
Associate
Posted on April 12, 2017 at 17:56

Hi,

1. The microcontroller stm32l052c6t6 is flashed through jtag. The microcontroller with the downloaded firmware through jtag transmits and receives data on uart1 and the LED flashes.

2. After switching to boot mode, the LED goes out, but the microcontroller is not flushed through uart1.

3. On the oscillogram there is a request to the microcontroller 0x7f, but the microcontroller does not respond

4. apply the scheme
1 REPLY 1
Posted on April 12, 2017 at 18:05

>>

2. After switching to boot mode,

Explain this step. Does the System Loader work when you reset with BOOT0 High?

Make sure to enable even parity, and send the 0x7F (single character) in hex via something like RealTerm.

If calling from your own code, you must make sure that the ROM is mapped at zero, and you don't have the interrupt state fouled up.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..