Due to high demand expect some shipping delays at this time, orders may not ship for 1-2 business days.
0

Adafruit 1.3" and 1.54" 240x240 Wide Angle TFT LCD Displays
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Adafruit 1.3" and 1.54" 240x240 Wide Angle TFT LCD Displays

by bp2e on Tue Nov 23, 2021 1:17 pm

Total Noob, btw

Order No 2704042-4475972244, 5 Nov 21
Adafruit 1.54" 240x240 Wide Angle TFT LCD Display with MicroSD (ST7789)
Adafruit METRO M0 Express - designed for CircuitPython (ATSAMD21G18)
Mac OS 11.6, Arduino IDE 1.8.16

Working through https://learn.adafruit.com/adafruit-1-3 ... iring-test

Libraries loaded. Board and port selected.
Screen Shot 2021-11-23 at 10.47.32 AM.png
Screen Shot 2021-11-23 at 10.47.32 AM.png (58.83 KiB) Viewed 346 times

Screen Shot 2021-11-23 at 10.58.37 AM.png
Screen Shot 2021-11-23 at 10.58.37 AM.png (90.45 KiB) Viewed 346 times


Sketch edited as instructed



I've reached: "Now upload the sketch to your Arduino. You may need to press the Reset button to reset the arduino and TFT. You should see a collection of graphical tests draw out on the TFT." but when upload is attempted...

Compiling appears to go fine, then the board is disconnected and:


