Larswad / uno2iec

A commodore (CBM) 1541 emulator on the Arduino Uno, using any desktop PC (or raspberry PI with raspbian) as a media host.
http://larswad.github.io/uno2iec/
134 stars 36 forks source link

Reconnect loop #19

Closed r1me closed 6 years ago

r1me commented 6 years ago

Hardware: Arduino UNO R3 (ATMEGA328P-PU board with ATMEGA16U2), PC with Windows 7 x64 Software: Qt 5.11.1 with MinGW32 compiler, Arduino IDE 1.8.5

I've double checked connections 37604601_2511186665561973_7234881657176588288_o but it goes into an infinite reconnect loop: 37597162_2511159332231373_5732430328132272128_n I've tried compiling sketch with older IDE version - Arduino 1.5.2 but it made no difference. Can UNO2IEC be used with Windows 7 x64 and Arduino UNO R3 ? Can someone confirm this setup is possible ? How to debug/log messages between PC and UNO if port is occupied for communication purpose ?

r1me commented 6 years ago

I've got it working with those files: https://ccomodore64.blogspot.com/2018/04/uno2iec-czyli-emulator-stacji-dyskow.html

Larswad commented 6 years ago

Hello r1me, sorry for coming in late here. It's vacation times and somewhat offline for the moment. I'm glad thing got straightened out, but I'm kind of curious though. What was more specifically the difference? I mean, the head commit SHOULD work for the Uno, both the Windows side and the arduino side. If there are any problems or something missing in my documentation, please let me know or file an issue. Nevertheless, for a better experience try my port of the sd2iec project for the mega2560, in that you have all the features of turbo and support for saving etc. Only limitation is that it for the moment is limited to sd cards (like sd2iec is).

r1me commented 6 years ago

Hey, it is not caused by the Qt or Arduino IDE version mismatch or QtSerialPort incompatibility etc. but the Arduino sketch. I've just confirmed it by building and deploying Qt app from master branch, and then tried Arduino sketch from master and r0.5. Results are: sketch in release 0.5 of your project works just fine. Sketch from master branch causes the reconnection issue. I've noticed the difference in default baud rate between master and r0.5, r0.5 defaults to 57600. However, changing DEFAULT_BAUD_RATE to 57600 with master branch sketch, doesn't solve the issue. If you have any ideas where to apply patch, I'm willing to test it.

Larswad commented 6 years ago

Thanks so much for your info.! Never expected the master to be flawed. But I will test thing and correct once I have the stuff rigged up again. It's been a while.

kphair commented 6 years ago

We regret to tell you Kevin passed away on 4th December 2015,

Regards Janine&Kevin, his parents.

Details:

http://notices.irishtimes.com/death/phair-kevin-j/44442552

On 23 July 2018 at 12:39, Damian Woroch notifications@github.com wrote:

Hardware: Arduino UNO R3 (ATMEGA328P-PU board with ATMEGA16U2), PC with Windows 7 x64 Software: Qt 5.11.1 with MinGW32 compiler, Arduino IDE 1.8.5

I've double checked connections [image: 37604601_2511186665561973_7234881657176588288_o] https://user-images.githubusercontent.com/13695767/43074282-f770b394-8e7c-11e8-90ed-25ee08eb34f5.jpg but it goes into an infinite reconnect loop: [image: 37597162_2511159332231373_5732430328132272128_n] https://user-images.githubusercontent.com/13695767/43074197-c396b7c6-8e7c-11e8-836b-9eebaa913dbe.jpg I've tried compiling sketch with older IDE version - Arduino 1.5.2 but it made no difference. Can UNO2IEC be used with Windows 7 x64 and Arduino UNO R3 ? Can someone confirm this setup is possible ? How to debug/log messages between PC and UNO if port is occupied for communication purpose ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Larswad/uno2iec/issues/19, or mute the thread https://github.com/notifications/unsubscribe-auth/AJiX4vGYDj-iQNfaeVkp7MYIC22XqTawks5uJbX0gaJpZM4Va1md .

-- Regards,

Kevin Phair