Very little diagnostic info here about the Badgerstick. I got one at the NoCoMakerfaire on 10/10 and I’m trying to program it with different sketches. I went to the Codebender site, installed everything and programming fails. I’m running Kubuntu 15.04 and the machine sees the device, I’ve set up the udev rules to make the permissions rw-rw-rw (0666) and you can see that the codebender site sees it because the green light flashes a couple of times when it tries to program it, but then it comes back with “there was a connection error”. What would be a reasonable way to debug this problem?
this is Vasilis Georgitzikis, the founder of codebender
Just thought I’d pitch in. Have you tried any other Arduino on codebender, to see if it’s working? Do you have any other computer you can try it at, or another OS at the same computer? We do support Ubuntu, but we don’t officially test on Kubuntu, so there might be a bug we are unaware of. Also, are you using Chrome or Firefox?
Another bit of information. So I went over to github and grabbed the boards.txt description, grabbed the 1.6.5 version of the Arduino environment, and combined them so that I could program the Badgerstick (perhaps) from the command line. In theory my Redboard is on its way so I’ll have a chance to try codebender with it as well.
It behaves the same way it does with Codebender except that what it is trying to do is printed out by avrdude, this is trying to load the example Blink sketch:
cmcmanis@chuck-desktop:arduino-1.6.5-r5$ ./arduino
Picked up JAVA_TOOL_OPTIONS:
Sketch uses 1,024 bytes (3%) of program storage space. Maximum is 30,720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
^CProblem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
cmcmanis@chuck-desktop:arduino-1.6.5-r5$
Just to follow up with this, I attached a serial converter to the game port and can see it sending the messages that the source code shows at 1200 baud. It looks like the TX0 line on the schematic is the same one that comes from the FTDI chip so I am presuming I can reflash the bootloader and it might work.
I bought a Redboard which demonstrated that Codebender worked on my machine with a known good board, so that is good.
Hm… I really see no reason why it would fail. Unless you have a old BadgerStick, but as far as I understand, the one you were given should be the new version.
Just in case it’s the old one, try following this guide:
Now, in any case, feel free to contact codebender’s support at support@codebender.cc if you still can’t get it to work. We can enable extra logs for you, and try to figure this out