STM32L552-EV, attempting to IAP program the flash through UART connection, however always fails to send the bin file through Y-modem protocol.
- March 11, 2020
- 5 replies
- 2405 views
I've been using the example AN4657 and following it to a T. I'm using the example project library files form the STM32L476G IAP_Main and modified them where necessary to work with the 552.
I can successfully connect to TeraTerm via usart3 connection and virtual COM port from the usb.
I get the menu successfully and can send commands to the uC. However, when I attempt File > Transfer > Y-modem > Send... and select the bin file... it only gets the initial packet through and then stops sending/receiving.
When I debug it I continue to get HAL_TIMEOUT from the ReceivePacket function.
I've spent many days trying to solve this to no avail. The uC is constantly sending " send next packet" commands using CRC16, and I receive "C" in the terminal,
but I just seem to get timeouts. I decreased the baud rate to 9600 to see if that caused an issue but it made no difference.
--Update--
Added Dump files from two other terminal applications besides Teraterm which also have Ymodem support.
