-
Notifications
You must be signed in to change notification settings - Fork 18
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
Installation adventures. #11
Comments
@cristianoag It asks for a repository
|
Well, I finally compiled S0urceror's OpenMSX , in my system I needed |
Finally, I have everything working. |
I found a bug while I was checking my ch376s with https://github.com/S0urceror/MSX-USB/blob/master/test/usb_via_arduino/src/main.parallel.cpp main_paralell crashed when printing iProd due to a small buffer
In get_string2
But then in data_in_transfer, length is 255 and when being bzeroed it corrupts memory
I fixed it by changing this line
Tell me if you are experiencing the same and I will propose a pull request. |
Yes, it is only to check wiring and if ch376s is responding and to get properties from the devices. |
Good catch. Never happened here because the USB strings are usually not so long. I have now changed the setup package to request maximum 64 bytes as well. And pushed the change back to GitHub. |
Nice write up. Would you be okay to merge all your updated instructions with the main once you consider them finished? |
Yes of course, that's the idea. I will tell you when It is finished. Also i wrote info about programming the cpld and the flash so everything is documented. |
I had some problems with openMSX, for some reason it did not communicate with arduino. Have you experienced this behaviour? |
Hi Issalig,
You can indeed safely remove this. Initially I retrieved the serial attributes, modified only the ones that need changing, and set them. Now that we have bzero afterwards all gets reset. No need to first retrieve the attributes.
Regards,
Mario
From: issalig ***@***.***>
Date: Thursday, 10 February 2022 at 16:00
To: S0urceror/MSX-USB ***@***.***>
Cc: S0urceror ***@***.***>, Comment ***@***.***>
Subject: Re: [S0urceror/MSX-USB] Installation adventures. (Issue #11)
I had some problems with openMSX, for some reason it did not communicate with arduino.
I compared sources of main.parallel which works correctly and ch376s.cc in openMSX and the main difference is that it does not call tcgetattr, thus I removed tcgetattr from ch376s.cc and now it works good for me.
Have you experienced this behaviour?
https://github.com/S0urceror/openMSX/blob/dd40674cb36805b95b444d464765004d234c7d4e/src/usb/ch376s.cc#L38
—
Reply to this email directly, view it on GitHub<#11 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABGC6KBBBYJ6JAEGZKW3TCDU2PHJTANCNFSM5N3JYU6Q>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID: ***@***.***>
|
I just write here as a reminder to change instructions (mainly paths and few other things) to make it work with recent @cristianoag linux support. |
I create this not to mix installation problems with other stuff.
The text was updated successfully, but these errors were encountered: