cancel
Showing results for 
Search instead for 
Did you mean: 

Am facing problem while receiving file from PC as YMODEM protocol

DGR.1
Associate II

Am facing problem while receiving file from PC as YMODEM protocol, Am just using ymodem.c an d ymodem.h file fromIAP library i have modified the code, but am not receiving Header packet only(SOH or STX), please help as soon as possible am struck here, currently am not writing data into flash as of now i just commented to verify the data first.

We are using STM32L431 MCU

please find the following code

14 REPLIES 14

What characters do you see in the Terminal when the STM32 side loader is waiting for you to start the Y-Modem transfer?

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

In Hyper terminal before running STM program am able to see charecter 'C', in STm side am not able to receive header of YModem, am not getting whats wrong because normal receive function working fine

> You mentioned about low level, in low level i have used HAL_Libraries those working fine for normal UART rx tx

I meant, it can be something with physical things - line noise or baudrate mismatch for example, not the "LL" API.

-- pa

Hi

Same low level APIs am using for Normal UART, its working fine

DGR.1
Associate II

Hello all,

Thank you for your response and your answers, am able to resolve the issue, the main thing is i missed the CRC poinomial and initial value initialization

thanks to all