Arduino: 1.8.16 (Mac OS X), Board: "Adafruit Metro M0 Express, Small (-Os) (standard), Arduino, On"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/brad/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/brad/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/brad/Documents/Arduino/libraries -fqbn=adafruit:samd:adafruit_metro_m0:opt=small,usbstack=arduino,debug=on -vid-pid=239A_8014 -ide-version=10816 -build-path /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321 -warnings=all -build-cache /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_cache_395908 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.bossac.path=/Users/brad/Library/Arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.bossac-1.8.0-48-gb176eee.path=/Users/brad/Library/Arduino15/packages/arduino/tools/bossac/1.8.0-48-gb176eee -prefs=runtime.tools.arduinoOTA.path=/Users/brad/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=/Users/brad/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=/Users/brad/Library/Arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.CM5IS.path=/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0 -prefs=runtime.tools.CM5IS-5.4.0.path=/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Users/brad/Library/Arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4 -prefs=runtime.tools.arm-none-eabi-gcc-9-2019q4.path=/Users/brad/Library/Arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4 -prefs=runtime.tools.CM5IS-Atmel.path=/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS-Atmel/1.2.2 -prefs=runtime.tools.CM5IS-Atmel-1.2.2.path=/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5S-Atmel/1.2.2 -prefs=runtime.tools.openocd.path=/Users/brad/Library/Arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=/Users/brad/Library/Arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -verbose /Users/brad/Documents/Arduino/graphicstest_1122/graphicstest_1122.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/brad/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/brad/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/brad/Documents/Arduino/libraries -fqbn=adafruit:samd:adafruit_metro_m0:opt=small,usbstack=arduino,debug=on -vid-pid=239A_8014 -ide-version=10816 -build-path /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321 -warnings=all -build-cache /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_cache_395908 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.bossac.path=/Users/brad/Library/Arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.bossac-1.8.0-48-gb176eee.path=/Users/brad/Library/Arduino15/packages/arduino/tools/bossac/1.8.0-48-gb176eee -prefs=runtime.tools.arduinoOTA.path=/Users/brad/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=/Users/brad/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=/Users/brad/Library/Arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.CM5IS.path=/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0 -prefs=runtime.tools.CM5IS-5.4.0.path=/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Users/brad/Library/Arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4 -prefs=runtime.tools.arm-none-eabi-gcc-9-2019q4.path=/Users/brad/Library/Arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4 -prefs=runtime.tools.CM5IS-Atmel.path=/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS-Atmel/1.2.2 -prefs=runtime.tools.CM5IS-Atmel-1.2.2.path=/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS-Atmel/1.2.2 -prefs=runtime.tools.openocd.path=/Users/brad/Library/Arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=/Users/brad/Library/Arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -verbose /Users/brad/Documents/Arduino/graphicstest_1122/graphicstest_1122.ino
Using board 'adafruit_metro_m0' from platform in folder: /Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5
Using core 'arduino' from platform in folder: /Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5
Detecting libraries used...
/Users/brad/Library/Arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__=\"\"\"graphicstest_1122.ino\"\"\"" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10816 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ADAFRUIT -D__SAMD21G18A__ -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DADAFRUIT_METRO_M0_EXPRESS -DUSB_VID=0x239A -DUSB_PID=0x8013 -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Metro M0 Express\"" -g -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_TinyUSB_Arduino/src/arduino -g -Os -D__SAMD21G18A__ -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DADAFRUIT_METRO_M0_EXPRESS -DUSB_VID=0x239A -DUSB_PID=0x8013 -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Metro M0 Express\"" -g -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_TinyUSB_Arduino/src/arduino -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0/CM5IS/Core/Include/ -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0/CM5IS/DSP/Include/ -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS-Atmel/1.2.2/CM5IS/Device/ATMEL/ -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/cores/arduino -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/variants/metro_m0 /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/sketch/graphicstest_1122.ino.cpp -o /dev/null
Alternatives for Adafruit_GFX.h: [Adafruit_GFX_Library@1.10.12]
ResolveLibrary(Adafruit_GFX.h)
-> candidates: [Adafruit_GFX_Library@1.10.12]
/Users/brad/Library/Arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__=\"\"\"graphicstest_1122.ino\"\"\"" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10816 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ADAFRUIT -D__SAMD21G18A__ -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DADAFRUIT_METRO_M0_EXPRESS -DUSB_VID=0x239A -DUSB_PID=0x8013 -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Metro M0 Express\"" -g -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_TinyUSB_Arduino/src/arduino -g -Os -D__SAMD21G18A__ -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DADAFRUIT_METRO_M0_EXPRESS -DUSB_VID=0x239A -DUSB_PID=0x8013 -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Metro M0 Express\"" -g -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_TinyUSB_Arduino/src/arduino -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0/CM5IS/Core/Include/ -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0/CM5IS/DSP/Include/ -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS-Atmel/1.2.2/CM5IS/Device/ATMEL/ -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/cores/arduino -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/variants/metro_m0 -I/Users/brad/Documents/Arduino/libraries/Adafruit_GFX_Library /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/sketch/graphicstest_1122.ino.cpp -o /dev/null
Alternatives for Adafruit_ST7735.h: [Adafruit_ST7735_and_ST7789_Library@1.7.5]
ResolveLibrary(Adafruit_ST7735.h)
-> candidates: [Adafruit_ST7735_and_ST7789_Library@1.7.5]
/Users/brad/Library/Arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__=\"\"\"graphicstest_1122.ino\"\"\"" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10816 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ADAFRUIT -D__SAMD21G18A__ -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DADAFRUIT_METRO_M0_EXPRESS -DUSB_VID=0x239A -DUSB_PID=0x8013 -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Metro M0 Express\"" -g -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_TinyUSB_Arduino/src/arduino -g -Os -D__SAMD21G18A__ -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DADAFRUIT_METRO_M0_EXPRESS -DUSB_VID=0x239A -DUSB_PID=0x8013 -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Metro M0 Express\"" -g -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_TinyUSB_Arduino/src/arduino -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0/CM5IS/Core/Include/ -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0/CM5IS/DSP/Include/ -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS-Atmel/1.2.2/CM5IS/Device/ATMEL/ -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/cores/arduino -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/variants/metro_m0 -I/Users/brad/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/brad/Documents/Arduino/libraries/Adafruit_ST7735_and_ST7789_Library /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/sketch/graphicstest_1122.ino.cpp -o /dev/null
Alternatives for SPI.h: [SPI@1.0]
ResolveLibrary(SPI.h)
-> candidates: [SPI@1.0]
/Users/brad/Library/Arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__=\"\"\"graphicstest_1122.ino\"\"\"" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10816 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ADAFRUIT -D__SAMD21G18A__ -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DADAFRUIT_METRO_M0_EXPRESS -DUSB_VID=0x239A -DUSB_PID=0x8013 -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Metro M0 Express\"" -g -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_TinyUSB_Arduino/src/arduino -g -Os -D__SAMD21G18A__ -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DADAFRUIT_METRO_M0_EXPRESS -DUSB_VID=0x239A -DUSB_PID=0x8013 -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Metro M0 Express\"" -g -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_TinyUSB_Arduino/src/arduino -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0/CM5IS/Core/Include/ -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0/CM5IS/DSP/Include/ -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS-Atmel/1.2.2/CM5IS/Device/ATMEL/ -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/cores/arduino -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/variants/metro_m0 -I/Users/brad/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/brad/Documents/Arduino/libraries/Adafruit_ST7735_and_ST7789_Library -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/SPI /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/sketch/graphicstest_1122.ino.cpp -o /dev/null
Alternatives for Adafruit_ZeroDMA.h: [Adafruit_ZeroDMA@1.1.0]
ResolveLibrary(Adafruit_ZeroDMA.h)
-> candidates: [Adafruit_ZeroDMA@1.1.0]
/Users/brad/Library/Arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__=\"\"\"graphicstest_1122.ino\"\"\"" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10816 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ADAFRUIT -D__SAMD21G18A__ -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DADAFRUIT_METRO_M0_EXPRESS -DUSB_VID=0x239A -DUSB_PID=0x8013 -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Metro M0 Express\"" -g -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_TinyUSB_Arduino/src/arduino -g -Os -D__SAMD21G18A__ -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DADAFRUIT_METRO_M0_EXPRESS -DUSB_VID=0x239A -DUSB_PID=0x8013 -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Metro M0 Express\"" -g -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_TinyUSB_Arduino/src/arduino -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0/CM5IS/Core/Include/ -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0/CM5IS/DSP/Include/ -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS-Atmel/1.2.2/CM5IS/Device/ATMEL/ -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/cores/arduino -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/variants/metro_m0 -I/Users/brad/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/brad/Documents/Arduino/libraries/Adafruit_ST7735_and_ST7789_Library -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/SPI -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_ZeroDMA /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/sketch/graphicstest_1122.ino.cpp -o /dev/null
Using cached library dependencies for file: /Users/brad/Documents/Arduino/libraries/Adafruit_GFX_Library/Adafruit_GFX.cpp
Using cached library dependencies for file: /Users/brad/Documents/Arduino/libraries/Adafruit_GFX_Library/Adafruit_GrayOLED.cpp
Alternatives for Adafruit_I2CDevice.h: [Adafruit_BusIO@1.9.6]
ResolveLibrary(Adafruit_I2CDevice.h)
-> candidates: [Adafruit_BusIO@1.9.6]
Alternatives for Wire.h: [Wire@1.0]
ResolveLibrary(Wire.h)
-> candidates: [Wire@1.0]
Using cached library dependencies for file: /Users/brad/Documents/Arduino/libraries/Adafruit_GFX_Library/Adafruit_SPITFT.cpp
Using cached library dependencies for file: /Users/brad/Documents/Arduino/libraries/Adafruit_GFX_Library/glcdfont.c
Using cached library dependencies for file: /Users/brad/Documents/Arduino/libraries/Adafruit_ST7735_and_ST7789_Library/Adafruit_ST7735.cpp
Using cached library dependencies for file: /Users/brad/Documents/Arduino/libraries/Adafruit_ST7735_and_ST7789_Library/Adafruit_ST7789.cpp
Using cached library dependencies for file: /Users/brad/Documents/Arduino/libraries/Adafruit_ST7735_and_ST7789_Library/Adafruit_ST77xx.cpp
Using cached library dependencies for file: /Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/SPI/SPI.cpp
Using cached library dependencies for file: /Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_ZeroDMA/Adafruit_ZeroDMA.cpp
Using cached library dependencies for file: /Users/brad/Documents/Arduino/libraries/Adafruit_BusIO/Adafruit_BusIO_Register.cpp
Using cached library dependencies for file: /Users/brad/Documents/Arduino/libraries/Adafruit_BusIO/Adafruit_I2CDevice.cpp
Using cached library dependencies for file: /Users/brad/Documents/Arduino/libraries/Adafruit_BusIO/Adafruit_SPIDevice.cpp
Using cached library dependencies for file: /Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Wire/Wire.cpp
Generating function prototypes...
/Users/brad/Library/Arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__=\"\"\"graphicstest_1122.ino\"\"\"" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10816 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ADAFRUIT -D__SAMD21G18A__ -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DADAFRUIT_METRO_M0_EXPRESS -DUSB_VID=0x239A -DUSB_PID=0x8013 -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Metro M0 Express\"" -g -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_TinyUSB_Arduino/src/arduino -g -Os -D__SAMD21G18A__ -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DADAFRUIT_METRO_M0_EXPRESS -DUSB_VID=0x239A -DUSB_PID=0x8013 -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Metro M0 Express\"" -g -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_TinyUSB_Arduino/src/arduino -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0/CM5IS/Core/Include/ -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0/CM5IS/DSP/Include/ -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS-Atmel/1.2.2/CM5IS/Device/ATMEL/ -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/cores/arduino -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/variants/metro_m0 -I/Users/brad/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/brad/Documents/Arduino/libraries/Adafruit_ST7735_and_ST7789_Library -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/SPI -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_ZeroDMA -I/Users/brad/Documents/Arduino/libraries/Adafruit_BusIO -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Wire /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/sketch/graphicstest_1122.ino.cpp -o /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/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/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/Users/brad/Library/Arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -Wall -Wextra -Wno-expansion-to-defined -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD "-D__SKETCH_NAME__=\"\"\"graphicstest_1122.ino\"\"\"" -DF_CPU=48000000L -DARDUINO=10816 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ADAFRUIT -D__SAMD21G18A__ -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DADAFRUIT_METRO_M0_EXPRESS -DUSB_VID=0x239A -DUSB_PID=0x8013 -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Metro M0 Express\"" -g -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_TinyUSB_Arduino/src/arduino -g -Os -D__SAMD21G18A__ -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DADAFRUIT_METRO_M0_EXPRESS -DUSB_VID=0x239A -DUSB_PID=0x8013 -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER=\"Adafruit\"" "-DUSB_PRODUCT=\"Metro M0 Express\"" -g -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_TinyUSB_Arduino/src/arduino -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0/CM5IS/Core/Include/ -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0/CM5IS/DSP/Include/ -I/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS-Atmel/1.2.2/CM5IS/Device/ATMEL/ -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/cores/arduino -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/variants/metro_m0 -I/Users/brad/Documents/Arduino/libraries/Adafruit_GFX_Library -I/Users/brad/Documents/Arduino/libraries/Adafruit_ST7735_and_ST7789_Library -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/SPI -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_ZeroDMA -I/Users/brad/Documents/Arduino/libraries/Adafruit_BusIO -I/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Wire /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/sketch/graphicstest_1122.ino.cpp -o /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/sketch/graphicstest_1122.ino.cpp.o
/Users/brad/Documents/Arduino/graphicstest_1122/graphicstest_1122.ino: In function 'void setup()':
/Users/brad/Documents/Arduino/graphicstest_1122/graphicstest_1122.ino:81:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
81 | testdrawtext("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur adipiscing ante sed nibh tincidunt feugiat. Maecenas enim massa, fringilla sed malesuada et, malesuada sit amet turpis. Sed porttitor neque ut ante pretium vitae malesuada nunc bibendum. Nullam aliquet ultrices massa eu hendrerit. Ut sed nisi lorem. In vestibulum purus a tortor imperdiet posuere. ", ST77XX_WHITE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling libraries...
Compiling library "Adafruit_GFX_Library"
Using previously compiled file: /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_GFX_Library/glcdfont.c.o
Using previously compiled file: /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_GFX_Library/Adafruit_SPITFT.cpp.o
Using previously compiled file: /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_GFX_Library/Adafruit_GFX.cpp.o
Using previously compiled file: /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_GFX_Library/Adafruit_GrayOLED.cpp.o
Compiling library "Adafruit_ST7735_and_ST7789_Library"
Using previously compiled file: /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_ST7735_and_ST7789_Library/Adafruit_ST7789.cpp.o
Using previously compiled file: /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_ST7735_and_ST7789_Library/Adafruit_ST77xx.cpp.o
Using previously compiled file: /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_ST7735_and_ST7789_Library/Adafruit_ST7735.cpp.o
Compiling library "SPI"
Using previously compiled file: /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/SPI/SPI.cpp.o
Compiling library "Adafruit_ZeroDMA"
Using previously compiled file: /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_ZeroDMA/Adafruit_ZeroDMA.cpp.o
Compiling library "Adafruit_BusIO"
Using previously compiled file: /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_BusIO/Adafruit_I2CDevice.cpp.o
Using previously compiled file: /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_BusIO/Adafruit_SPIDevice.cpp.o
Using previously compiled file: /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_BusIO/Adafruit_BusIO_Register.cpp.o
Compiling library "Wire"
Using previously compiled file: /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Wire/Wire.cpp.o
Compiling core...
Using previously compiled file: /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/core/variant.cpp.o
Using precompiled core: /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_cache_395908/core/core_656e8b38791d5478e33b15752622d48b.a
Linking everything together...
/Users/brad/Library/Arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-g++ -L/var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321 -Os -Wl,--gc-sections -save-temps -T/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/variants/metro_m0/linker_scripts/gcc/flash_with_bootloader.ld -Wl,-Map,/var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/graphicstest_1122.ino.map --specs=nano.specs --specs=nosys.specs -mcpu=cortex-m0plus -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -o /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/graphicstest_1122.ino.elf /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/sketch/graphicstest_1122.ino.cpp.o /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_GFX_Library/glcdfont.c.o /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_GFX_Library/Adafruit_GFX.cpp.o /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_GFX_Library/Adafruit_GrayOLED.cpp.o /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_GFX_Library/Adafruit_SPITFT.cpp.o /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_ST7735_and_ST7789_Library/Adafruit_ST7735.cpp.o /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_ST7735_and_ST7789_Library/Adafruit_ST7789.cpp.o /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_ST7735_and_ST7789_Library/Adafruit_ST77xx.cpp.o /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/SPI/SPI.cpp.o /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_ZeroDMA/Adafruit_ZeroDMA.cpp.o /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_BusIO/Adafruit_BusIO_Register.cpp.o /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_BusIO/Adafruit_I2CDevice.cpp.o /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Adafruit_BusIO/Adafruit_SPIDevice.cpp.o /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/libraries/Wire/Wire.cpp.o /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/core/variant.cpp.o -Wl,--start-group -L/Users/brad/Library/Arduino15/packages/adafruit/tools/CM5IS/5.4.0/CM5IS/Lib/GCC/ -larm_cortexM0l_math -L/Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/variants/metro_m0 -lm /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/../arduino_cache_395908/core/core_656e8b38791d5478e33b15752622d48b.a -Wl,--end-group
/Users/brad/Library/Arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-objcopy -O binary /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/graphicstest_1122.ino.elf /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/graphicstest_1122.ino.bin
/Users/brad/Library/Arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-objcopy -O ihex -R .eeprom /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/graphicstest_1122.ino.elf /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/graphicstest_1122.ino.hex
Using library Adafruit_GFX_Library at version 1.10.12 in folder: /Users/brad/Documents/Arduino/libraries/Adafruit_GFX_Library
Using library Adafruit_ST7735_and_ST7789_Library at version 1.7.5 in folder: /Users/brad/Documents/Arduino/libraries/Adafruit_ST7735_and_ST7789_Library
Using library SPI at version 1.0 in folder: /Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/SPI
Using library Adafruit_ZeroDMA at version 1.1.0 in folder: /Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Adafruit_ZeroDMA
Using library Adafruit_BusIO at version 1.9.6 in folder: /Users/brad/Documents/Arduino/libraries/Adafruit_BusIO
Using library Wire at version 1.0 in folder: /Users/brad/Library/Arduino15/packages/adafruit/hardware/samd/1.7.5/libraries/Wire
/Users/brad/Library/Arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-size -A /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/graphicstest_1122.ino.elf
Sketch uses 38800 bytes (14%) of program storage space. Maximum is 262144 bytes.
Forcing reset using 1200bps open/close on port /dev/cu.usbmodem301
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem301, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem301, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem301, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem301, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem301, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem301, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/tty.Bluetooth-Incoming-Port, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/tty.Bluetooth-Incoming-Port, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodem301, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodem301, } => {/dev/cu.usbmodem301, /dev/tty.usbmodem301, }
Found upload port: /dev/cu.usbmodem301
/Users/brad/Library/Arduino15/packages/arduino/tools/bossac/1.7.0-arduino3/bossac -i -d --port=cu.usbmodem301 -U true -i -e -w -v /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_488321/graphicstest_1122.ino.bin -R
No device found on cu.usbmodem301
Set binary mode
Send auto-baud
Set binary mode
An error occurred while uploading the sketch


