-
Notifications
You must be signed in to change notification settings - Fork 69
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 aborted' message when trying to upload macro files to SD #433
Comments
Works for me: iMXRT1062 driver - both via YModem and FTP (FTP is used when enabled and connection is up). |
iMXRT1062 Teensy breakout board. I wonder if wiping the SD might help. FAT32 yes? |
Odd that it worked before - is the board networked and FTP enabled or are you uploading over USB? |
Just using usb. i can remove the sd and copy files to it. they show up in iosender. Its just transfers from the PC that no longer work. |
i just tried to upload a gcode file, same error. usb cable is the same. |
Any other ideas on this? Logan suggested there could be an SD setting relating to FTP vs USB uploading, but I can't locate such a setting. |
It is either CRC transmit errors or file create/write errors. The controller only NAKs on failure so impossible for the sender to know the reason. If the Transferred X of Y bytes... status message does appear, even briefly, the file was created successfully... |
OK, thanks. I don't think that's the issue then. I would certainly be willing to compile myself if that could help. Very much appreciate your help. |
In the builder, you need to add networking to get FTP. Does that mean that you can't use (er, upload to) SD without networking? I assume there is no FTP via USB path... [EDIT] Strike that. Upload with YModem work fine via USB. |
Try this version, replaces ymodem.c in the sdcard folder. |
Thanks. Before I try this, I made a few discoveries trying lots of different Web builder settings. The issue is with the current web builder. If I select any additional plugins (odomoter, lightburn etc) alone or in combination, SD card file transfer over USB fails. Works fine if none are selected. I usually select lightburn ppi, clusters, and odometer. The problem is there is still another issue with the current web builder that prevents proper rapidchange atc macro functions (I get a tool out of range error when trying to load a tool) so for now I'm stuck with a build from December that works apart from SD transfers. |
I think I will try a new manual compile and see if that resolves my issues. I've generally had good luck with the Web builder but have been having a few issues with it since the last few updates. |
The culprit is the Lightburn clusters plugin, it buffers input and modifies it before returning it for processing. The YModem plugin wants the raw input for itself so the Lightburn plugin cannot be in the loop messing with the data. |
Fix committed for grblHAL YModem issue.
Yes, since this is also a grblHAL issue. |
Thanks for your help. I've posted the issue in the grblhal git. |
I'm running the latest build of grblhal (7 Jan), and current Iosender release. I can't seem to upload files to SD. Existing files are listed. 'Uploading' message is displayed for a few seconds, then 'Transfer aborted'. I have uploaded files to SD before, so not sure what the issue is here. Any ideas?
The text was updated successfully, but these errors were encountered: