Go Down

Topic: An video of (one of) my problems (Read 9302 times) previous topic - next topic

cianof

#15
Jul 16, 2009, 12:10 pm Last Edit: Jul 16, 2009, 12:11 pm by cianof Reason: 1
Here's some more info from my setup.

System:
OS X 10.5.6
IDE Version 0016
USB driver FTDIUSBSerialDriver_v2_2_10.dmg
ATMEGA328P-PU
IDE settings are correct
Tools > Board > Arduino Duemilanove w/Atmega 328
Tools > Serial > /dev/tty.usbserial-A70076ay (tried cu.usbserial as well)

Arduino board - purchased from ebay.

Upload works fine using XP via bootcamp.

Here's the console output:
avrdude: Version 5.4-arduino, compiled on Oct  9 2007 at 11:20:31
       url line removed

       System wide configuration file is "hardware/tools/avr/etc/avrdude.conf"
       User configuration file is "/Users/MYUSERNAME/.avrduderc"
       User configuration file does not exist or is not a regular file, skipping

       Using Port            : /dev/tty.usbserial-A70076ay
       Using Programmer      : stk500v1
       Overriding Baud Rate  : 57600
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: Send: Q [51]   [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding

RS light blinks 3 times. I reckon thats the avrdude: Send: 0 [30]   [20] bit.

alex.venom

System Version:      Mac OS X 10.5.7 (9J61)
 Kernel Version:      Darwin 9.7.0

and my Arduino is an ATMEGA328P-PU  :-?

alex.venom

Quote
Arduino board - purchased from ebay.


Hmm... mine came from eBay too. Some place from China. Could that be a clue??  :-/

stompyj

System Version: Mac OS X 10.5.7 (9J3050)
Kernel Version: Darwin 9.7.1

How can I tell more specifically which board I have besides a Arduino Duemilanove AtMega328?

Also, I'm a step behind you guys, I can't even get a valid port name in the tools -> serial port menu to appear.  I've tested Arduino-0016, FTDI driver(s) 2.2.9 and 2.2.10 on a 15" macbook pro, 13" macbook pro, 13" macbook, and a Mac Pro.  None of them can even see the driver to select.

Furthermore, I can get it working fine using VMware (both XP and Kubuntu) on any of these platforms.

-Eric

gabebear

#19
Jul 18, 2009, 05:09 am Last Edit: Jul 18, 2009, 05:17 am by gabebear Reason: 1
WOW, something is really broken...

I have a new Mac mini (Core2 2Ghz, Nvidia9400M) with 10.5.7, fully updated. I use it as a media frontend for my TV. I just installed Arduino 16 and the FTDI 2.2.9 driver that comes with it. Everything worked perfectly, I uploaded a sketch and communicated with my Duemilanove.


I'm wondering if the FTDI chip on your Duemilanove is different(maybe a cheap Chinese clone). Open System Profiler, go to the USB section, and find the FTDI chip.

I have two Duemilanoves, and they show:
Code: [Select]

FT232R USB UART:

 Product ID:      0x6001
 Vendor ID:      0x0403  (Future Technology Devices International Limited)
 Version:      6.00
 Serial Number:      A6008cD3
 Speed:      Up to 12 Mb/sec
 Manufacturer:      FTDI
 Location ID:      0x3d100000
 Current Available (mA):      500
 Current Required (mA):      90

and
Code: [Select]

FT232R USB UART:

 Product ID:      0x6001
 Vendor ID:      0x0403  (Future Technology Devices International Limited)
 Version:      6.00
 Serial Number:      A6008cD3
 Speed:      Up to 12 Mb/sec
 Manufacturer:      FTDI
 Location ID:      0x1d100000
 Current Available (mA):      500
 Current Required (mA):      90


alex.venom

Mine says:

Code: [Select]
FT232R USB UART:

 Product ID:      0x6001
 Vendor ID:      0x0403  (Future Technology Devices International Limited)
 Version:      6.00
 Serial Number:      A70076al
 Speed:      Up to 12 Mb/sec
 Manufacturer:      FTDI
 Location ID:      0x06200000
 Current Available (mA):      500
 Current Required (mA):      90

gabebear

What is printed on top of your FTDI chip?

mine looks almost exactly like the picture at
http://parts.digikey.com/1/parts/1501976-ic-usb-serial-uart-28-ssop-ft232rl-r.html
but the batch number is higher (0832 instead of 0830)
Code: [Select]

FTDI
0832-B
FT232RL

cianof

Here's mine:

Code: [Select]

FT232R USB UART:

 Product ID:      0x6001
 Vendor ID:      0x0403  (Future Technology Devices International Limited)
 Version:      6.00
 Serial Number:      A70076ay
 Speed:      Up to 12 Mb/sec
 Manufacturer:      FTDI
 Location ID:      0x1a200000
 Current Available (mA):      500
 Current Required (mA):      90


cianof

Written on my chip:
FTDI
0836-B
FT232RL

gabebear

#24
Jul 20, 2009, 05:55 pm Last Edit: Jul 20, 2009, 06:06 pm by gabebear Reason: 1
OK, is there any difference on the circuit board?

Mine is exactly identical to:
http://ja.wikipedia.org/wiki/%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB:Arduino_Duemilanove_0509.JPG

There couldn't be any huge differences or it wouldn't work with Windows, but maybe this could give a hint as to why it's not working on Mac.

gabebear

#25
Jul 20, 2009, 06:17 pm Last Edit: Jul 20, 2009, 06:18 pm by gabebear Reason: 1
If you pull the 328p off the Duemilanove you are basically left with a FTDI adapter. Once you have removed the 328p, you can do a loopback test by connecting Pin0(RX) and Pin1(TX) and sending data to the serial port. Any data you send should come right back.

http://forum.sparkfun.com/viewtopic.php?t=15336&sid=31ecb89c9cb35eab197db1dc910732f8

alex.venom

My FTDI chip says

FTDI
0836-B
FT 232 RL

exacly as clanof's one does.
I tried to remove the ATMega chip and loopback the RX and TX. Both LEDs (TX and RX) blink when I send data, but I don't get anything back in the console.


:-/

stompyj

MyFTDI chip says :

FTDI
0845-B
FT232RL

Does anyone have any ideas on why I can't even get my /dev to display

/dev/cu.usbserial-xxxxxxxx
/dev/tty.usbserial-xxxxxxxx

When I plug in the device?

This device works fine on windows and linux boxes, but doesn't work on any mac machine for me.  Whats even weirder is that I got it to work one time on my macbook, but once I rebooted the macbook, it's never worked again...

Very strange.


stompyj

Code: [Select]

FT232R USB UART:

 Product ID:      0x6001
 Vendor ID:      0x0403  (Future Technology Devices International Limited)
 Version:      6.00
 Serial Number:      A6008jhm
 Speed:      Up to 12 Mb/sec
 Manufacturer:      FTDI
 Location ID:      0x1d100000
 Current Available (mA):      500
 Current Required (mA):      Unknown (Device has not been configured)


This is what's in system profiler.  The Current Required field must be because I'm not seeing anything in /dev, hence the driver isn't even loading properly.

stompyj

This is the error I see from the mac app "Console" when plugging the arduino board into my mac via USB.

Has anyone seen this?  Any suggestions on where to go from here in terms of debugging?

Code: [Select]

7/21/09 1:36:44 PM kernel USBF: 19022.259 IOUSBCompositeDriver[0x9408d80](FT232R USB UART) GetFullConfigDescriptor(0) returned NULL


Go Up