USB2Serial and El Capitan 10.11.4

OS X El Capitan, upgraded to version 10.11.4
Arduino 1.6.5, also tried with 1.6.8 (with same results)

Using Arduino USB2SERIAL LIGHT used to work in previous versions for uploading
sketches to a homebuilt standard Arduino and a Jeenode v6 (see
The JeeLabs Shop - JeeNode(v6)), both with the Optiboot 4.4
loader.

Errors:

.
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
avrdude: ser_close(): can't reset attributes for device: Device not configured
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

It used to work with El Capitan v10.11.3, so I presume something has changed and as a result the USB2 Serial does not work for programming Arduino's anymore.

Uploading to an Arduino Uno works (with a direct serial cable). Uploading with a different USB-serial device (USB Bub2 from Modern Devices) also works.

I can use the USB2Serial for a serial monitor, just not for programming anymore. I've not done anything weird like trying to reflash it. When I used the USB2Serial with a Raspberry Pi, it just worked with the same devices, so I do thinks it has something to do with the El Capitan upgrade.

Anyone else can confirm this ?

Peter

Hi,

I think I'm experiencing more or less the same problems, with an Arduino Mega2560

Although 10.11.3 and 10.11.4 give the same results here.
The nightly builds of the last month or so all gave the same results.

I see 3 options in the Tools/Port/

  • dev/cu.bluetooth
  • dev/cu.serial1
  • dev/cu.usbmodemFD7141 (arduino/genuino mega or mega2560)

offcourse the last one is selected.

The serial monitor is working, fine.
Uploading a sketch allways results in timeouts.

I haven't been able to upload anything to the Mega in OSX 10.11.x

On my laptop with Windows7, uploading works fine.

Below is the OSX upload report.

The only difference I spotted in the parameter values between the OSX and Windows upload is:
SCK period : 0.1 us (for OSX)
SCK period : 43.5 us (for Windows 7)

I guess that could have something to do with the timeout.

But...why?
and can I fix this, or...?

avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/Users/sander/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/cu.usbmodemFD7131
         Using Programmer              : wiring
         Overriding Baud Rate          : 115200
         AVR Part                      : ATmega2560
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    10     8    0 no       4096    8      0  9000  9000 0x00 0x00
           flash         65    10   256    0 yes    262144  256   1024  4500  4500 0x00 0x00
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : Wiring
         Description     : Wiring
         Programmer Model: AVRISP
         Hardware Version: 15
         Firmware Version Master : 2.10
         Vtarget         : 0.0 V
         SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9801
avrdude: reading input file "/var/folders/dr/rrblbb9n4fn3w4bsc25jnp8m0000gn/T/build51cb7df66e1e89ed606f5be11648964c.tmp/Midi_to_8xTriggerAccent_v3.ino.hex"
avrdude: writing flash (12988 bytes):

Writing | ##########avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
#####avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout

When I ordered my Mega I thought it would be a www.arduino.cc but is is an arduino.org product.

Does this matter? In windows it doesn't seem to be a problem...

Arduino Mega    :

  Product ID:	0x0042
  Vendor ID:	0x2a03
  Version:	0.01
  Serial Number:	55431313438351913172
  Speed:	Up to 12 Mb/sec
  Manufacturer:	Arduino Srl            
  Location ID:	0xfd714000 / 5
  Current Available (mA):	1000
  Current Required (mA):	100
  Extra Operating Current (mA):	0

Pino,

as I said, I had no problem with an Arduino UNO. And it, and the Mega, also use an 8U2 for the USB connection, using OS X El Capitan.

I only have the issue with the USB2SERIAL which also used the 8U2. So the issue you are experiencing might be a different one.

Peter

Maybe our problems don't differ that much, the firmware loaded into the 16u2 an 8u2 maybe almost the same.

If not, sorry for messing up your topic!

until now we have at least the same solution....none :wink:

hopefully someone will change that.

grtz,
Pino