Also, lately I've gotten a few "This error should never happen" messages when uploading the sketch; I'm posting sample output below, just in case there's anything here someone can spot. I'm not posting the whole log - just up to where it starts flashing.
Thanks,
Mike
Arduino: 1.8.19 (Mac OS X), TD: 1.57, Board: "Teensy 4.0, MIDI, 600 MHz, Fast, US English"
Memory Usage on Teensy 4.0:
FLASH: code:360424, data:1628768, headers:8216 free for files:34208
RAM1: variables:49856, code:358624, padding:1824 free for local variables:113984
RAM2: variables:21312 free for malloc/new:502976
Error reading Teensy Loader status! (tpc)This error should never happen (when using Arduino). Please report this to
paul@pjrc.com. In Teensy Loader, click Help > Verbose Info, then click Log > Save As and attach the log file to your message. The log info is essential for any hope of figuring out what went wrong here!Error reading Teensy Loader status! (tpc)This error should never happen (when using Arduino). Please report this to
paul@pjrc.com. In Teensy Loader, click Help > Verbose Info, then click Log > Save As and attach the log file to your message. The log info is essential for any hope of figuring out what went wrong here!
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
17:52:52.177 (ports 5): Begin, version=1.57
17:52:52.177 (ports 5): USB device add callback
17:52:52.177 (ports 5): loc=14100000, vid=16C0, pid=0485, ver=0279, ser=12054840
17:52:52.177 (ports 5): actual serailnum=1205484
17:52:52.177 (ports 5): name: [no_device] (Teensy) MIDI
17:52:52.179 (ports 5): USB device remove callback
17:52:52.180 (ports 5): Serial add callback
17:52:52.189 (ports 5): Serial remove callback
17:52:52.401 (ports 5): HID Manager started
17:52:52.401 (ports 5): HID add callback, vid=16c0, pid=0485, ver=0279, loc=14100000, use=ffc9:4
17:52:52.401 (ports 5): found prior teensy at this loc, age=0.224
17:52:52.401 (ports 5): name: HID=16c0:0485.ffc9.4 (Teensy 4.0) MIDI
17:54:04.923 (post_compile 1): Begin, version=1.57
17:54:05.211 (loader): Teensy Loader 1.57, begin program
17:54:05.654 (loader): File "/Users/Mikey/Documents/Arduino/Fader_Pro_V4.994/Fader_Pro_V4.994.ino.TEENSY40.ehex", 1997824 bytes, and 5536 loader utility
17:54:05.659 (loader): ehex is valid, public key hash: 6031B41E 303B7C97 9E4D450D B0511B03 2DD5AB90 3A1263AF 8EA5DD73 860FAC41
17:54:05.660 (loader): File "Fader_Pro_V4.994.ino.TEENSY40.ehex". 1997824 bytes
17:54:05.691 (loader): Listening for remote control on port 3149
17:54:05.692 (loader): initialized, showing main window
17:54:05.824 (loader): remote connection 11 opened
17:54:05.825 (post_compile 1): Sending command: comment: Teensyduino 1.57 - MACOSX (teensy_post_compile)
17:54:05.828 (loader): remote cmd from 11: "comment: Teensyduino 1.57 - MACOSX (teensy_post_compile)"
17:54:05.829 (loader): remote cmd from 11: "status"
17:54:05.830 (post_compile 1): Status: 1, 0, 0, 0, 0, 0, /Users/Mikey/Documents/Arduino/Fader_Pro_V4.994/, Fader_Pro_V4.994.ino.TEENSY40.ehex
17:54:05.830 (post_compile 1): Sending command: dir:/var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/
17:54:05.830 (loader): remote cmd from 11: "dir:/var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/"
17:54:05.831 (post_compile 1): Sending command: file:Fader_Pro_V4.994.ino.hex
17:54:05.832 (loader): remote cmd from 11: "file:Fader_Pro_V4.994.ino.hex"
17:54:06.049 (loader): File "/var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/Fader_Pro_V4.994.ino.hex", 1997824 bytes
17:54:06.304 (loader): File "/var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/Fader_Pro_V4.994.ino.ehex", 1997824 bytes, and 5536 loader utility
17:54:06.309 (loader): ehex is valid, key hash: 6031B41E 303B7C97 9E4D450D B0511B03 2DD5AB90 3A1263AF 8EA5DD73 860FAC41
17:54:06.310 (loader): File "Fader_Pro_V4.994.ino.hex". 1997824 bytes
17:54:06.321 (loader): remote cmd from 11: "status"
17:54:06.323 (post_compile 1): Status: 1, 0, 0, 0, 0, 0, /var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/, Fader_Pro_V4.994.ino.hex
17:54:06.323 (post_compile 1): Sending command: auto
n
17:54:06.323 (loader): remote cmd from 11: "auto
n"
17:54:06.324 (post_compile 1): Disconnect
17:54:06.335 (loader): remote connection 11 closed
17:54:06.418 (post_compile 2): Begin, version=1.57
17:54:06.418 (loader): remote connection 3 opened
17:54:06.418 (post_compile 2): Sending command: comment: Teensyduino 1.57 - MACOSX (teensy_post_compile)
17:54:06.419 (loader): remote cmd from 3: "comment: Teensyduino 1.57 - MACOSX (teensy_post_compile)"
17:54:06.419 (loader): remote cmd from 3: "status"
17:54:06.419 (post_compile 2): Status: 1, 1, 0, 0, 0, 0, /var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/, Fader_Pro_V4.994.ino.hex
17:54:06.419 (post_compile 2): Disconnect
17:54:06.431 (post_compile 3): Running teensy_reboot: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/../tools/teensy_reboot
17:54:06.431 (loader): remote connection 3 closed
17:54:06.432 (loader): remote connection 3 opened
17:54:06.433 (loader): remote connection 3 closed
17:54:06.446 (reboot 4): Begin, version=1.57
17:54:06.446 (reboot 4): location = usb:14100000
17:54:06.446 (reboot 4): portprotocol = Teensy
17:54:06.446 (reboot 4): portlabel = HID=16c0:0485.ffc9.4 MIDI
17:54:06.446 (reboot 4): Only location usb:14100000 will be tried
17:54:06.446 (reboot 4): USB device add callback
17:54:06.448 (reboot 4): loc=14100000, vid=16C0, pid=0485, ver=0279, ser=12054840
17:54:06.448 (reboot 4): actual serailnum=1205484
17:54:06.450 (loader): remote connection 3 opened
17:54:06.450 (reboot 4): USB device remove callback
17:54:06.450 (reboot 4): Serial add callback
17:54:06.458 (reboot 4): Serial remove callback
17:54:06.618 (reboot 4): HID Manager started
17:54:06.618 (reboot 4): HID add callback, vid=16c0, pid=0485, ver=0279, loc=14100000, use=ffc9:4
17:54:06.618 (reboot 4): usb scan found 1 devices
17:54:06.618 (reboot 4): found Teensy Loader, version 1.57
17:54:06.618 (reboot 4): Sending command: show:arduino_attempt_reboot
17:54:06.619 (loader): remote cmd from 3: "show:arduino_attempt_reboot"
17:54:06.619 (loader): got request to show arduino rebooting message
17:54:06.620 (reboot 4): Sending command: comment: Teensyduino 1.57 - MACOSX (teensy_reboot)
17:54:06.621 (loader): remote cmd from 3: "comment: Teensyduino 1.57 - MACOSX (teensy_reboot)"
17:54:06.621 (loader): remote cmd from 3: "status"
17:54:06.621 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/, Fader_Pro_V4.994.ino.hex
17:54:06.621 (reboot 4): hid_send_feature, device opened
17:54:06.622 (loader): remote cmd from 3: "status"
17:54:06.623 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/, Fader_Pro_V4.994.ino.hex
17:54:06.623 (reboot 4): status read, retry 0
17:54:06.723 (loader): remote cmd from 3: "status"
17:54:06.724 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/, Fader_Pro_V4.994.ino.hex
17:54:06.724 (reboot 4): status read, retry 1
17:54:06.825 (loader): remote cmd from 3: "status"
17:54:06.825 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/, Fader_Pro_V4.994.ino.hex
17:54:06.825 (reboot 4): status read, retry 2
17:54:06.905 (ports 5): HID remove callback
17:54:06.905 (ports 5): HID add callback, vid=16c0, pid=0485, ver=0279, loc=14100000
17:54:06.905 (ports 5): USB device remove callback
17:54:06.905 (ports 5): remove, loc=14100000
17:54:06.905 (ports 5): usb_remove: usb:14100000
17:54:06.905 (ports 5): del device: location=14100000
17:54:06.906 (loader): remote connection 11 opened
17:54:06.907 (ports 5): USB device add callback
17:54:06.927 (loader): remote cmd from 3: "status"
17:54:06.927 (reboot 4): Status: 1, 1, 0, 0, 0, 0, /var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/, Fader_Pro_V4.994.ino.hex
17:54:06.927 (reboot 4): status read, retry 3
17:54:06.945 (loader): HID/macos: attach callback
17:54:07.028 (loader): remote cmd from 3: "status"
17:54:07.028 (loader): HID/macos: number of devices found = 1
17:54:07.028 (loader): HID/macos: vid=1FC9, pid=0135, page=FF00, usage=0001, ver=1.01
17:54:07.029 (loader): Device came online, code_size = 100
17:54:07.029 (loader): Board is: NXP IMXRT1062 ROM
17:54:07.029 (loader): begin operation
17:54:07.245 (loader): File "/var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/Fader_Pro_V4.994.ino.hex", 1997824 bytes
17:54:07.513 (loader): File "/var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/Fader_Pro_V4.994.ino.ehex", 1997824 bytes, and 5536 loader utility
17:54:07.515 (loader): ehex is valid, key hash: 6031B41E 303B7C97 9E4D450D B0511B03 2DD5AB90 3A1263AF 8EA5DD73 860FAC41
17:54:07.516 (loader): File "Fader_Pro_V4.994.ino.hex". 1997824 bytes
17:54:07.516 (loader): set background IMG_ONLINE
17:54:07.517 (reboot 4): Status: 1, 1, 1, 1, 0, 8, /var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/, Fader_Pro_V4.994.ino.hex
17:54:07.549 (loader): HAB locked secure mode
17:54:07.552 (loader): sending ehex loader utility, 5536 bytes
17:54:07.557 (loader): run it..
17:54:07.672 (ports 5): HID remove callback
17:54:07.672 (ports 5): USB device remove callback
17:54:07.672 (ports 5): remove, loc=14100000
17:54:07.672 (loader): HID/macos: detach callback: is currently open device
17:54:07.699 (loader): ehex loader utility sucessfully started
17:54:07.701 (loader): remote cmd from 3: "status"
17:54:07.701 (reboot 4): Status: 1, 1, 1, 1, 0, 11, /var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/, Fader_Pro_V4.994.ino.hex
17:54:07.701 (loader): HID/macos: status: disconnected
17:54:07.701 (loader): end operation, total time = 0.672 seconds
17:54:07.703 (loader): redraw timer set, image 80 to show for 2000 ms
17:54:07.757 (loader): remote cmd from 3: "status"
17:54:07.757 (loader): HID/macos: number of devices found = 0
17:54:07.757 (loader): HID/macos: no devices found (empty set)
17:54:07.758 (reboot 4): Status: 1, 1, 0, 1, 0, 0, /var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/, Fader_Pro_V4.994.ino.hex
17:54:07.758 (reboot 4): status read, retry 4
17:54:07.758 (reboot 4): Success
17:54:07.758 (reboot 4): Disconnect
17:54:07.771 (loader): remote connection 3 closed
17:54:07.892 (ports 5): USB device add callback
17:54:07.892 (ports 5): loc=14100000, vid=16C0, pid=0478, ver=0107, ser=001264EC
17:54:07.892 (ports 5): actual serailnum=1205484
17:54:07.892 (ports 5): found prior teensy at this loc, age=0.986
17:54:07.892 (ports 5): name: [no_device] (Teensy 4.0) Bootloader
17:54:07.923 (loader): HID/macos: attach callback
17:54:07.923 (ports 5): HID add callback, vid=16c0, pid=0478, ver=0107, loc=14100000, use=ff9c:24
17:54:07.923 (ports 5): found prior teensy at this loc, age=0.031
17:54:07.923 (ports 5): name: HID=16c0:0478.ff9c.24 (Teensy 4.0) Bootloader
17:54:07.941 (loader): HID/macos: ser=001264EC
17:54:07.941 (loader): try to read feature report
17:54:07.942 (loader): got feature report, size = 384
17:54:07.942 (loader): 7393CD01 6031B41E
17:54:07.942 (loader): encryption is required, public key hash: 6031B41E 303B7C97 9E4D450D B0511B03 2DD5AB90 3A1263AF 8EA5DD73 860FAC41
17:54:07.942 (loader): secure mode is locked: this is Lockable Teensy
17:54:07.942 (loader): Device came online, code_size = 2031616
17:54:07.942 (loader): Board is: Teensy 4.0 (IMXRT1062), version 1.07
17:54:08.180 (loader): File "/var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/Fader_Pro_V4.994.ino.hex", 1997824 bytes
17:54:08.397 (loader): File "/var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/Fader_Pro_V4.994.ino.ehex", 1997824 bytes, and 5536 loader utility
17:54:08.399 (loader): ehex is valid, key hash: 6031B41E 303B7C97 9E4D450D B0511B03 2DD5AB90 3A1263AF 8EA5DD73 860FAC41
17:54:08.399 (loader): File "Fader_Pro_V4.994.ino.hex". 1997824 bytes, 98% used
17:54:08.401 (loader): File "Fader_Pro_V4.994.ino.hex" opened, but "Fader_Pro_V4.994.ino.ehex" will actually be used
17:54:08.419 (loader): set background IMG_ONLINE
17:54:08.647 (loader): File "/var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/Fader_Pro_V4.994.ino.hex", 1997824 bytes
17:54:08.880 (loader): File "/var/folders/kg/h7ksypnd2cs8fm2_7484py640000gn/T/arduino_build_461442/Fader_Pro_V4.994.ino.ehex", 1997824 bytes, and 5536 loader utility
17:54:08.882 (loader): ehex is valid, key hash: 6031B41E 303B7C97 9E4D450D B0511B03 2DD5AB90 3A1263AF 8EA5DD73 860FAC41
17:54:08.882 (loader): File "Fader_Pro_V4.994.ino.hex". 1997824 bytes, 98% used
17:54:08.884 (loader): File "Fader_Pro_V4.994.ino.hex" opened, but "Fader_Pro_V4.994.ino.ehex" will actually be used
17:54:08.905 (loader): elf appears to be for Teensy 4.0 (IMXRT1062) (2031616 bytes)
17:54:08.905 (loader): elf binary data matches hex file
17:54:08.905 (loader): elf file is for Teensy 4.0 (IMXRT1062)
17:54:08.907 (loader): using encrypted ehex (required - secure mode is locked)
17:54:08.924 (loader): begin operation
17:54:08.932 (loader): flash, block=0, bs=1024, auto=1
17:54:08.933 (loader): flash, block=1, bs=1024, auto=1
17:54:08.934 (loader): flash, block=2, bs=1024, auto=1
17:54:14.112 (loader): flash, block=3, bs=1024, auto=1
17:54:14.113 (loader): flash, block=4, bs=1024, auto=1
17:54:14.132 (loader): flash, block=5, bs=1024, auto=1
...