Seeed-Studio / Seeed_Platform

27 stars 23 forks source link

Upload fails on Rephone core 2G MT2502 #2

Closed arkie closed 7 years ago

arkie commented 7 years ago

Using the following sketch:

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
}

void loop() {
  // put your main code here, to run repeatedly:
  Serial.println("Hello World, Hello RePhone!");
  delay(100);
}

from http://wiki.seeed.cc/Arduino_IDE_for_RePhone_Kit/ I receive the following error on Upload with either port selected:

Arduino: 1.8.3 (Mac OS X), Board: "Rephone core 2G MT2502"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/arkie/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/arkie/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/arkie/Documents/Arduino/libraries -fqbn=Seeeduino:Rephone_core_2G_MT2502:rephone -vid-pid=0X0E8D_0X0023 -ide-version=10803 -build-path /var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451 -warnings=none -build-cache /var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_cache_364407 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.linkit_tools.path=/Users/arkie/Library/Arduino15/packages/Seeeduino/tools/linkit_tools/1.1.21 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Users/arkie/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/4.8.3-2014q1 -verbose /Users/arkie/Documents/Arduino/sketch_jun09a/sketch_jun09a.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/arkie/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/arkie/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/arkie/Documents/Arduino/libraries -fqbn=Seeeduino:Rephone_core_2G_MT2502:rephone -vid-pid=0X0E8D_0X0023 -ide-version=10803 -build-path /var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451 -warnings=none -build-cache /var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_cache_364407 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.linkit_tools.path=/Users/arkie/Library/Arduino15/packages/Seeeduino/tools/linkit_tools/1.1.21 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Users/arkie/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/4.8.3-2014q1 -verbose /Users/arkie/Documents/Arduino/sketch_jun09a/sketch_jun09a.ino
Using board 'rephone' from platform in folder: /Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0
Using core 'arduino' from platform in folder: /Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0
Warning: platform.txt from core 'Rephone core 2G MT2502 Boards' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.
Detecting libraries used...
"/Users/arkie/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -O2  -ffunction-sections -fdata-sections -fvisibility=hidden -fpic -mthumb -mlittle-endian -nostdlib -fno-non-call-exceptions -fno-rtti -fno-exceptions -Dprintf=iprintf "-I/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/system/libmtk" "-I/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/system/libmtk/include" -w -x c++ -E -CC -mcpu=arm7tdmi-s -DF_CPU=84000000L -DARDUINO=10803 -DARDUINO_MTK_ONE -DARDUINO_ARCH_REPHONE_CORE_2G_MT2502 -D__COMPILER_GCC__ -D__LINKIT_ONE__ -D__LINKIT_ONE_RELEASE__ -mthumb -DUSB_VID=0x0E8D -DUSB_PID=0x0023 -DUSBCON '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="LinkIt ONE"' "-I/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/system/libmtk" "-I/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/system/libmtk/include" "-I/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/cores/arduino" "-I/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/variants/linkit_one" "/var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451/sketch/sketch_jun09a.ino.cpp" -o "/dev/null"
Generating function prototypes...
"/Users/arkie/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -O2  -ffunction-sections -fdata-sections -fvisibility=hidden -fpic -mthumb -mlittle-endian -nostdlib -fno-non-call-exceptions -fno-rtti -fno-exceptions -Dprintf=iprintf "-I/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/system/libmtk" "-I/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/system/libmtk/include" -w -x c++ -E -CC -mcpu=arm7tdmi-s -DF_CPU=84000000L -DARDUINO=10803 -DARDUINO_MTK_ONE -DARDUINO_ARCH_REPHONE_CORE_2G_MT2502 -D__COMPILER_GCC__ -D__LINKIT_ONE__ -D__LINKIT_ONE_RELEASE__ -mthumb -DUSB_VID=0x0E8D -DUSB_PID=0x0023 -DUSBCON '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="LinkIt ONE"' "-I/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/system/libmtk" "-I/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/system/libmtk/include" "-I/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/cores/arduino" "-I/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/variants/linkit_one" "/var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451/sketch/sketch_jun09a.ino.cpp" -o "/var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451/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/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/Users/arkie/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -O2 -MMD -ffunction-sections -fdata-sections -fvisibility=hidden -fpic -mthumb -mlittle-endian -nostdlib -fno-non-call-exceptions -fno-rtti -fno-exceptions -Dprintf=iprintf "-I/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/system/libmtk" "-I/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/system/libmtk/include" -mcpu=arm7tdmi-s -DF_CPU=84000000L -DARDUINO=10803 -DARDUINO_MTK_ONE -DARDUINO_ARCH_REPHONE_CORE_2G_MT2502 -D__COMPILER_GCC__ -D__LINKIT_ONE__ -D__LINKIT_ONE_RELEASE__ -mthumb -DUSB_VID=0x0E8D -DUSB_PID=0x0023 -DUSBCON '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="LinkIt ONE"' "-I/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/system/libmtk" "-I/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/system/libmtk/include" "-I/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/cores/arduino" "-I/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/variants/linkit_one" "/var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451/sketch/sketch_jun09a.ino.cpp" -o "/var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451/sketch/sketch_jun09a.ino.cpp.o"
Compiling libraries...
Compiling core...
Using previously compiled file: /var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451/core/variant.cpp.o
Using precompiled core
Linking everything together...
"/Users/arkie/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -O2 -Wl,--gc-sections -mcpu=arm7tdmi-s "-T/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/variants/linkit_one/linker_scripts/gcc/scat.ld" "-Wl,-Map,/var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451/sketch_jun09a.ino.map" -o "/var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451/sketch_jun09a.ino.elf" "-L/var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451" -lm -fpic -pie -Wl,--entry=gcc_entry -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-unresolved-symbols -Wl,--start-group "/var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451/../arduino_cache_364407/core/core_Seeeduino_Rephone_core_2G_MT2502_rephone_4d1d75039f31c49e25a4ffd2e32595e1.a" "/var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451/sketch/sketch_jun09a.ino.cpp.o" "/var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451/core/variant.cpp.o" "/Users/arkie/Library/Arduino15/packages/Seeeduino/hardware/Rephone_core_2G_MT2502/1.0.0/variants/linkit_one/libmtk.a" -Wl,--end-group
"/Users/arkie/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-objcopy" --strip-debug "/var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451/sketch_jun09a.ino.elf"
"/Users/arkie/Library/Arduino15/packages/Seeeduino/tools/linkit_tools/1.1.21/PackTag.sh" "/var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451/sketch_jun09a.ino.elf" "/var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451/sketch_jun09a.ino.vxp"
Parameter number = 3
Parameter 0 value = /Users/arkie/Library/Arduino15/packages/Seeeduino/tools/linkit_tools/1.1.21/PackTag
Parameter 1 value = -i
Parameter 2 value = /var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451/sketch_jun09a.ino.elf
Digist Packer Command Shell v3.1329.00
Sketch uses 7336 bytes (0%) of program storage space. Maximum is 10485760 bytes.
Forcing reset using 1200bps open/close on port /dev/cu.usbmodem14121
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem14121, /dev/cu.usbmodem14123, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem14121, /dev/tty.usbmodem14123, } => {}
Uploading using selected port: /dev/cu.usbmodem14121
/Users/arkie/Library/Arduino15/packages/Seeeduino/tools/linkit_tools/1.1.21/PushTool.sh cu.usbmodem14121 /var/folders/9q/x172b9cs14dbt0nrprfpgpm00000gn/T/arduino_build_548451/sketch_jun09a.ino.vxp 
/Users/arkie/Library/Arduino15/packages/Seeeduino/tools/linkit_tools/1.1.21/PushTool.sh: line 4: 56447 Abort trap: 6           "$DIR/PushTool" -d arduino -b $1 -p $2
An error occurred while uploading the sketch

Based on that wiki it seems like it may require flashing first, but I didn't see instructions for doing so from MacOS?

jerryyip commented 7 years ago

Typical trap 6 error on OSX, cause by too long kernel runtime. It is fine on my macOS Sierra. You could try to update your system, or try to use linkitone push tool for OSX. https://docs.labs.mediatek.com/resource/linkit-one/en/getting-started/get-started-on-os-x/install-the-arduino-ide-and-linkit-one-sdk-on-os-x

arkie commented 7 years ago

Interesting - AFAIK I should be running be running the latest (10.12.5), but will try out that port driver (and separately https://github.com/Seeed-Studio/CodeLite_for_RePhone/wiki/building-RePhone-applications-on-Mac-OS-X in case that doesn't work) and re-open if still wonky.

Thanks!