XMODEM is a simple file transfer protocol developed by Ward Christensen.
Questions tagged [xmodem]
38 questions
1
vote
0 answers
transfer file through serial using python xmodem like tera term xmodem
Is it possible to implement a sending method using python (xmodem package ?) that works like tera term transfer -> xmodem-crc ?
From what i read from the python xmodem module docs it seems we need another python script at the other serial end to…

John11
- 437
- 1
- 6
- 16
1
vote
1 answer
Java Xmodem only for sending file
I need XModem in my project only for sending is there any solution I am stuck in my project.

user542719
- 307
- 1
- 9
- 21
1
vote
1 answer
tera term xmodemsend command
I've been using Tera Term to update the firmware on transmitters via a serial port, but the process is fairly menial and user input intensive. I'm trying to write a macro that:
1) connects to the user specified serial port (check)
2) Sends the…

Matt Walck
- 206
- 3
- 14
1
vote
1 answer
Receiving a file via XModem on HyperTerminal
I have to send a file via serial port to my program that is running on an embedded device using HyperTerminal and XMODEM protocol. The serial communication is OK (9600 baud, 1 StopBit, No parity, 8 data bits, no flow control), because both sending…

Daniele Nardi
- 35
- 1
- 6
1
vote
1 answer
Xbee S2B firmware upgrade over wired or Over The Air without XCTU
I am using Xbee S2B ZB modules for a project.
But am not able to follow Digi Xbee User manual instructions to update the firmware Over The Air or via wired medium without using XCTU software. It's on page 21 here…

user3345630
- 21
- 2
1
vote
2 answers
How can I moderate how much data I get from a file stream in python?
I've got an embedded system I'm writing a user app against. The user app needs to take a firmware image and split it into chunks suitable for sending to the embedded system for programming. I'm starting with S-record files, and using Xmodem for…

MattCole3
- 155
- 7
0
votes
0 answers
flutter_libserialport packet exchange
New to Flutter, but have years of experience writing C code for embedded devices. Trying to wrap my head around how the data flow works with Dart and with this particular library. I'm finding examples of how to send a few bytes back and forth to do…

kdesroch1
- 1
- 2
0
votes
0 answers
PYTHON: Encountering import error when trying to import YMODEM from xmodem
Hello I'm trying to import YMODEM from xmodem and encountering Import error. But if I import xmodem from XMODEM, I don't see any Import Error.
from xmodem import YMODEM
ImportError: cannot import name 'YMODEM' from 'xmodem'
I would like to transfer…

Nani
- 1
0
votes
1 answer
File transfer via serial port
I am trying to send a file via serial port. I tried sending picocom commands in a bash script. However the device writes out a menu of options. When it gets to the file transfer step - it writes out 'C' until a file is sent, after which it does the…

Archie
- 153
- 9
0
votes
2 answers
compare hexadecimal values java
Duplicate: Compare hexadecimal and decimal values
I'm implementing x-modem protocol in java, I'm reading serialport and storing in byte array of size 1024. then I have converted data to string I'm getting 133 bytes in a packet,problem is I'm not…
sampatt
0
votes
0 answers
How to do xmodem with serial port in python, in Windows?
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…

YAMI
- 1
- 1
0
votes
0 answers
Transmission of additional ASCII characters when transferring file content with Xmodem
I am currently working on a project in which I want to send file content (.txt document) via Xmodem to a COM port.
So far, so good. Now I noticed, however, that at the beginning and at the end of the transferred file content additional ASCII…

JuKo
- 1
- 1
0
votes
0 answers
send file to serial port in python
i am trying to send the file below '105.8k' to my energy meter.
i am using the xmodem example from pypi but i get the following error:
Traceback (most recent call last):
File "C:\Py\mainpy.py", line 68, in
status = modem.send(f,…

Shay Avitapl
- 23
- 1
- 6
0
votes
1 answer
jssc getInputStream() getOutputstream()
I'm using jssc library for communicating with device over serial port.
In standard java SerialComm library there are two methods getInputStream() and getOutputStream().
Why I need this? I want to implement Xmodem according to this example and…

Josef
- 2,648
- 5
- 37
- 73
0
votes
0 answers
My Implementation of xmodem receiving function is not working
I would like to ask for an advice about my code and show me implementing model of yours.
I am implementing program in the code below, and make this code the basis.
Now, I implemented receiver function for xmodem, but it's not…

NEWBIEEBIEE
- 197
- 2
- 13