Dawn Robotics Forum Support and community forums for Dawn Robotics Ltd 2014-05-09T07:45:59+01:00 http://forum.dawnrobotics.co.uk/feed.php?f=15&t=1244 2014-05-09T07:45:59+01:00 2014-05-09T07:45:59+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1244&p=1313#p1313 <![CDATA[Re: Runtime warning.]]>
Thank you for your response.

I'll keep an eye out for the re-appearence of the first warning.

I have installed your modified software as suggested, and I now do not see the second warning.

Perhaps the Pi Co-op manual should be modified to say that after a sketch is uploaded expect to see the message "done with autoreset".

I'll now try and get my head arround using "Firmata".

This board is certainly a lot easier to setup and use when compared with the GertDuino.

regards Galen

Statistics: Posted by yorkshiretyke — Fri May 09, 2014 7:45 am


]]>
2014-05-08T20:55:35+01:00 2014-05-08T20:55:35+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1244&p=1312#p1312 <![CDATA[Re: Runtime warning.]]>
The first warning seems to be an occasional bug which I think is due to a timing issue when sending a reset to the Pi Co-op. Please let me know if you see it a lot.

The second warning is fairly harmless (at this point the blink sketch should have been uploaded, did you see this?). The warning happens because there wasn't a call to GPIO cleanup at the end of the auto reset script. I've uploaded a fix to try and get rid of this warning, if you've got the time, could you please try it by running

Code:
cd pi_co-op
git pull
sudo python  setup_pi_co-op.py uninstall
sudo python  setup_pi_co-op.py install


Regards

Alan

Statistics: Posted by Alan — Thu May 08, 2014 8:55 pm


]]>
2014-05-07T23:42:20+01:00 2014-05-07T23:42:20+01:00 http://forum.dawnrobotics.co.uk/viewtopic.php?t=1244&p=1311#p1311 <![CDATA[Runtime warning.]]>
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
Binary sketch size: 1,072 bytes (of a 32,256 byte maximum)
done with autoreset
avrdude-original: stk500_recv(): programmer is not responding


I then pressed the reset button on the Pi_Co-op board (as suggested by the Trouble shooting guide); I then edited the Blink sketch to write to the Serial Monitor and uploaded this modified version only to get this message:-

Binary sketch size: 2,432 bytes (of a 32,256 byte maximum)
/usr/bin/autoreset:21: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup( pin, GPIO.OUT )
done with autoreset


The messages sent to the Serial Monitor are being displayed.

Any suggestions on how to fix these errors?

Statistics: Posted by yorkshiretyke — Wed May 07, 2014 11:42 pm


]]>