Cycling LED fixes Green, Red LED adjacent USB pulses

I SHOULD see, but I don't see. Have looked through various posts on the Metro Express both in the forums and in the wild, but am unable to find anything that helps me proceed, Any suggestions would be welcomed.
Thanks.

bp2e
 
Posts: 7
Joined: Wed Nov 17, 2021 11:59 pm

Re: Adafruit 1.3" and 1.54" 240x240 Wide Angle TFT LCD Displ

by adafruit_support_carter on Tue Nov 23, 2021 6:37 pm

Disconnect anything connected to the Metro M0. And then see if you can upload the basic Blink example:
https://learn.adafruit.com/adafruit-met ... 2854174-21

adafruit_support_carter
 
Posts: 21916
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit 1.3" and 1.54" 240x240 Wide Angle TFT LCD Displ

by bp2e on Tue Nov 23, 2021 8:08 pm

OK. Tried BLINK program as instructed.

Exact same response: board disconnects from Mac after compile, and then the error statement.

Also tried same on Arduino UNO (after modding board and port in IDE Tools). Same response.

bp2e
 
Posts: 7
Joined: Wed Nov 17, 2021 11:59 pm

Re: Adafruit 1.3" and 1.54" 240x240 Wide Angle TFT LCD Displ

by adafruit_support_carter on Tue Nov 23, 2021 8:13 pm

