SB-Freeduino (a.k.a. Arduino DueMilanove) - Other Embedded Platforms and Hardware Hacking

Users browsing this thread: 1 Guest(s)
sodaphish
Long time nixers
I have an SB-Freeduino (FT232 FTDI and ATMega328 processor), and I cannot, for the life of me, get this whore to take a program...

I see the USB device come on-line

Code:
battlelap ~ # dmesg
<snip>
[352930.480035] usb 3-1.2: new full-speed USB device number 82 using ehci-pci
[352930.578965] usb 3-1.2: New USB device found, idVendor=0403, idProduct=6001
[352930.578969] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[352930.578972] usb 3-1.2: Product: FT232R USB UART
[352930.578974] usb 3-1.2: Manufacturer: FTDI
[352930.578975] usb 3-1.2: SerialNumber: A4003E9h
[352930.581485] ftdi_sio 3-1.2:1.0: FTDI USB Serial Device converter detected
[352930.581516] usb 3-1.2: Detected FT232RL
[352930.581518] usb 3-1.2: Number of endpoints 2
[352930.581520] usb 3-1.2: Endpoint 1 MaxPacketSize 64
[352930.581522] usb 3-1.2: Endpoint 2 MaxPacketSize 64
[352930.581524] usb 3-1.2: Setting MaxPacketSize 64
[352930.582028] usb 3-1.2: FTDI USB Serial Device converter now attached to ttyUSB0

And the Arduino sketch environment/ide sees; I have manually set the board to Duemilanove and the processor to ATMega328, and when I try to write one of the example sketches to it (I'm using File > Examples > Basic > Blink), and when I upload it, I see the following in the console...

Code:
Sketch uses 1,030 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
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00


WHAT IN THE ACTUAL FUCK?!?

I've tried all the programmers available...

Reading through the `avrdude` man page, I see there are some options to specify the product, provided avrdude was compiled with libusb support (which I checked; `ldd \`which avrdude\`` shows libusb-0.1.so.4 is provided by my system.) SO, I tried `avrdude` from command-line...

Code:
[1]battlelap ~ # avrdude -p ATmega328 -b 56000 -n -P /dev/ttyUSB0 -c stk500
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
^C

I've googled this and asked elsewhere, was wondering if anyone here might have a clue how to unfuck my stupidity.

Cheers,

Soda


Messages In This Thread
SB-Freeduino (a.k.a. Arduino DueMilanove) - by sodaphish - 19-08-2014, 01:14 PM