Go Down

Topic: Any Sketch never upload on any board (Read 149 times) previous topic - next topic

Laury

Jun 14, 2018, 05:53 pm Last Edit: Jun 14, 2018, 06:03 pm by Laury
Hello all ! I need you help :(

I'm using mac OSX EL capitan.
Everything was working perfectly and suddenly I cannot upload any sketch on any of my boards.
Upload process get stuck, and after 30sec the board get disconnected and i got an error message like if the port conection doesnt exist anymore. But if i replug it it appears in the port list. I'm doing it well with correct board and port selected. Also I can use the serial monitor on my board and read what is happening. Just uploads fails.

I've try different sketch and boards, different cable, different USB, same situation all the time. I've tried uploading driver and library, reinstalling IDE, restarting computer.
Any tips ? I'm completely stucked and already spend a afternoon on this ...

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 toolbar).

Laury

#2
Jun 14, 2018, 07:18 pm Last Edit: Jun 14, 2018, 10:31 pm by Laury
Here is a copy of the error message code. I tried for this to upload a basic hello_neopixel sktch in a adafruit circuit playground board.
Upload process got stucked for 30/40 sec then error message.

PS : i had to cut a part of the long code part because exceeding 9000 caracter... a part with a lot of
"2: warning: narrowing conversion of '214' from 'int' to 'const int8_t {aka const signed char}' inside { } [-Wnarrowing]" things...



Code: [Select]
Arduino: 1.8.2 (Mac OS X), Board: "Adafruit Circuit Playground Classic"

/Applications/Arduino.app/Contents/Java/libraries/Adafruit_CircuitPlayground/utility/talkie.cpp:15:73: warning: narrowing conversion of '33472u' from 'unsigned int' to 'const int16_t {aka const int}' inside { } [-Wnarrowing]
                  0x1440,0x2740,0x38C0,0x47C0,0x5480,0x5EC0,0x6700,0x6D40},
                                                                         ^
/Applications/Arduino.app/Contents/Java/libraries/Adafruit_CircuitPlayground/utility/talkie.cpp:15:73: warning: narrowing conversion of '33664u' from 'unsigned int' to 'const int16_t {aka const int}' inside {
/Applications/Arduino.app/Contents/Java/libraries/Adafruit_CircuitPlayground/utility/talkie.cpp:39:62: warning: narrowing conversion of '221' from 'int' to 'const int8_t {aka const signed char}' inside { } [-Wnarrowing]
/Applications/Arduino.app/Contents/Java/libraries/Adafruit_CircuitPlayground/utility/talkie.cpp:39:62: warning: narrowing conversion of '220' from 'int' to 'const int8_t {aka const signed char}' inside { } [-Wnarrowing]
/Applications/Arduino.app/Contents/Java/libraries/Adafruit_CircuitPlayground/utility/talkie.cpp:39:62: warning: narrowing conversion of '252' from 'int' to 'const int8_t {aka const signed char}' inside { } [-Wnarrowing]
/Applications/Arduino.app/Contents/Java/libraries/Adafruit_CircuitPlayground/utility/talkie.cpp:39:62: warning: narrowing conversion of '255' from 'int' to 'const int8_t {aka const signed char}' inside { } [-Wnarrowing]
/Applications/Arduino.app/Contents/Java/libraries/Adafruit_CircuitPlayground/utility/talkie.cpp:39:62: warning: narrowing conversion of '248' from 'int' to 'const int8_t {aka const signed char}' inside { } [-Wnarrowing]
/Applications/Arduino.app/Contents/Java/libraries/Adafruit_CircuitPlayground/utility/talkie.cpp:39:62: warning: narrowing conversion of '238' from 'int' to 'const int8_t {aka const signed char}' inside { } [-Wnarrowing]
/Applications/Arduino.app/Contents/Java/libraries/Adafruit_CircuitPlayground/utility/talkie.cpp:39:62: warning: narrowing conversion of '237' from 'int' to 'const int8_t {aka const signed char}' inside { } [-Wnarrowing]
/Applications/Arduino.app/Contents/Java/libraries/Adafruit_CircuitPlayground/utility/talkie.cpp:39:62: warning: narrowing conversion of '239' from 'int' to 'const int8_t {aka const signed char}' inside { } [-Wnarrowing]
/Applications/Arduino.app/Contents/Java/libraries/Adafruit_CircuitPlayground/utility/talkie.cpp:39:62: warning: narrowing conversion of '247' from 'int' to 'const int8_t {aka const signed char}' inside { } [-Wnarrowing]
/Applications/Arduino.app/Contents/Java/libraries/Adafruit_CircuitPlayground/utility/talkie.cpp:39:62: warning: narrowing conversion of '246' from 'int' to 'const int8_t {aka const signed char}' inside { } [-Wnarrowing]
/Applications/Arduino.app/Contents/Java/libraries/Adafruit_CircuitPlayground/utility/talkie.cpp:39:62: warning: narrowing conversion of '250' from 'int' to 'const int8_t {aka const signed char}' inside { } [-Wnarrowing]
Archiving built core (caching) in: /var/folders/r0/hc8jk0054zbc98nz1tpln2240000gn/T/arduino_cache_925189/core/core_adafruit_avr_circuitplay32u4cat_5f81d7cb57e4a2b19bda66c3918c3bbd.a
Sketch uses 11318 bytes (39%) of program storage space. Maximum is 28672 bytes.
Global variables use 908 bytes of dynamic memory.
avrdude: ser_open(): can't open device "/dev/cu.usbmodem1411": No such file or directory
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
Invalid library found in /Users/LauryChanty/Documents/Arduino/libraries/Adafruit: /Users/LauryChanty/Documents/Arduino/libraries/Adafruit
Invalid library found in /Users/LauryChanty/Documents/Arduino/libraries/Adafruit: /Users/LauryChanty/Documents/Arduino/libraries/Adafruit

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Go Up