getting checksum errors when files are uploaded to the Arduino with usb connected to Pi 2. Also have another very odd problem. With VirtualHere driver pack installed my USB's see new device plugged into them (on the client) but they show up as unknown and I have to manually install them. once I uninstall the driver packs everything is fine, plug in a device and it installs drivers accordingly. and when the Arduino is plugged into the Raspberry Pi the device shows something like 0ff4 or something to that effect. Raspberry Pi is connected wired. as well as the client computer, through a TPLink 24 Port Switch. I have not tried on another computer at the time I was not sure if i would be able to get the drivers working properly. but I figured i would ask to see if anyone knows or has had a similar problem.
what is the operating system you are using?
Wheezy for the server and Windows 7 SP1 x64 as the client
It should be work fine on that. Try this on your pi:
sudo apt-get update;sudo apt-get upgrade -y;sudo rpi-update;sync;sudo reboot
that will update the firmware. Also make sure you are using the latest vhusbdarmhf on this website, not the one from the pi store as that is old and i havent updated it yet for ages(will soon).
I assume it uses an FTDI USB to serial cable for your arduino programming? Or is it silabs ?
sorry for the long delay in response, been busy. but I am not sure I would have to check it is a direct USB to USB, but i believe the UNO has the FTDI and i am not sure what is used on the Mega 2560. and I just checked it uses the Atmega 16U2 for Programmed for serial communications. there are 4 serial ports for this board and only one of which is connected to the USB. and only that one is able to write the hex files of the compiled code to the board without having a modified bootloader.
I have not tried uploading to an UNO with the FTDI and i am also not trying to communicate with my Arduino Program via a telnet session. I am trying to upload actual code to it. I know it can be done over a network as it is done with various ethernet boards "shields" via the ICSP header i believe and not through the USB, but if the VirtualHere software exactly passes the USB information from point A to point B I would imagine it should work. I really didn't want to go through the process of an update as i do have software running on the Pi and I don't want to have to redo anything, I will have to get another SD so I can make a clone i guess..
I did just purchase this Pi, it's a Pi2 and I just did the OS on it as well as made sure the OS was up to date before installing VirtualHere so that should be good. and I also downloaded VirtualHere from whatever instruction i found on this site and not from a RPi site.
One of my concerns as I stated above are caused by the client. and I am not sure if that is normal or not. but it is a rather large headache having to go and manually install drivers for a device.
example. plugged it in. manually install the drivers. then unplug it. wait 30 seconds and plug it back in and then i have to manually install the drivers again. if i uninstall the VirtualHere drivers that problem goes away after i manually install the drivers one last time. then i can plug in and out and the computer sees the device properly not as unrecognized USB device.
the above stated problem exists with plugging in and out of the Arduino have not gone through the process of seeing if it is device specific problem because of the bridge or not. I do have time over the next couple of days to trouble shoot this problem. so instruct me as to what you need to have done. or if you would even like remote access to a machine that i can set up so that way you would be able to go through the steps yourself if that would be easier. I do already have Microsoft RDP access set up to the Pi and I can set up a Desktop to have RDP also. very easily. or teamviewer or VNC (haven't changed to vnc fully has issues with multimonitor and causes other issues with software i am running on other machines.)
OK you can send your remote access details to mail [at] virtualhere.com i just need port 7575 open and possibly ssh . I am familiar with arduino as i have programmed them before. are you using the arduino IDE?
I do have the arduino IDE 1.6. but i find myself using sublime text with an addon that allows for all the functions of the arduino IDE plus alot of added features. I am stil new to programming so a full blown IDE is alittle to much at the moment. I need to know exactly what RDP software you would like to use. and if it would be easier I have a VPN Firewall so I can set ya up through that if it would be easier.then you can just use your own computer if ya like for testing. that would probably be the easiest. open vpn or ipsec phase 1 phase 2 just gotta let me know how you would like it setup. i'll shoot ya my email to hammer out the details on setup. thanks again for the help