Arduino IDE claims upload did not work, but in fact it did. (Same thing happens with PlatformIO.)

Frohne

New member
Hi,
I'm a brand new Teensy 4.1 user and this is my first afternoon trying one out. I am running on Ubuntu and have PlatformIO with VScode installed as well as the Arduino 2.3.2 IDE with Teensyduino installed. I tried uploading a simple blink program. It seems to require me to push the program button in order to upload code. The code I am trying to upload actually does blink the LED with the pattern I programmed. When I upload, I get this message on the Arduino IDE:

```
/home/frohro/.arduino15/packages/teensy/tools/teensy-tools/1.59.0/teensy_size /tmp/arduino/sketches/A850A2D99FF221CD6D395C32B0211167/Blink.ino.elf
Memory Usage on Teensy 4.1:
FLASH: code:9188, data:4040, headers:8272 free for files:8104964
RAM1: variables:4832, code:6496, padding:26272 free for local variables:486688
RAM2: variables:12416 free for malloc/new:511872
/home/frohro/.arduino15/packages/teensy/tools/teensy-tools/1.59.0/stdout_redirect /tmp/arduino/sketches/A850A2D99FF221CD6D395C32B0211167/Blink.ino.lst /home/frohro/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/arm-none-eabi-objdump -d -S -C /tmp/arduino/sketches/A850A2D99FF221CD6D395C32B0211167/Blink.ino.elf

Unable to open /dev/ttyACM1 for reboot request
Often this error is caused by ModemManager mistaking Teensy for a modem.
Make sure you have the latest 00-teensy.rules, or uninstall ModemManager!
Teensy did not respond to a USB-based request to enter program mode.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.
Failed uploading: uploading error: exit status 1
```
If I look at the log in the Teensyduino window and ask for Verbose Information, I get this:
```
17:10:30.293 (reboot 4): usb scan found 1 devices
17:10:30.293 (reboot 4): found Teensy Loader, version 1.59
17:10:30.293 (reboot 4): Sending command: show:arduino_attempt_reboot
17:10:30.294 (loader): remote cmd from 14: "show:arduino_attempt_reboot"
17:10:30.294 (loader): got request to show arduino rebooting message
17:10:30.297 (reboot 4): Sending command: comment: Teensyduino 1.59 - LINUX64 (teensy_reboot)
17:10:30.300 (loader): remote cmd from 14: "comment: Teensyduino 1.59 - LINUX64 (teensy_reboot)"
17:10:30.300 (loader): remote cmd from 14: "status"
17:10:30.341 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:30.341 (reboot 4): do_reset (serial) /dev/ttyACM1
17:10:30.343 (loader): remote cmd from 14: "status"
17:10:30.384 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:30.384 (reboot 4): status read, retry 0
17:10:30.484 (loader): remote cmd from 14: "status"
17:10:30.485 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:30.485 (reboot 4): status read, retry 1
17:10:30.586 (loader): remote cmd from 14: "status"
17:10:30.586 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:30.586 (reboot 4): status read, retry 2
17:10:30.687 (loader): remote cmd from 14: "status"
17:10:30.687 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:30.687 (reboot 4): status read, retry 3
17:10:30.787 (loader): remote cmd from 14: "status"
17:10:30.788 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:30.788 (reboot 4): status read, retry 4
17:10:30.888 (loader): remote cmd from 14: "status"
17:10:30.889 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:30.889 (reboot 4): status read, retry 5
17:10:30.990 (loader): remote cmd from 14: "status"
17:10:30.990 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:30.990 (reboot 4): status read, retry 6
17:10:31.091 (loader): remote cmd from 14: "status"
17:10:31.092 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:31.092 (reboot 4): status read, retry 7
17:10:31.194 (loader): remote cmd from 14: "status"
17:10:31.195 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:31.195 (reboot 4): status read, retry 8
17:10:31.295 (loader): remote cmd from 14: "status"
17:10:31.296 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:31.296 (reboot 4): status read, retry 9
17:10:31.396 (loader): remote cmd from 14: "status"
17:10:31.397 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:31.397 (reboot 4): status read, retry 10
17:10:31.497 (loader): remote cmd from 14: "status"
17:10:31.498 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:31.498 (reboot 4): status read, retry 11
17:10:31.599 (loader): remote cmd from 14: "status"
17:10:31.599 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:31.599 (reboot 4): status read, retry 12
17:10:31.700 (loader): remote cmd from 14: "status"
17:10:31.700 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:31.700 (reboot 4): status read, retry 13
17:10:31.801 (loader): remote cmd from 14: "status"
17:10:31.802 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:31.802 (reboot 4): status read, retry 14
17:10:31.902 (loader): remote cmd from 14: "status"
17:10:31.903 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:31.903 (reboot 4): status read, retry 15
17:10:32.003 (loader): remote cmd from 14: "status"
17:10:32.004 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:32.004 (reboot 4): status read, retry 16
17:10:32.106 (loader): remote cmd from 14: "status"
17:10:32.108 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:32.109 (reboot 4): status read, retry 17
17:10:32.209 (loader): remote cmd from 14: "status"
17:10:32.210 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:32.210 (reboot 4): status read, retry 18
17:10:32.310 (loader): remote cmd from 14: "status"
17:10:32.311 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:32.311 (reboot 4): status read, retry 19
17:10:32.412 (loader): remote cmd from 14: "status"
17:10:32.412 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:32.412 (reboot 4): status read, retry 20
17:10:32.513 (loader): remote cmd from 14: "status"
17:10:32.513 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:32.514 (reboot 4): status read, retry 21
17:10:32.614 (loader): remote cmd from 14: "status"
17:10:32.614 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:32.614 (reboot 4): status read, retry 22
17:10:32.716 (loader): remote cmd from 14: "status"
17:10:32.720 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:32.720 (reboot 4): status read, retry 23
17:10:32.821 (loader): remote cmd from 14: "status"
17:10:32.821 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:32.821 (reboot 4): status read, retry 24
17:10:32.922 (loader): remote cmd from 14: "status"
17:10:32.922 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:32.922 (reboot 4): status read, retry 25
17:10:33.023 (loader): remote cmd from 14: "status"
17:10:33.023 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:33.023 (reboot 4): status read, retry 26
17:10:33.124 (loader): remote cmd from 14: "status"
17:10:33.124 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:33.124 (reboot 4): status read, retry 27
17:10:33.225 (loader): remote cmd from 14: "status"
17:10:33.225 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:33.225 (reboot 4): status read, retry 28
17:10:33.325 (loader): remote cmd from 14: "status"
17:10:33.326 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:33.326 (reboot 4): status read, retry 29
17:10:33.426 (loader): remote cmd from 14: "status"
17:10:33.427 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:33.427 (reboot 4): status read, retry 30
17:10:33.528 (loader): remote cmd from 14: "status"
17:10:33.528 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:33.528 (reboot 4): status read, retry 31
17:10:33.629 (loader): remote cmd from 14: "status"
17:10:33.629 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:33.629 (reboot 4): status read, retry 32
17:10:33.730 (loader): remote cmd from 14: "status"
17:10:33.730 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:33.730 (reboot 4): status read, retry 33
17:10:33.831 (loader): remote cmd from 14: "status"
17:10:33.831 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:33.831 (reboot 4): status read, retry 34
17:10:33.932 (loader): remote cmd from 14: "status"
17:10:33.934 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:33.934 (reboot 4): status read, retry 35
17:10:34.035 (loader): remote cmd from 14: "status"
17:10:34.035 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:34.035 (reboot 4): status read, retry 36
17:10:34.136 (loader): remote cmd from 14: "status"
17:10:34.136 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:34.136 (reboot 4): status read, retry 37
17:10:34.236 (loader): remote cmd from 14: "status"
17:10:34.237 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:34.237 (reboot 4): status read, retry 38
17:10:34.337 (loader): remote cmd from 14: "status"
17:10:34.338 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:34.338 (reboot 4): status read, retry 39
17:10:34.438 (loader): remote cmd from 14: "status"
17:10:34.439 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:34.439 (reboot 4): status read, retry 40
17:10:34.539 (loader): remote cmd from 14: "status"
17:10:34.540 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:34.540 (reboot 4): status read, retry 41
17:10:34.640 (loader): remote cmd from 14: "status"
17:10:34.641 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:34.641 (reboot 4): status read, retry 42
17:10:34.741 (loader): remote cmd from 14: "status"
17:10:34.742 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:34.742 (reboot 4): status read, retry 43
17:10:34.842 (loader): remote cmd from 14: "status"
17:10:34.843 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:34.843 (reboot 4): status read, retry 44
17:10:34.943 (loader): remote cmd from 14: "status"
17:10:34.944 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:34.944 (reboot 4): status read, retry 45
17:10:35.044 (loader): remote cmd from 14: "status"
17:10:35.044 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:35.044 (reboot 4): status read, retry 46
17:10:35.145 (loader): remote cmd from 14: "status"
17:10:35.146 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:35.146 (reboot 4): status read, retry 47
17:10:35.247 (loader): remote cmd from 14: "status"
17:10:35.248 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:35.248 (reboot 4): status read, retry 48
17:10:35.352 (loader): remote cmd from 14: "status"
17:10:35.352 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:35.352 (reboot 4): status read, retry 49
17:10:35.453 (loader): remote cmd from 14: "status"
17:10:35.453 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:35.453 (reboot 4): status read, retry 50
17:10:35.554 (loader): remote cmd from 14: "status"
17:10:35.554 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:35.554 (reboot 4): status read, retry 51
17:10:35.655 (loader): remote cmd from 14: "status"
17:10:35.655 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:35.655 (reboot 4): status read, retry 52
17:10:35.756 (loader): remote cmd from 14: "status"
17:10:35.756 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:35.756 (reboot 4): status read, retry 53
17:10:35.856 (loader): remote cmd from 14: "status"
17:10:35.857 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:35.857 (reboot 4): status read, retry 54
17:10:35.958 (loader): remote cmd from 14: "status"
17:10:35.958 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:35.958 (reboot 4): status read, retry 55
17:10:36.059 (loader): remote cmd from 14: "status"
17:10:36.059 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:36.059 (reboot 4): status read, retry 56
17:10:36.160 (loader): remote cmd from 14: "status"
17:10:36.160 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:36.160 (reboot 4): status read, retry 57
17:10:36.261 (loader): remote cmd from 14: "status"
17:10:36.261 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:36.261 (reboot 4): status read, retry 58
17:10:36.362 (loader): remote cmd from 14: "status"
17:10:36.362 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:36.362 (reboot 4): status read, retry 59
17:10:36.463 (loader): remote cmd from 14: "status"
17:10:36.463 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:36.463 (reboot 4): status read, retry 60
17:10:36.564 (loader): remote cmd from 14: "status"
17:10:36.564 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/, Blink.ino.hex
17:10:36.564 (reboot 4): status read, retry 61
17:10:36.664 (reboot 4): Teensy did not respond to a USB-based request to automatically reboot.
17:10:36.667 (loader): remote connection 14 closed
17:10:47.788 (loader): action add: /dev/hidraw5
17:10:47.789 (loader): USB add /dev/hidraw5, vid=16C0, pid=0478, ver=0108, serial=0018EB48, location=usb1/1-4/
17:10:47.789 (loader): action remove: /dev/hidraw5
17:10:47.789 (loader): USB remove /dev/hidraw5
17:10:53.418 (loader): Verbose Info event
17:10:56.876 (loader): action add: /dev/hidraw5
17:10:56.880 (loader): USB add /dev/hidraw5, vid=16C0, pid=0478, ver=0108, serial=0018EB48, location=usb1/1-4/
17:10:56.932 (loader): read feature report
17:10:56.932 (loader): opening /dev/hidraw5, usage: 0025: Teensy 4.1 (IMXRT1062)
17:10:56.933 (loader): secure mode can not be locked: this is Standard Teensy
17:10:56.933 (loader): encryption is possible on this Teensy, but not yet configured
17:10:56.933 (loader): but without secure mode locked, encryption will NOT be secure!
17:10:56.933 (loader): Device came online, code_size = 8126464
17:10:56.934 (loader): Board is: Teensy 4.1 (IMXRT1062), version 1.08
17:10:56.962 (loader): File "/tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/Blink.ino.hex", 21504 bytes
17:10:56.963 (loader): File "Blink.ino.hex". 21504 bytes, 0% used
17:10:57.067 (loader): set background IMG_ONLINE
17:10:57.094 (loader): File "/tmp/arduino/sketches/A63DC223FF6C3EFDD68FD3668F549ED6/Blink.ino.hex", 21504 bytes
17:10:57.095 (loader): File "Blink.ino.hex". 21504 bytes, 0% used
17:10:57.185 (loader): begin elf_guess_size
17:10:57.186 (loader): found elf file
17:10:57.187 (loader): read elf files into memory, 485124 bytes
17:10:57.188 (loader): elf appears to be for Teensy 4.1 (IMXRT1062) (8126464 bytes)
17:10:57.189 (loader): elf binary data matches hex file
17:10:57.190 (loader): elf file is for Teensy 4.1 (IMXRT1062) (id=25)
17:10:57.190 (loader): using hex file
17:10:57.284 (loader): begin operation
17:10:57.514 (loader): flash, block=0, bs=1024, auto=1
17:10:57.522 (loader): flash, block=1, bs=1024, auto=1
17:10:57.527 (loader): flash, block=2, bs=1024, auto=1



17:10:57.807 (loader): flash, block=3, bs=1024, auto=1
17:10:57.818 (loader): flash, block=4, bs=1024, auto=1
17:10:57.836 (loader): flash, block=5, bs=1024, auto=1
17:10:57.846 (loader): flash, block=6, bs=1024, auto=1
17:10:57.854 (loader): flash, block=7, bs=1024, auto=1
17:10:57.866 (loader): flash, block=8, bs=1024, auto=1
17:10:57.880 (loader): flash, block=9, bs=1024, auto=1
17:10:57.894 (loader): flash, block=10, bs=1024, auto=1
17:10:57.901 (loader): flash, block=11, bs=1024, auto=1
17:10:57.912 (loader): flash, block=12, bs=1024, auto=1
17:10:57.925 (loader): flash, block=13, bs=1024, auto=1
17:10:57.934 (loader): flash, block=14, bs=1024, auto=1
17:10:57.943 (loader): flash, block=15, bs=1024, auto=1
17:10:57.953 (loader): flash, block=16, bs=1024, auto=1
17:10:57.961 (loader): flash, block=17, bs=1024, auto=1
17:10:57.971 (loader): flash, block=18, bs=1024, auto=1
17:10:57.978 (loader): flash, block=19, bs=1024, auto=1
17:10:57.990 (loader): flash, block=20, bs=1024, auto=1
17:10:58.159 (loader): sending reboot
17:10:58.160 (loader): begin wait_until_offline
17:10:58.964 (loader): HID/linux: device is disconnected(3)
17:10:58.964 (loader): offline, waited 16
17:10:58.964 (loader): end operation, total time = 1.680 seconds
17:10:58.965 (loader): set background IMG_REBOOT_OK
17:10:58.968 (loader): redraw timer set, image 14 to show for 1200 ms
17:10:58.994 (loader): error, unable to stat /dev/hidraw5
17:11:00.169 (loader): redraw, image 9
17:11:01.751 (loader): action remove: /dev/hidraw5
17:11:01.752 (loader): USB remove /dev/hidraw5
```
Is it supposed to just program without pushing the program button? Is there some way to get the Arduino or PlatformIO IDEs to tell me the truth?
Thanks,
Rob
 
It seems to work for my friend who is using Windows, so it is something to do with my computer which is running Ubuntu.
 
I just tried again and now it works just fine. I don't know what was wrong before. I did update, and possibly reboot between the last try and now. I noted before this Teensyduino window didn't just appear like it did now when I tried to flash. In fact, I thought maybe it just appeared for Arduino, not PlatformIO, but it appeared in PlatformIO just now. It flashed without pushing the button.
Thanks to whoever fixed it!
Rob
 
Back
Top