The fact that it's happening with an UNO also would seem to indicate something on the Mac is interfering.

Do you have access to another PC to try? That'd be the easiest next thing to try.

adafruit_support_carter
 
Posts: 21916
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit 1.3" and 1.54" 240x240 Wide Angle TFT LCD Displ

by bp2e on Tue Nov 23, 2021 10:46 pm

Tried another Mac (all Macs here).

fork/exec /Users/brad/Library/Arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-g++: no such file or directory
Error compiling for board Adafruit Metro M0 Express.

At this point I'll wish you a nice holiday and will be back next week after looking at this some more. I suspect I missed a config step.

Thanks!

bp2e
 
Posts: 7
Joined: Wed Nov 17, 2021 11:59 pm

Re: Adafruit 1.3" and 1.54" 240x240 Wide Angle TFT LCD Displ

by adafruit_support_carter on Wed Nov 24, 2021 11:40 am

That looks like the Board Support Package has not been installed for that Mac.

adafruit_support_carter
 
Posts: 21916
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit 1.3" and 1.54" 240x240 Wide Angle TFT LCD Displ

by bp2e on Tue Nov 30, 2021 10:14 pm

Carter -

Picked up a stock Arduino UNO. I am able to connect to it and upload successfully. "Blink" runs just fine. Added a serial.print command (Hello!) and the serial monitor reports back as expected.

