Go Down

Topic: MacBook Pro Serial port (again) (Read 163 times) previous topic - next topic

johankjellgren

Feb 04, 2019, 10:22 am Last Edit: Feb 04, 2019, 11:01 am by johankjellgren
Hi All!
Using a Arduino clone but can't upload new code. Using a macbook pro with Mojave.
Ports do show up (the usb) and I can get board info.

UNO R3 Plus Sensor I/O Shield Development Board Atmega328P ATmega16U2 Multifunctional Microcontroller Module Compatible with Arduino

https://www.diymore.cc/products/arduino-uno-r3-plus-sensor-i-o-shield-development-board-atmega328p-atmega16u2-multifunctional-microcontroller-module-compatible-with-arduino

The board was "preloaded" with the internal / pin13 1000 ms blink

If I run virtualbox with win7 or win10 it works and I can upload and the com3 appears in the dropdown fine so the hardware is fine.

What can I do? I need som kind of port driver?
 
/ johan

pert

Please do this:
  • File > Preferences > Show verbose output during: > compilation (uncheck) > upload (check) > OK
  • Sketch > Upload
  • After the upload fails you'll see a button on the right side of the orange bar "Copy error messages". Click that button.
  • Paste the error messages in a reply here USING CODE TAGS (</> button on the forum toolbar).

johankjellgren

Code: [Select]
Arduino: 1.8.8 (Mac OS X), Board: "Arduino/Genuino Uno"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/johankjellgren/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/johankjellgren/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/johankjellgren/Documents/Arduino/libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10808 -build-path /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_build_742494 -warnings=all -build-cache /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_cache_482982 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14 -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14 -prefs=runtime.tools.avr-gcc.path=/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2 -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2 -prefs=runtime.tools.arduinoOTA.path=/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -verbose /Applications/Arduino.app/Contents/Java/examples/01.Basics/Blink/Blink.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/johankjellgren/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/johankjellgren/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/johankjellgren/Documents/Arduino/libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10808 -build-path /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_build_742494 -warnings=all -build-cache /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_cache_482982 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14 -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14 -prefs=runtime.tools.avr-gcc.path=/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2 -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2 -prefs=runtime.tools.arduinoOTA.path=/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -verbose /Applications/Arduino.app/Contents/Java/examples/01.Basics/Blink/Blink.ino
Using board 'uno' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr
Using core 'arduino' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr
Detecting libraries used...
/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_build_742494/sketch/Blink.ino.cpp -o /dev/null
Generating function prototypes...
/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_build_742494/sketch/Blink.ino.cpp -o /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_build_742494/preproc/ctags_target_for_gcc_minus_e.cpp
/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_build_742494/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_build_742494/sketch/Blink.ino.cpp -o /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_build_742494/sketch/Blink.ino.cpp.o
Compiling libraries...
Compiling core...
Using precompiled core: /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_cache_482982/core/core_arduino_avr_uno_51f02b7210b938436b779d1c032618e1.a
Linking everything together...
/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-gcc -Wall -Wextra -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_build_742494/Blink.ino.elf /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_build_742494/sketch/Blink.ino.cpp.o /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_build_742494/../arduino_cache_482982/core/core_arduino_avr_uno_51f02b7210b938436b779d1c032618e1.a -L/var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_build_742494 -lm
/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_build_742494/Blink.ino.elf /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_build_742494/Blink.ino.eep
/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-objcopy -O ihex -R .eeprom /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_build_742494/Blink.ino.elf /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_build_742494/Blink.ino.hex
/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-size -A /var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_build_742494/Blink.ino.elf
Sketch uses 930 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14/bin/avrdude -C/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14/etc/avrdude.conf -v -patmega328p -carduino -P/dev/cu.usbmodem4101 -b115200 -D -Uflash:w:/var/folders/hl/wr69dlz922qb86_k82sylt_40000gn/T/arduino_build_742494/Blink.ino.hex:i

avrdude: Version 6.3-20171130
         Copyright (c) 2000-2005
         Copyright (c) 2007-2014

         System wide configuration file is "/Users/johankjellgren/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14/etc/avrdude.conf"
         User configuration file is "/Users/johankjellgren/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/cu.usbmodem4101
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

johankjellgren

had to cut some out to get below 9000. it was 9 more fails at the end

johankjellgren

plugged in another cheap clone and now different ports shows up without me setting up anything else.

Now all works perfectly with that clone. original problem still there.

I thought the ports were machine specific not board specific?

Go Up