OpenSprinkler › Forums › OpenSprinkler Unified Firmware › OS 2.0 USBtiny Error when trying to write changes.
Ok, so I finally got myself the 2.0 OS Micro and wanted to start toying around with the code. I followed the LinuxMint VM instructions, as I did before with 1.8, and tried to write my changes to OS but it failed with an error. Something like connection timeout problem, use -F to ignore the error.
Am I missing something as my VM can ‘see’ the programmer but it times out when trying to write to the device.
The only changes I made from the original VM is to update it with all the latest packages and patches.
Ingo
I decided to stick with Ray’s VirtualBox image for now. At least it works out-the-box.
Ingo
I suggest using the VirtualBox image as you mentioned, since it has all the settings ready configured.
If you want to make it work with a native system (note that unlike 1.8.3 firmware which only compiles on a specific version of Linux, 2.0.0 firmware can compile on all platforms), make sure you have added the fies in ‘arduino-code / hardware ‘ folder to your Arduino’s hardware directory. Also you need to select ‘OpenSprinkler2’ as the board in Arduino, as it contains the necessary mcu and parameters. If you select other boards, the code will not flash because Arduino will complain that it’s the wrong mcu.
Thanks Ray, working on Windows 7 x64.
1. Install Arduino 1.0.5
2. Copy the OpenSprinklerGen2 directory over to Windows.
3. Add the OpenSprinkler libraries to the existing Arduino libraries.
4. Select OpenSprinkler as the ‘Board’.
5. Select USBTinyISP as the programmer.
Voila!! All done and now I don’t have to open a VM to get this going.
Ingo
OpenSprinkler › Forums › OpenSprinkler Unified Firmware › OS 2.0 USBtiny Error when trying to write changes.