How to do xmodem with serial port in python, in Windows?

678 Views Asked by At

I am trying to do firmware upgrade for a module. For this I have been trying to send a binary file(.rps file) via XMODEM protocol in python, in Windows.

I have tried the code in the below link: https://pypi.org/project/xmodem/

I am not receiving any response from the module, not the firmware is upgraded.

This image represents, the output I am getting when I print size and data from xmodem code Can I get some help on this!

0

There are 0 best solutions below