Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transfer per XMODEM omits last byte of CRC Checksum #428

Open
Paulemeister opened this issue Jan 16, 2025 · 1 comment
Open

Transfer per XMODEM omits last byte of CRC Checksum #428

Paulemeister opened this issue Jan 16, 2025 · 1 comment

Comments

@Paulemeister
Copy link

I am transferring firmware to a device through teraterm via XMODEM. I am using Version 4.85 (pre change of XMODEM where CRC and Checksum can be selected manually). This version works fine and succeeds in transferring the data.

Wanting to update to the current version 5.3, the transfer fails. I attached the XMODEM.LOG for both versions.
I calculated the CRC-16 CCITT for the data of the first block.
Both calculate it right and send it correctly the first time, as the receiving device sends a 'C' signaling it wants to use XMODEM-CRC.
I don't know why the first receiving of the first block fails, but after a 'NAK' from the device, the new version continues sending only one of the two bytes of the checksum.

I checked whether that byte is the checksum (sum of data mod 265) but that is not the case, it also doesn't seem to be a different CRC-8 (using this website).

It seems like the new version is just not transmitting the second byte of the CRC

Thanks for the help

4.85_XMODEM.LOG

5.3_XMODEM.LOG

@Paulemeister Paulemeister changed the title Transfer per XMODEM ommits last byte of CRC Checksum Transfer per XMODEM omits last byte of CRC Checksum Jan 16, 2025
@zmatsuo
Copy link
Member

zmatsuo commented Jan 16, 2025

Thanks for the report.
I will investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants