DC Boarduino loaded once, not accepting programs now.

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

DC Boarduino loaded once, not accepting programs now.

Postby foober » Thu Oct 01, 2009 4:12 am

Hi All,

I can't see where I've gone wrong, can someone point me in the right direction?

I bought several DC Boarduino's at the Newcastle Makerfaire in the UK. I built one (it has "v1.0" on the PCB, a '328P, and an LM7805, and I put in C6), and I could swear (but I'm not completely sure that I), using the Arduino_0012 software (which only supported the 168's) successfully uploaded the blink sketch to verify it working. All's well, or so I thought. That was a month or two ago.

Last night, I tried to upload a sketch. I connected the known-good USB RTL cable the correct way, made sure power was from "usb" (the RTL cable), and tried to upload a different blink sketch. Incidentally, the usb port has the 'Set RTS on close' tick set.

The LED flickered a little bit, indicating that it was trying to communicate with my computer, and then the same blinking started again.

After a while, the IDE showed the error:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk_500_disable(): protocol error, expect=0x14, resp=0x51

Since that didn't work, I downloaded Arduino_0017, and tried compiling and uploading with that, with the board setting as 'Arduino Duemilanove or Nano w/ ATmega328'.

I've tried changing the setting to the various 328's, recompiling, and then uploading. I've tried changing to the 168's and uploading. I tried playing with boards.txt to see if changing the parameters helped. I've tried pushing the reset button both before and after pressing the 'upload' key.

I can't seem to even affect the behaviour. It's always the same: I click on 'Upload', the LED blinks a little bit, and then goes back to the regular flashing of the blink sketch.

Thinking that the IDE might be bogus, I then used a different cable, and downloaded to a real Arduino (changing the chip to a 168 and the port to the different port), and the sketch went in first time.

Any suggestions? The Boarduino /seems/ to be working fine, as it powers up, and blinks merrily away. The solder connections all seem good. It /seems/ to hear the USB cable, otherwise it wouldn't blink. The IDE is working because it loads into a pukka arduino. I can't pinpoint where the trouble might be.

Thanks for any help!

-Ken
foober
 
Posts: 1
Joined: Thu Oct 01, 2009 3:35 am

Re: DC Boarduino loaded once, not accepting programs now.

Postby mtbf0 » Thu Oct 01, 2009 6:51 am

have you tried different baud rates? could be a mismtch between the bootloader on the chip you have and the arduino environment you're using.
"i want to lead a dissipate existence, play scratchy records and enjoy my decline" - iggy pop, i need more
User avatar
mtbf0
 
Posts: 1642
Joined: Fri Nov 09, 2007 11:59 pm
Location: oakland ca

Re: DC Boarduino loaded once, not accepting programs now.

Postby Hinermad » Thu Oct 01, 2009 8:24 am

What OS is your host computer running? I had very similar problems with Arduino 0017 running under Windows Vista. I used a USBtinyISP to replace the bootloader in the DC Boarduino with the stock Arduino bootloader (can be done from within the IDE) and it works fine now.

Here's another thread with some discussion about it:

http://forums.adafruit.com/viewtopic.php?f=22&t=12346

Dave
User avatar
Hinermad
 
Posts: 56
Joined: Sun Sep 13, 2009 12:25 pm
Location: Upstate New York, USA


Return to Other Arduino products from Adafruit

Who is online

Users browsing this forum: No registered users and 5 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [108]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[31]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[34]
LCDs & Displays[48]
Components & Parts[70]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[111]
 
Wireless[14]
Cables[62]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]