-
Notifications
You must be signed in to change notification settings - Fork 212
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
Added a example serial terminal program for Linux #215
Conversation
…nd files. Also fixed a minor typo in the preceding sentence.
Good Idea! Thanks for contributing! 👍 Btw, great timing! 😉 |
I have seen the same problem with minicom with the neorv32 in the iCEBreaker board. Minicom seems to corrupt any program bigger than 4k in size when uploading it to the bootloader. But when using a different terminal program, such as cutecom, everything works as expected. It may be that the 'ascii' mode of minicom (which is the one that I was using) is corrupting the files? Minicom doesn't seem to have, by default, a 'binary' transfer mode. I can see here some files that allow to add this binary mode to minicom, but I haven't tried them: https://gist.github.com/cstrahan/5796653 |
Looks like my pull request was a bit quick. But thanks for merging anyways! I just downloaded GTKTerm and set that to and arbitrary value like |
It's good to have a Linux-world example for one terminal application. So I think it's fine to have that in the docs. Maybe it is not the best idea to use the "raw" data mode to send the executable... I was thinking about implementing an actual terminal protocol like XMODEM, which is supported by a wide range of terminal applications. But I am not sure about that. Anyway, maybe we should add a node regarding this buffer size issue to the documentation. |
do this problem with minicom solved? i also having ERR_CHKS on binary more than 4kb |
Hey @msaufyrohmad! I do not think this problem is solved - at least not on the minicom side. Hence, I highly recommend to use a different terminal program. Luckily, there are lots of them out there. 😉 |
yes i am using cutecom and all binaries can be send and execute now. thnks
…On Thu, Jun 1, 2023 at 2:43 AM stnolting ***@***.***> wrote:
Hey @msaufyrohmad <https://github.com/msaufyrohmad>!
I do not think this problem is solved - at least not on the minicom side.
Hence, I highly recommend to use a different terminal program. Luckily,
there are lots of them out there. 😉
—
Reply to this email directly, view it on GitHub
<#215 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFLYIQMY2VLPTZHCOLGPSJLXI6GL5ANCNFSM5IROXQ2Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Very good choice 😉 |
I'm using Linux Picocom program One more thing: Anyway, i have successfully ran hello world example. |
Thanks for the information!
Good point. I know that quite a lot people struggle with this (myself included) 😅 |
Tried the example first with minicom, which didn't get the bootloader interrupt in the beginning. Somehow I couldn't figure out uploading files with screen either. GTKTerm seems to work perfectly fine. Maybe this saves someone else 10-30 minutes of searching.
Also fixed a minor typo in the preceding sentence.