Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : TFTP Problem 5.08 to Latest 5.09
Author | Message | ||||
Hans Senior Member Joined: 18/10/2022 Location: CanadaPosts: 116 |
Hi All; To be upfront about this issue I have installed Debian Bookworm (12) on my Raspberry PI 4/8 Meg that's my daily development machine. There have been a number of program issues that I have had to work out with this release, such as a working Screenshot program. Sorry for the lack of screenshots, the PrtScr key works but only gives a full screen image. So the issue is the OPTION DISK SAVE $Filename creates an option data file that is 896 bytes in size. That is fine if it is saved to the A or B drive. Along comes a new release and I want to make setup easy so I TFTP that file to the Webmite for use with OPTION DISK LOAD command. However I get the error "Wrong file size" because the TFTP added one byte to the file on arrival to the Webmite. This happens on both drives if sent by TFTP. As I do not have another OS to try this with I am not sure where the problem is? Thanks for any assistance, Hans ... PS: This is the case with 5.08 thru the latest 5.09RC5. Edited 2024-07-12 13:01 by Hans |
||||
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2135 |
While awaiting a more useful response, if your terminal program supports Xmodem that should work. The length of .OPT files is tailored to work with Xmodem and retain the correct length. |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3800 |
Try GIMP - it can take a snapshot in various ways (see its menus lol). John |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6098 |
No obvious problems using Win11 to WEbmite 5.09RC5 and the TFTP built into MMCC Jim VK7JH MMedit MMBasic Help |
||||
Hans Senior Member Joined: 18/10/2022 Location: CanadaPosts: 116 |
I will have to see if I can borrow a windows machine from somebody to give that a try. I just find it strange that TFTP would work differently in Linux than it does on windows. Thanks, Jim Hans… Edited 2024-07-14 02:25 by Hans |
||||
Hans Senior Member Joined: 18/10/2022 Location: CanadaPosts: 116 |
Thanks all; Problem solved, I set "TFTP mode binary" and it came across with the correct byte count. The default mode is ASCII and that uses blocks, adding padding characters. A little bit of research helps. Again thanks for your comments! Hans ... |
||||
Print this page |