STMG07 Uart Config after exit System Bootload
Hi,
I have an issue with the UASRT communication being abnormal.
First case:
- Access System Bootload Mode by Options bytes
- Access the Main Application by the UART protocol ( UART2)
- Send the first UART packet to the ST MCU via UART2 that contains the UART error code: 0x4 (Frame Error)
- Send the same UART packet to the ST MCU via UART2 again without the UART error code
Second case:
- Using IDE Debug Mode, break at main()
- Send a UART packet to the ST MCU via UART2 without the UART error code
I tried to De-Init and Re-Init the UART2, which I expect to reset all the UART2 register values before I send the UART packet.
According to my test case, could I say that the UART error code 0x4 is due to System Bootload Mode?
How could I fix the issue?
Please let me know if more information is required.
