golden
May 11, 2020, 6:45pm
#1
First off: cool product. I can see potential, however I wish for more docs with clearer examples (maybe I should write some?).
Unfortunately, I have bricked my Wio Terminal. How can I unbrick it?
My last aip flash
did not complete successfully. Since then, Wio Terminal is a brick.
Green light comes on, but no USB connection.
“double-clicking” the on button does nothing special.
Not sure what to do next.
Any ideas?
Try double clicking the power switch very quickly, the Blue led should blink up in a way like this:
and see if usb port appears.
golden
May 12, 2020, 2:30am
#4
I see blue light flashing, but no USB connection.
$ aip board
ERROR: Sorry, the device you should have is not plugged in.
Hi @golden ,
when blue light flashing, flash an Arduino Program into it first.
Ley say, flash a Blink example into the Wio Terminal first. Then, can use aip tp flash the ardupy firmware.
golden
May 12, 2020, 4:53am
#6
USB is not working.
How do I flash, if I cannot connect via USB?
when double clicking, can you see this:
golden
May 12, 2020, 7:32am
#8
I am on a Mac.
I do not see /dev/cu.usbmodem401301 as I did earlier - before flash.
This was flash error:
wio-terminal aip list
Package Version Location
------------------------------ ------- ------------------------------------------------------------------
seeed-ardupy-ultrasonic-sensor 1.0.0 https://github.com/Seeed-Studio/seeed-ardupy-ultrasonic-sensor.git /7.1s
➜ wio-terminal aip build
QSTR updated
/Users/golden/.config/aip/ardupycore/Seeeduino/tools/arm-none-eabi-gcc/bin/arm-none-eabi-gcc -DARDUINO=10810 -DARDUINO_ARCH_SAMD -DWIO_TERMINAL -DARDUPY_MODULE -DARM_MATH_CM4 -DENABLE_CACHE -DF_CPU=120000000L -DUSBCON -DUSB_CONFIG_POWER=100 -DUSB_MANUFACTURER="Seeed Studio" -DUSB_PID=0x802D -DUSB_PRODUCT="Seeed Grove UI Wireles" -DUSB_VID=0x2886 -DVARIANT_QSPI_BAUD_DEFAULT=50000000 -D__FPU_PRESENT -D__SAMD51P19A__ -D__SAMD51__ -I/Users/golden/.config/aip/ardupycore/ArduPy -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython/lib/lwip/src/include -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython/extmod/lwip-include -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino/Adafruit_TinyUSB_Core/tinyusb/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino/Adafruit_TinyUSB_Core -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/Wire -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/SPI -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/Adafruit_ZeroDMA -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/variants/grove_ui_wireless -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/core/arduino/USB -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/HID -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/USBHost/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/SAMD_AnalogCorrection/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/tools/CMSIS/4.5.0/CMSIS/Include -I/Users/golden/.config/aip/ardupycore/Seeeduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL -I/Users/golden/.config/aip/ardupycore/ArduPy/boards/wio_terminal -I/Users/golden/.config/aip/modules/seeed-ardupy-ultrasonic-sensor -I/Users/golden/.config/aip/modules/seeed-ardupy-ultrasonic-sensor/Seeed_Arduino_UltrasonicSensor -I/var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri -mcpu=cortex-m4 -mthumb -c -g -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MMD -g -Wall -Werror -Wpointer-arith -Wuninitialized -Wno-unused-label -U_FORTIFY_SOURCE -Os -o /var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri/foantcyemod_ardupy_ultrasonic_sensor.c.o -c /Users/golden/.config/aip/modules/seeed-ardupy-ultrasonic-sensor/mod_ardupy_ultrasonic_sensor.c
/Users/golden/.config/aip/ardupycore/Seeeduino/tools/arm-none-eabi-gcc/bin/arm-none-eabi-g++ -DARDUINO=10810 -DARDUINO_ARCH_SAMD -DWIO_TERMINAL -DARDUPY_MODULE -DARM_MATH_CM4 -DENABLE_CACHE -DF_CPU=120000000L -DUSBCON -DUSB_CONFIG_POWER=100 -DUSB_MANUFACTURER="Seeed Studio" -DUSB_PID=0x802D -DUSB_PRODUCT="Seeed Grove UI Wireles" -DUSB_VID=0x2886 -DVARIANT_QSPI_BAUD_DEFAULT=50000000 -D__FPU_PRESENT -D__SAMD51P19A__ -D__SAMD51__ -I/Users/golden/.config/aip/ardupycore/ArduPy -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython/lib/lwip/src/include -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython/extmod/lwip-include -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino/Adafruit_TinyUSB_Core/tinyusb/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino/Adafruit_TinyUSB_Core -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/Wire -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/SPI -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/Adafruit_ZeroDMA -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/variants/grove_ui_wireless -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/core/arduino/USB -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/HID -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/USBHost/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/SAMD_AnalogCorrection/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/tools/CMSIS/4.5.0/CMSIS/Include -I/Users/golden/.config/aip/ardupycore/Seeeduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL -I/Users/golden/.config/aip/ardupycore/ArduPy/boards/wio_terminal -I/Users/golden/.config/aip/modules/seeed-ardupy-ultrasonic-sensor -I/Users/golden/.config/aip/modules/seeed-ardupy-ultrasonic-sensor/Seeed_Arduino_UltrasonicSensor -I/var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri -mcpu=cortex-m4 -mthumb -c -g -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MMD -g -fno-rtti -fno-exceptions -fno-threadsafe-statics -g -Wall -Werror -Wpointer-arith -Wuninitialized -Wno-unused-label -std=gnu99 -U_FORTIFY_SOURCE -Os -o /var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri/oxtbkgdqwrapper_ultrasonic_sensor_hal.cpp.o -c /Users/golden/.config/aip/modules/seeed-ardupy-ultrasonic-sensor/wrapper_ultrasonic_sensor_hal.cpp
/Users/golden/.config/aip/ardupycore/Seeeduino/tools/arm-none-eabi-gcc/bin/arm-none-eabi-g++ -DARDUINO=10810 -DARDUINO_ARCH_SAMD -DWIO_TERMINAL -DARDUPY_MODULE -DARM_MATH_CM4 -DENABLE_CACHE -DF_CPU=120000000L -DUSBCON -DUSB_CONFIG_POWER=100 -DUSB_MANUFACTURER="Seeed Studio" -DUSB_PID=0x802D -DUSB_PRODUCT="Seeed Grove UI Wireles" -DUSB_VID=0x2886 -DVARIANT_QSPI_BAUD_DEFAULT=50000000 -D__FPU_PRESENT -D__SAMD51P19A__ -D__SAMD51__ -I/Users/golden/.config/aip/ardupycore/ArduPy -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython/lib/lwip/src/include -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython/extmod/lwip-include -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino/Adafruit_TinyUSB_Core/tinyusb/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino/Adafruit_TinyUSB_Core -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/Wire -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/SPI -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/Adafruit_ZeroDMA -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/variants/grove_ui_wireless -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/core/arduino/USB -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/HID -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/USBHost/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/SAMD_AnalogCorrection/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/tools/CMSIS/4.5.0/CMSIS/Include -I/Users/golden/.config/aip/ardupycore/Seeeduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL -I/Users/golden/.config/aip/ardupycore/ArduPy/boards/wio_terminal -I/Users/golden/.config/aip/modules/seeed-ardupy-ultrasonic-sensor -I/Users/golden/.config/aip/modules/seeed-ardupy-ultrasonic-sensor/Seeed_Arduino_UltrasonicSensor -I/var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri -mcpu=cortex-m4 -mthumb -c -g -w -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MMD -g -fno-rtti -fno-exceptions -fno-threadsafe-statics -g -Wall -Werror -Wpointer-arith -Wuninitialized -Wno-unused-label -std=gnu99 -U_FORTIFY_SOURCE -Os -o /var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri/fsjowbnuUltrasonic.cpp.o -c /Users/golden/.config/aip/modules/seeed-ardupy-ultrasonic-sensor/Seeed_Arduino_UltrasonicSensor/Ultrasonic.cpp
/Users/golden/.config/aip/ardupycore/Seeeduino/tools/arm-none-eabi-gcc/bin/arm-none-eabi-gcc -DARDUINO=10810 -DARDUINO_ARCH_SAMD -DWIO_TERMINAL -DARDUPY_MODULE -DARM_MATH_CM4 -DENABLE_CACHE -DF_CPU=120000000L -DUSBCON -DUSB_CONFIG_POWER=100 -DUSB_MANUFACTURER="Seeed Studio" -DUSB_PID=0x802D -DUSB_PRODUCT="Seeed Grove UI Wireles" -DUSB_VID=0x2886 -DVARIANT_QSPI_BAUD_DEFAULT=50000000 -D__FPU_PRESENT -D__SAMD51P19A__ -D__SAMD51__ -I/Users/golden/.config/aip/ardupycore/ArduPy -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython/lib/lwip/src/include -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython/extmod/lwip-include -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino/Adafruit_TinyUSB_Core/tinyusb/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino/Adafruit_TinyUSB_Core -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/Wire -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/SPI -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/Adafruit_ZeroDMA -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/variants/grove_ui_wireless -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/core/arduino/USB -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/HID -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/USBHost/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/SAMD_AnalogCorrection/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/tools/CMSIS/4.5.0/CMSIS/Include -I/Users/golden/.config/aip/ardupycore/Seeeduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL -I/Users/golden/.config/aip/ardupycore/ArduPy/boards/wio_terminal -I/Users/golden/.config/aip/modules/seeed-ardupy-ultrasonic-sensor -I/Users/golden/.config/aip/modules/seeed-ardupy-ultrasonic-sensor/Seeed_Arduino_UltrasonicSensor -I/var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri -mcpu=cortex-m4 -mthumb -c -g -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MMD -g -Wall -Werror -Wpointer-arith -Wuninitialized -Wno-unused-label -U_FORTIFY_SOURCE -Os -o /var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri/leduwjsmobjmodule.c.o -c /Users/golden/.config/aip/ardupycore/ArduPy/MicroPython/py/objmodule.c
/Users/golden/.config/aip/ardupycore/Seeeduino/tools/arm-none-eabi-gcc/bin/arm-none-eabi-gcc -DARDUINO=10810 -DARDUINO_ARCH_SAMD -DWIO_TERMINAL -DARDUPY_MODULE -DARM_MATH_CM4 -DENABLE_CACHE -DF_CPU=120000000L -DUSBCON -DUSB_CONFIG_POWER=100 -DUSB_MANUFACTURER="Seeed Studio" -DUSB_PID=0x802D -DUSB_PRODUCT="Seeed Grove UI Wireles" -DUSB_VID=0x2886 -DVARIANT_QSPI_BAUD_DEFAULT=50000000 -D__FPU_PRESENT -D__SAMD51P19A__ -D__SAMD51__ -I/Users/golden/.config/aip/ardupycore/ArduPy -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython/lib/lwip/src/include -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython/extmod/lwip-include -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino/Adafruit_TinyUSB_Core/tinyusb/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino/Adafruit_TinyUSB_Core -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/Wire -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/SPI -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/Adafruit_ZeroDMA -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/variants/grove_ui_wireless -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/core/arduino/USB -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/HID -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/USBHost/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/SAMD_AnalogCorrection/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/tools/CMSIS/4.5.0/CMSIS/Include -I/Users/golden/.config/aip/ardupycore/Seeeduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL -I/Users/golden/.config/aip/ardupycore/ArduPy/boards/wio_terminal -I/Users/golden/.config/aip/modules/seeed-ardupy-ultrasonic-sensor -I/Users/golden/.config/aip/modules/seeed-ardupy-ultrasonic-sensor/Seeed_Arduino_UltrasonicSensor -I/var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri -mcpu=cortex-m4 -mthumb -c -g -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MMD -g -Wall -Werror -Wpointer-arith -Wuninitialized -Wno-unused-label -U_FORTIFY_SOURCE -Os -o /var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri/fxqrvjwuparse.c.o -c /Users/golden/.config/aip/ardupycore/ArduPy/MicroPython/py/parse.c
/Users/golden/.config/aip/ardupycore/Seeeduino/tools/arm-none-eabi-gcc/bin/arm-none-eabi-gcc -DARDUINO=10810 -DARDUINO_ARCH_SAMD -DWIO_TERMINAL -DARDUPY_MODULE -DARM_MATH_CM4 -DENABLE_CACHE -DF_CPU=120000000L -DUSBCON -DUSB_CONFIG_POWER=100 -DUSB_MANUFACTURER="Seeed Studio" -DUSB_PID=0x802D -DUSB_PRODUCT="Seeed Grove UI Wireles" -DUSB_VID=0x2886 -DVARIANT_QSPI_BAUD_DEFAULT=50000000 -D__FPU_PRESENT -D__SAMD51P19A__ -D__SAMD51__ -I/Users/golden/.config/aip/ardupycore/ArduPy -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython/lib/lwip/src/include -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython/extmod/lwip-include -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino/Adafruit_TinyUSB_Core/tinyusb/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino/Adafruit_TinyUSB_Core -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/Wire -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/SPI -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/Adafruit_ZeroDMA -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/variants/grove_ui_wireless -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/core/arduino/USB -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/HID -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/USBHost/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/SAMD_AnalogCorrection/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/tools/CMSIS/4.5.0/CMSIS/Include -I/Users/golden/.config/aip/ardupycore/Seeeduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL -I/Users/golden/.config/aip/ardupycore/ArduPy/boards/wio_terminal -I/Users/golden/.config/aip/modules/seeed-ardupy-ultrasonic-sensor -I/Users/golden/.config/aip/modules/seeed-ardupy-ultrasonic-sensor/Seeed_Arduino_UltrasonicSensor -I/var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri -mcpu=cortex-m4 -mthumb -c -g -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MMD -g -Wall -Werror -Wpointer-arith -Wuninitialized -Wno-unused-label -U_FORTIFY_SOURCE -Os -o /var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri/hqaefmntqstr.c.o -c /Users/golden/.config/aip/ardupycore/ArduPy/MicroPython/py/qstr.c
/Users/golden/.config/aip/ardupycore/Seeeduino/tools/arm-none-eabi-gcc/bin/arm-none-eabi-gcc -DARDUINO=10810 -DARDUINO_ARCH_SAMD -DWIO_TERMINAL -DARDUPY_MODULE -DARM_MATH_CM4 -DENABLE_CACHE -DF_CPU=120000000L -DUSBCON -DUSB_CONFIG_POWER=100 -DUSB_MANUFACTURER="Seeed Studio" -DUSB_PID=0x802D -DUSB_PRODUCT="Seeed Grove UI Wireles" -DUSB_VID=0x2886 -DVARIANT_QSPI_BAUD_DEFAULT=50000000 -D__FPU_PRESENT -D__SAMD51P19A__ -D__SAMD51__ -I/Users/golden/.config/aip/ardupycore/ArduPy -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython/lib/lwip/src/include -I/Users/golden/.config/aip/ardupycore/ArduPy/MicroPython/extmod/lwip-include -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino/Adafruit_TinyUSB_Core/tinyusb/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/cores/arduino/Adafruit_TinyUSB_Core -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/Wire -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/SPI -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/Adafruit_ZeroDMA -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/variants/grove_ui_wireless -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/core/arduino/USB -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/HID -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/USBHost/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/hardware/samd/1.7.1/libraries/SAMD_AnalogCorrection/src -I/Users/golden/.config/aip/ardupycore/Seeeduino/tools/CMSIS/4.5.0/CMSIS/Include -I/Users/golden/.config/aip/ardupycore/Seeeduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL -I/Users/golden/.config/aip/ardupycore/ArduPy/boards/wio_terminal -I/Users/golden/.config/aip/modules/seeed-ardupy-ultrasonic-sensor -I/Users/golden/.config/aip/modules/seeed-ardupy-ultrasonic-sensor/Seeed_Arduino_UltrasonicSensor -I/var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri -mcpu=cortex-m4 -mthumb -c -g -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MMD -g -Wall -Werror -Wpointer-arith -Wuninitialized -Wno-unused-label -U_FORTIFY_SOURCE -Os -o /var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri/wahfyevd__init__.c.o -c /var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri/__init__.c
/Users/golden/.config/aip/ardupycore/Seeeduino/tools/arm-none-eabi-gcc/bin/arm-none-eabi-gcc -L/Users/golden/.config/aip/ardupycore/Seeeduino/tools/CMSIS/4.5.0/CMSIS/Lib/GCC -Os -Wl,--gc-sections -save-temps -T /Users/golden/.config/aip/ardupycore/ArduPy/boards/wio_terminal/flash_with_bootloader.ld -Wl,-Map,/var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri/firmware.map -Wl,--whole-archive /Users/golden/.config/aip/ardupycore/ArduPy/lib/libmicropython.a -Wl,--no-whole-archive /var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri/foantcyemod_ardupy_ultrasonic_sensor.c.o /var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri/oxtbkgdqwrapper_ultrasonic_sensor_hal.cpp.o /var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri/fsjowbnuUltrasonic.cpp.o /var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri/leduwjsmobjmodule.c.o /var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri/fxqrvjwuparse.c.o /var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri/hqaefmntqstr.c.o /var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri/wahfyevd__init__.c.o -o /var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri/Ardupy --specs=nano.specs --specs=nosys.specs -mcpu=cortex-m4 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--start-group -lm /Users/golden/.config/aip/ardupycore/ArduPy/lib/libarm_cortexM4lf_math.a -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Wl,--end-group
/var/folders/h3/bd3k3jr527vf6_4rdq9h4qw40000gn/T/tmpa51fm6ri/Ardupy :
section size addr
.text 290392 16384
.ramfunc 32 306776
.ARM.exidx 8 306808
.data 432 536870912
.hsram 1024 536871344
.bss 191056 536872368
.ARM.attributes 48 0
.comment 240 0
.debug_info 1600486 0
.debug_abbrev 138683 0
.debug_aranges 21520 0
.debug_ranges 30008 0
.debug_line 212713 0
.debug_str 163071 0
.debug_frame 70816 0
.debug_loc 309661 0
.stab 204 0
.stabstr 441 0
Total 3030835
Firmware path: /Users/golden/.config/aip/deploy/Ardupy.bin
Usage:
aip flash /9.5s
➜ wio-terminal aip flash
Using cached http://files.seeedstudio.com/arduino/tools/x86_64-apple-darwin/bossac-1.8-48-gb176eee-i386-apple-darwin16.1.0.tar.gz (39 kB)
ERROR: Exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 188, in _main
status = self.run(options, args)
File "/usr/local/lib/python3.7/site-packages/aip/flash.py", line 142, in run
stty = self.stty
File "/usr/local/lib/python3.7/site-packages/aip/flash.py", line 97, in stty
return "stty -f " + self.port + " %d"
TypeError: can only concatenate str (not "NoneType") to str /1.1s
➜ wio-terminal aip board
ERROR: Sorry, the device you should have is not plugged in. /0.5s
Since then, it no longer connect via USB.
on a MAC, try this:
ls /dev/cu.*
Still nothing appears?
Normally it should be like this:
lht856
May 12, 2020, 9:02am
#11
I’m sorry that this happened. This may be caused by bootloader damage . Do you have a JLINK device? We will give you a tutorial on how to solve this problem.
golden
May 12, 2020, 9:15am
#12
I do not have a JLINK device. But, I’m sure I can get one.
Will this one work?
https://smile.amazon.com/Segger-J-Link-EDU-mini-Debugger/dp/B0758XRMTF/ref=sr_1_4?dchild=1&keywords=JLINK&qid=1589274776&sr=8-4
What is the best choice for JLINK device to Mac or Linux?
lht856
May 12, 2020, 9:23am
#13
Do you have any other PC devices and do they also not recognize Wio Terminal?
Or does your device recognize other devices?
lht856
May 12, 2020, 9:50am
#14
You can try a quick reset more than twice (for example, four times, six times), and then when you see that the blue LED starts to show the breathing light, it can work normally. Notice, it’s not flashing, it’s breathing
lht856
May 12, 2020, 9:52am
#15
We’re trying to replicate what happened to you.
golden
May 13, 2020, 9:54pm
#16
It works!!!
I used another Mac.
I noticed that the USB port goes up and down - until, I finally connected and flashed.
Seems to work fine, now! … I look forward to playing with it more!!
Thanks for your support!!!
1 Like