nixers
SB-Freeduino (a.k.a. Arduino DueMilanove) - Printable Version
+- nixers (https://nixers.net)
+-- Forum: Embedded (https://nixers.net/Forum-Embedded)
+--- Forum: Other Embedded Platforms and Hardware Hacking (https://nixers.net/Forum-Other-Embedded-Platforms-and-Hardware-Hacking)
+--- Thread: SB-Freeduino (a.k.a. Arduino DueMilanove) (/Thread-SB-Freeduino-a-k-a-Arduino-DueMilanove)


SB-Freeduino (a.k.a. Arduino DueMilanove) - sodaphish - 19-08-2014

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


RE: SB-Freeduino (a.k.a. Arduino DueMilanove) - GLN - 20-08-2014

Have you tried holding reset on the board, issuing the command with the programmer and immediately releasing reset?


RE: SB-Freeduino (a.k.a. Arduino DueMilanove) - sodaphish - 20-08-2014

yes... I went through and re-soldered my points and holy fuck if it isn't working now. -_-

so rage. much anger. very pissed.


RE: SB-Freeduino (a.k.a. Arduino DueMilanove) - pvtmert - 20-08-2014

that means the serial port is open in some program, you can try killing network manager because sometimes n/m tries to use it as modem. especially for ttyACMx devices


RE: SB-Freeduino (a.k.a. Arduino DueMilanove) - sodaphish - 20-08-2014

(20-08-2014, 07:41 PM)pvtmert Wrote: that means the serial port is open in some program, you can try killing network manager because sometimes n/m tries to use it as modem. especially for ttyACMx devices

so, not actually... the issue was my soldering. I fixed it.


RE: SB-Freeduino (a.k.a. Arduino DueMilanove) - sodaphish - 21-08-2014

so, has anyone integrated any wireless shields to an arduino project? I'm curious at how to integrate wireless communication with my arduino project, and I haven't gone to the trouble of buying one to test it.

Cheers,
Soda


RE: SB-Freeduino (a.k.a. Arduino DueMilanove) - GLN - 22-08-2014

What type of wireless communication are you looking at? Bluetooth, WiFi, or RF?