I’ve just received the dev kit I tried to connect to Mac but I have to choose serial port, which one have I to choose, MALS or SOC?
I tried with MALS but after I uploaded an example game the blink is with a soft red light, and I press it 2 times it becomes white but I cannot do nothing…
I also tried another Mac and in this one I don’t see no serial ports (except the iPhone/iPad and Bluetooth ones).
Hi @maverickk89,
You shouldn’t need to select a port for programming while on a Mac. Try pressing down on the programmer jig to make sure the pins are making full contact and check if the program now uploads.
If not selected application gives me an error saying that port is not selected…
Sounds like a similar issue we were seeing with Windows PC’s that didn’t have any COM ports. I’m not sure if this would work the same way on a mac, but maybe give the solution in this post try? I would assume that arduino has a similar preferences file that you could access on the mac version.
this is the error:
Arduino: 1.8.7 (Mac OS X), Board: "Blinks Tile"
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/fabio.lavoro/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/fabio.lavoro/Documents/Arduino/libraries -fqbn=Move38-Blinks-Library:avr:tile -ide-version=10807 -build-path /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078 -warnings=none -build-cache /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_cache_28503 -prefs=build.warn_data_percentage=75 -verbose /Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/libraries/Examples03/examples/A-MortalsGame/A-MortalsGame.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/fabio.lavoro/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/fabio.lavoro/Documents/Arduino/libraries -fqbn=Move38-Blinks-Library:avr:tile -ide-version=10807 -build-path /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078 -warnings=none -build-cache /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_cache_28503 -prefs=build.warn_data_percentage=75 -verbose /Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/libraries/Examples03/examples/A-MortalsGame/A-MortalsGame.ino
Using board 'tile' from platform in folder: /Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr
Using core 'blinkcore' from platform in folder: /Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr
Detecting libraries used...
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega168pb -DF_CPU=4000000L -DARDUINO=10807 -DARDUINO_AVR_Blink -DARDUINO_ARCH_AVR -I/Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/cores/blinkcore -I/Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/variants/standard /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/sketch/A-MortalsGame.ino.cpp -o /dev/null
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega168pb -DF_CPU=4000000L -DARDUINO=10807 -DARDUINO_AVR_Blink -DARDUINO_ARCH_AVR -I/Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/cores/blinkcore -I/Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/variants/standard -I/Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/libraries/blinklib/src /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/sketch/A-MortalsGame.ino.cpp -o /dev/null
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega168pb -DF_CPU=4000000L -DARDUINO=10807 -DARDUINO_AVR_Blink -DARDUINO_ARCH_AVR -I/Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/cores/blinkcore -I/Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/variants/standard -I/Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/libraries/blinklib/src -I/Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/libraries/blinkstate/src /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/sketch/A-MortalsGame.ino.cpp -o /dev/null
Using cached library dependencies for file: /Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/libraries/blinklib/src/Print.cpp
Using cached library dependencies for file: /Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/libraries/blinklib/src/Serial.cpp
Using cached library dependencies for file: /Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/libraries/blinklib/src/blinklib.cpp
Using cached library dependencies for file: /Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/libraries/blinklib/src/irdata.cpp
Using cached library dependencies for file: /Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/libraries/blinkstate/src/blinkstate.cpp
Generating function prototypes...
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega168pb -DF_CPU=4000000L -DARDUINO=10807 -DARDUINO_AVR_Blink -DARDUINO_ARCH_AVR -I/Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/cores/blinkcore -I/Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/variants/standard -I/Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/libraries/blinklib/src -I/Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/libraries/blinkstate/src /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/sketch/A-MortalsGame.ino.cpp -o /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/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/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega168pb -DF_CPU=4000000L -DARDUINO=10807 -DARDUINO_AVR_Blink -DARDUINO_ARCH_AVR -I/Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/cores/blinkcore -I/Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/variants/standard -I/Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/libraries/blinklib/src -I/Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/libraries/blinkstate/src /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/sketch/A-MortalsGame.ino.cpp -o /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/sketch/A-MortalsGame.ino.cpp.o
Compiling libraries...
Compiling library "blinklib"
Using previously compiled file: /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/libraries/blinklib/Print.cpp.o
Using previously compiled file: /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/libraries/blinklib/blinklib.cpp.o
Using previously compiled file: /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/libraries/blinklib/Serial.cpp.o
Using previously compiled file: /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/libraries/blinklib/irdata.cpp.o
Compiling library "blinkstate"
Using previously compiled file: /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/libraries/blinkstate/blinkstate.cpp.o
Compiling core...
Using precompiled core: /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_cache_28503/core/core_Move38-Blinks-Library_avr_tile_49d468208c49171068969d4c72d1d17c.a
Linking everything together...
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-gcc -w -Os -Wl,--gc-sections -mmcu=atmega168pb -o /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/A-MortalsGame.ino.elf /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/sketch/A-MortalsGame.ino.cpp.o /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/libraries/blinklib/Print.cpp.o /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/libraries/blinklib/Serial.cpp.o /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/libraries/blinklib/blinklib.cpp.o /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/libraries/blinklib/irdata.cpp.o /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/libraries/blinkstate/blinkstate.cpp.o /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/../arduino_cache_28503/core/core_Move38-Blinks-Library_avr_tile_49d468208c49171068969d4c72d1d17c.a -L/var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078 -lm
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/A-MortalsGame.ino.elf /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/A-MortalsGame.ino.eep
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-objcopy -O ihex -R .eeprom /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/A-MortalsGame.ino.elf /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/A-MortalsGame.ino.hex
Using library blinklib at version 1.0 in folder: /Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/libraries/blinklib
Using library blinkstate at version 1.0 in folder: /Users/fabio.lavoro/Documents/Arduino/hardware/Move38-Blinks-Library/avr/libraries/blinkstate
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-size -A /var/folders/6s/yyqhdffx2g9gh6h_v15gh3mw0000gq/T/arduino_build_962078/A-MortalsGame.ino.elf
Sketch uses 3838 bytes (24%) of program storage space. Maximum is 15872 bytes.
Global variables use 182 bytes (17%) of dynamic memory, leaving 842 bytes for local variables. Maximum is 1024 bytes.
Please select a Port before Upload
here are ports that I have available:
I am forced to choose one… Ah I saw that in the tutorial video at the bottom on the right of Arduino app a serial port is selected (but I cannot see it due to quality video), but in my app is not selected (“Blinks Tile on” and no port selected)…
I already tried to install drivers for Mac (I saw something in another post) but nothing changed…
Unfortunately I don’t think that the same way could be done on Mac, but if someone knows how to do it, I am listening to…
It seems that VPC drivers are not installed correctly, in the guideline here they explain how to install them and, at the end (page 14), they say that inside /dev/ should be visible 2 new lines:
Now plug the device in.
If the device is installed properly, you will see entries in the /dev directory:
/dev/cu.usbserial-xxxxxxxx
/dev/tty.usbserial-xxxxxxxx
but I do not see them, neither after these commands:
cd /dev
ls -l
so I think they are not installed correctly… the questions are, why and how to solve it??
Ah I forgot to say that I have Mac OS 10.14 (I also have another Mac with Mac OS 10.13, tried also on it but I had same problem).
@maverickk89 have your tried simply selecting one of the ports? Since we are using the USBtiny programmer to upload the program, this port selection is inconsequential. It only becomes important for using the Serial Service Port which is most commonly used for debugging.
Try with a selected port and making sure your programmer is well connected to one of your Blinks and let us know if you have any luck there. Happy to show how to edit the file as well, but think this is the best first step.
Best,
Jb