Tried the same routine with the Metro express. [Adafruit Metro MO Express board, dev/usbmodem301 port.
the IDE returns:
    ...
    Found upload port: /dev/cu.usbmodem301
    /Users/brad/Library/Arduino15/packages/arduino/tools/bossac/1.7.0-arduino3/bossac -i -d --port=cu.usbmodem301 -U true -i -e -w -v /var/folders/r9/gh7jf9h14mndm5nw6pgwjq1c0000gn/T/arduino_build_683766/blink.ino.bin -R
    No device found on cu.usbmodem301
    Set binary mode
    Send auto-baud
    Set binary mode
    An error occurred while uploading the sketch
MacOS tells me the device was not ejected properly, and from the moment the board is connected, the serial monitor is reporting:
    A1: 1.16 A2 touch: 819
    A1: 1.37 A2 touch: 819
    A1: 1.39 A2 touch: 819
    A1: 1.54 A2 touch: 819
    A1: 1.49 A2 touch: 818
    A1: 1.46 A2 touch: 819
    A1: 1.16 A2 touch: 820
    A1: 1.39 A2 touch: 818
    A1: 1.46 A2 touch: 818
    A1: 1.46 A2 touch: 818
    A1: 1.46 A2 touch: 820
    A1: 1.47 A2 touch: 822
    A1: 1.31 A2 touch: 820
    A1: 1.00 A2 touch: 821
    A1: 1.36 A2 touch: 821
    A1: 1.45 A2 touch: 823
    A1: 1.31 A2 touch: 823
    ...

That's where I am today. Thoughts?

bp2e
 
Posts: 7
Joined: Wed Nov 17, 2021 11:59 pm

Re: Adafruit 1.3" and 1.54" 240x240 Wide Angle TFT LCD Displ

by adafruit_support_carter on Thu Dec 02, 2021 12:38 pm

Try double pressing the reset button on the Metro to get into bootloader mode. You should see a BOOT folder show up. In that mode, double check the COM port selection in the Arduino IDE and try uploading the sketch again.

adafruit_support_carter
 
Posts: 21916
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit 1.3" and 1.54" 240x240 Wide Angle TFT LCD Displ

by bp2e on Thu Dec 02, 2021 7:04 pm

Well, something has changed, but I'm not sure what. I am now seeing the Metro express port - which I didn't before.
Screen Shot 2021-12-02 at 12.46.41 PM.png
Screen Shot 2021-12-02 at 12.46.41 PM.png (89.95 KiB) Viewed 95 times

and am able to get board info.
Screen Shot 2021-12-02 at 12.46.25 PM.png
Screen Shot 2021-12-02 at 12.46.25 PM.png (26.95 KiB) Viewed 95 times

Double-pressing the reset turns three LEDs on constant. I don't see the boot folder referenced anywhere, and the board isn't showing up on the desktop.
Loading Blink returns:
    Arduino: 1.8.16 (Mac OS X), Board: "Adafruit Metro M0 Express, Small (-Os) (standard), Arduino, Off"
    Sketch uses 10544 bytes (4%) of program storage space. Maximum is 262144 bytes.
    No device found on cu.usbmodem301
    An error occurred while uploading the sketch

Resetting, circuitpy shows on the desktop, with the following inside:
Screen Shot 2021-12-02 at 12.54.51 PM.png
Screen Shot 2021-12-02 at 12.54.51 PM.png (13.38 KiB) Viewed 95 times

Loading Blink returns the following errors
    No device found on cu.usbmodem301
    Set binary mode
    Send auto-baud
    Set binary mode
    An error occurred while uploading the sketch
    processing.app.SerialException: Error opening serial port '/dev/cu.usbmodem301'.
    at processing.app.Serial.<init>(Serial.java:152)
    at processing.app.Serial.<init>(Serial.java:82)
    at processing.app.SerialMonitor$2.<init>(SerialMonitor.java:132)
    at processing.app.SerialMonitor.open(SerialMonitor.java:132)
    at processing.app.AbstractMonitor.resume(AbstractMonitor.java:132)
    at processing.app.Editor.resumeOrCloseSerialMonitor(Editor.java:2126)
    at processing.app.Editor.access$1300(Editor.java:116)
    at processing.app.Editor$UploadHandler.run(Editor.java:2095)
    at java.lang.Thread.run(Thread.java:748)
    Caused by: jssc.SerialPortException: Port name - /dev/cu.usbmodem301; Method name - openPort(); Exception type - Port not found.
    at jssc.SerialPort.openPort(SerialPort.java:167)
    at processing.app.Serial.<init>(Serial.java:141)
    ... 8 more
    Error opening serial port '/dev/cu.usbmodem301'.

Note: I get board info after double-pressing, but lose it after a reset. A reset at any point will cause the A2 touch to scroll on the monitor. Should it be cycling that?

(Meantime, I've gotten the referenced build to work on the uno, and cycle 50 images.)

bp2e
 
Posts: 7
Joined: Wed Nov 17, 2021 11:59 pm

Re: Adafruit 1.3" and 1.54" 240x240 Wide Angle TFT LCD Displ

by adafruit_support_carter on Thu Dec 02, 2021 8:16 pm

Double-pressing the reset turns three LEDs on constant.

At this point, what color is the NeoPixel? It's the larger RGB LED near the reset button labeled as 40.

adafruit_support_carter
 
Posts: 21916
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit 1.3" and 1.54" 240x240 Wide Angle TFT LCD Displ

by bp2e on Thu Dec 02, 2021 10:31 pm

Solid primary green.

IMG_1259.jpeg
IMG_1259.jpeg (506.21 KiB) Viewed 86 times

bp2e
 
Posts: 7
Joined: Wed Nov 17, 2021 11:59 pm

Re: Adafruit 1.3" and 1.54" 240x240 Wide Angle TFT LCD Displ

by adafruit_support_carter on Fri Dec 03, 2021 1:05 pm

Thanks. That is the expected behavior. From the point of view of the Metro, it's seeing your host PC's USB OK and has entered bootloader mode. The bootloader is driving the NeoPixel green to indicate "OK". It'd be red if there had been an issue.

So the question now is - why aren't you seeing the BOOT folder show up?

Do you have access to a second PC you could use for testing?

adafruit_support_carter
 
Posts: 21916
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit 1.3" and 1.54" 240x240 Wide Angle TFT LCD Displ

by bp2e on Fri Dec 03, 2021 1:29 pm

I'll ask my son to try it on his Thinkpad, and let you know.

Thanks.

bp2e
 
Posts: 7
Joined: Wed Nov 17, 2021 11:59 pm

Please be positive and constructive with your questions and comments.