2017-04-12 08:56 AM
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 respond4. apply the scheme2017-04-12 09:05 AM
>>
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.