Hi,
I have been having problems loading new code onto my Teensey 4.1. I have tried several different sample programs and 2 known/working usb cables.
The log from a verbose snapshot from the loader( Version 1.55) is below. I get the same behavior even when compiling/loading the basic blink program? What is going wrong? I have used this board before and it was recently sitting for a couple of months. The board worked before/is genuine.
In the log below.. I see the line "23:31:18.259 (loader): Opps, NXP ROM in open mode, but we do not yet have code for this case "
What does this mean, how do I close the NXP ROM, I assume that has something to do with the problem I am having.
Note, when I press the load button on the Teensey 4.1 , I get messages on the log below/activity, proving that the cable is good, but an anomaly is encountered.
23:29:50.709 (loader): file changed
23:29:50.727 (loader): File "C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\Example2_OutputToProcessing.ino.hex", 33792 bytes
23:29:50.730 (loader): File "Example2_OutputToProcessing.ino.hex". 33792 bytes
23:29:50.733 (post_compile 3): Begin, version=1.55, high-res time
23:29:50.740 (loader): remote connection 11120 opened
23:29:50.742 (loader): remote cmd from 11120: "comment: Teensyduino 1.55 - WINDOWS (teensy_post_compile)"
23:29:50.742 (post_compile 3): Sending command: comment: Teensyduino 1.55 - WINDOWS (teensy_post_compile)
23:29:50.743 (loader): remote cmd from 11120: "status"
23:29:50.751 (post_compile 3): Status: 1, 0, 0, 14, 0, 0, C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\, Example2_OutputToProcessing.ino.hex
23:29:50.751 (post_compile 3): Sending command: dir:C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\
23:29:50.752 (loader): remote cmd from 11120: "dir:C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\"
23:29:50.754 (loader): remote cmd from 11120: "file:Example2_OutputToProcessing.ino.hex"
23:29:50.755 (post_compile 3): Sending command: file:Example2_OutputToProcessing.ino.hex
23:29:50.768 (loader): File "C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\Example2_OutputToProcessing.ino.hex", 33792 bytes
23:29:50.770 (loader): File "Example2_OutputToProcessing.ino.hex". 33792 bytes
23:29:50.774 (loader): remote cmd from 11120: "status"
23:29:50.782 (post_compile 3): Status: 1, 0, 0, 14, 0, 0, C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\, Example2_OutputToProcessing.ino.hex
23:29:50.782 (post_compile 3): Sending command: auton
23:29:50.782 (loader): remote cmd from 11120: "auton"
23:29:50.784 (post_compile 3): Disconnect
23:29:50.807 (loader): remote connection 11120 closed
23:29:51.138 (post_compile 4): Begin, version=1.55, high-res time
23:29:51.140 (loader): remote connection 11124 opened
23:29:51.143 (loader): remote cmd from 11124: "comment: Teensyduino 1.55 - WINDOWS (teensy_post_compile)"
23:29:51.144 (post_compile 4): Sending command: comment: Teensyduino 1.55 - WINDOWS (teensy_post_compile)
23:29:51.146 (loader): remote cmd from 11124: "status"
23:29:51.155 (loader): remote cmd from 11124: "dir:C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\"
23:29:51.156 (post_compile 4): Status: 1, 1, 0, 14, 0, 0, C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\, Example2_OutputToProcessing.ino.hex
23:29:51.156 (post_compile 4): Sending command: dir:C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\
23:29:51.158 (loader): remote cmd from 11124: "file:Example2_OutputToProcessing.ino.hex"
23:29:51.159 (post_compile 4): Sending command: file:Example2_OutputToProcessing.ino.hex
23:29:51.172 (loader): File "C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\Example2_OutputToProcessing.ino.hex", 33792 bytes
23:29:51.176 (loader): File "Example2_OutputToProcessing.ino.hex". 33792 bytes
23:29:51.183 (loader): remote cmd from 11124: "status"
23:29:51.193 (post_compile 4): Status: 1, 1, 0, 14, 0, 0, C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\, Example2_OutputToProcessing.ino.hex
23:29:51.193 (post_compile 4): Disconnect
23:29:51.210 (post_compile 5): Running teensy_reboot: "C:\Program Files (x86)\Arduino\hardware\teensy\..\tools\teensy_reboot.exe" teensy_reboot.exe "-board=TEENSY41" "-port=fake serial" "-portlabel=(null)" "-portprotocol=(null)"
23:29:51.215 (loader): remote connection 11124 closed
23:29:51.225 (loader): remote connection 11124 opened
23:29:51.252 (reboot 6): Begin, version=1.55, high-res time
23:29:51.252 (reboot 6): location = fake serial
23:29:51.252 (reboot 6): portprotocol = (null)
23:29:51.252 (reboot 6): portlabel = (null)
23:29:51.252 (reboot 6): Emulated serial devices will be tried first
23:29:51.252 (reboot 6): LoadLibrary cfgmgr32 ok
23:29:51.252 (reboot 6): LoadLibrary ntdll ok
23:29:51.254 (reboot 6): nothing new, skipping HID & Ports enum
23:29:51.258 (loader): remote connection 11128 opened
23:29:51.264 (reboot 6): Disconnect
23:29:51.289 (loader): remote connection 11128 closed
23:29:51.296 (loader): remote connection 11124 closed
<After Button Press>
23:31:17.864 (ports 2): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
23:31:17.869 (ports 2): nothing new, skipping HID & Ports enum
23:31:17.882 (ports 2): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
23:31:17.883 (ports 2): nothing new, skipping HID & Ports enum
23:31:17.960 (loader): stop ignoring usb:0/1D0000/0/1/5
23:31:18.045 (ports 2): WM_DEVICECHANGE DBT_DEVICEARRIVAL
23:31:18.045 (ports 2): nothing new, skipping HID & Ports enum
23:31:18.212 (loader): handle 2b40
23:31:18.214 (loader): Device came online, code_size = 100
23:31:18.215 (loader): Board is: NXP IMXRT1062 ROM
23:31:18.218 (loader): begin operation
23:31:18.233 (loader): File "C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\Example2_OutputToProcessing.ino.hex", 33792 bytes
23:31:18.236 (loader): File "Example2_OutputToProcessing.ino.hex". 33792 bytes
23:31:18.239 (loader): set background IMG_ONLINE
23:31:18.250 (loader): nxp_write: success
23:31:18.254 (loader): nxp_write: success
23:31:18.257 (loader): HAB open mode, bootcfg=80018
23:31:18.259 (loader): Opps, NXP ROM in open mode, but we do not yet have code for this case
23:31:18.261 (loader): start ignoring usb:0/1D0000/0/1/5
23:31:18.264 (loader): end operation, total time = 0.043 seconds
23:31:18.270 (loader): redraw timer set, image 79 to show for 3000 ms
23:31:18.287 (ports 2): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
23:31:18.287 (ports 2): nothing new, skipping HID & Ports enum
23:31:21.270 (loader): redraw, image 9
Please advise,
Jeff
I have been having problems loading new code onto my Teensey 4.1. I have tried several different sample programs and 2 known/working usb cables.
The log from a verbose snapshot from the loader( Version 1.55) is below. I get the same behavior even when compiling/loading the basic blink program? What is going wrong? I have used this board before and it was recently sitting for a couple of months. The board worked before/is genuine.
In the log below.. I see the line "23:31:18.259 (loader): Opps, NXP ROM in open mode, but we do not yet have code for this case "
What does this mean, how do I close the NXP ROM, I assume that has something to do with the problem I am having.
Note, when I press the load button on the Teensey 4.1 , I get messages on the log below/activity, proving that the cable is good, but an anomaly is encountered.
23:29:50.709 (loader): file changed
23:29:50.727 (loader): File "C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\Example2_OutputToProcessing.ino.hex", 33792 bytes
23:29:50.730 (loader): File "Example2_OutputToProcessing.ino.hex". 33792 bytes
23:29:50.733 (post_compile 3): Begin, version=1.55, high-res time
23:29:50.740 (loader): remote connection 11120 opened
23:29:50.742 (loader): remote cmd from 11120: "comment: Teensyduino 1.55 - WINDOWS (teensy_post_compile)"
23:29:50.742 (post_compile 3): Sending command: comment: Teensyduino 1.55 - WINDOWS (teensy_post_compile)
23:29:50.743 (loader): remote cmd from 11120: "status"
23:29:50.751 (post_compile 3): Status: 1, 0, 0, 14, 0, 0, C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\, Example2_OutputToProcessing.ino.hex
23:29:50.751 (post_compile 3): Sending command: dir:C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\
23:29:50.752 (loader): remote cmd from 11120: "dir:C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\"
23:29:50.754 (loader): remote cmd from 11120: "file:Example2_OutputToProcessing.ino.hex"
23:29:50.755 (post_compile 3): Sending command: file:Example2_OutputToProcessing.ino.hex
23:29:50.768 (loader): File "C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\Example2_OutputToProcessing.ino.hex", 33792 bytes
23:29:50.770 (loader): File "Example2_OutputToProcessing.ino.hex". 33792 bytes
23:29:50.774 (loader): remote cmd from 11120: "status"
23:29:50.782 (post_compile 3): Status: 1, 0, 0, 14, 0, 0, C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\, Example2_OutputToProcessing.ino.hex
23:29:50.782 (post_compile 3): Sending command: auton
23:29:50.782 (loader): remote cmd from 11120: "auton"
23:29:50.784 (post_compile 3): Disconnect
23:29:50.807 (loader): remote connection 11120 closed
23:29:51.138 (post_compile 4): Begin, version=1.55, high-res time
23:29:51.140 (loader): remote connection 11124 opened
23:29:51.143 (loader): remote cmd from 11124: "comment: Teensyduino 1.55 - WINDOWS (teensy_post_compile)"
23:29:51.144 (post_compile 4): Sending command: comment: Teensyduino 1.55 - WINDOWS (teensy_post_compile)
23:29:51.146 (loader): remote cmd from 11124: "status"
23:29:51.155 (loader): remote cmd from 11124: "dir:C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\"
23:29:51.156 (post_compile 4): Status: 1, 1, 0, 14, 0, 0, C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\, Example2_OutputToProcessing.ino.hex
23:29:51.156 (post_compile 4): Sending command: dir:C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\
23:29:51.158 (loader): remote cmd from 11124: "file:Example2_OutputToProcessing.ino.hex"
23:29:51.159 (post_compile 4): Sending command: file:Example2_OutputToProcessing.ino.hex
23:29:51.172 (loader): File "C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\Example2_OutputToProcessing.ino.hex", 33792 bytes
23:29:51.176 (loader): File "Example2_OutputToProcessing.ino.hex". 33792 bytes
23:29:51.183 (loader): remote cmd from 11124: "status"
23:29:51.193 (post_compile 4): Status: 1, 1, 0, 14, 0, 0, C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\, Example2_OutputToProcessing.ino.hex
23:29:51.193 (post_compile 4): Disconnect
23:29:51.210 (post_compile 5): Running teensy_reboot: "C:\Program Files (x86)\Arduino\hardware\teensy\..\tools\teensy_reboot.exe" teensy_reboot.exe "-board=TEENSY41" "-port=fake serial" "-portlabel=(null)" "-portprotocol=(null)"
23:29:51.215 (loader): remote connection 11124 closed
23:29:51.225 (loader): remote connection 11124 opened
23:29:51.252 (reboot 6): Begin, version=1.55, high-res time
23:29:51.252 (reboot 6): location = fake serial
23:29:51.252 (reboot 6): portprotocol = (null)
23:29:51.252 (reboot 6): portlabel = (null)
23:29:51.252 (reboot 6): Emulated serial devices will be tried first
23:29:51.252 (reboot 6): LoadLibrary cfgmgr32 ok
23:29:51.252 (reboot 6): LoadLibrary ntdll ok
23:29:51.254 (reboot 6): nothing new, skipping HID & Ports enum
23:29:51.258 (loader): remote connection 11128 opened
23:29:51.264 (reboot 6): Disconnect
23:29:51.289 (loader): remote connection 11128 closed
23:29:51.296 (loader): remote connection 11124 closed
<After Button Press>
23:31:17.864 (ports 2): WM_DEVICECHANGE DBT_DEVICEREMOVECOMPLETE
23:31:17.869 (ports 2): nothing new, skipping HID & Ports enum
23:31:17.882 (ports 2): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
23:31:17.883 (ports 2): nothing new, skipping HID & Ports enum
23:31:17.960 (loader): stop ignoring usb:0/1D0000/0/1/5
23:31:18.045 (ports 2): WM_DEVICECHANGE DBT_DEVICEARRIVAL
23:31:18.045 (ports 2): nothing new, skipping HID & Ports enum
23:31:18.212 (loader): handle 2b40
23:31:18.214 (loader): Device came online, code_size = 100
23:31:18.215 (loader): Board is: NXP IMXRT1062 ROM
23:31:18.218 (loader): begin operation
23:31:18.233 (loader): File "C:\Users\Jeffrey\AppData\Local\Temp\arduino_build_195947\Example2_OutputToProcessing.ino.hex", 33792 bytes
23:31:18.236 (loader): File "Example2_OutputToProcessing.ino.hex". 33792 bytes
23:31:18.239 (loader): set background IMG_ONLINE
23:31:18.250 (loader): nxp_write: success
23:31:18.254 (loader): nxp_write: success
23:31:18.257 (loader): HAB open mode, bootcfg=80018
23:31:18.259 (loader): Opps, NXP ROM in open mode, but we do not yet have code for this case
23:31:18.261 (loader): start ignoring usb:0/1D0000/0/1/5
23:31:18.264 (loader): end operation, total time = 0.043 seconds
23:31:18.270 (loader): redraw timer set, image 79 to show for 3000 ms
23:31:18.287 (ports 2): WM_DEVICECHANGE DBT_DEVNODES_CHANGED
23:31:18.287 (ports 2): nothing new, skipping HID & Ports enum
23:31:21.270 (loader): redraw, image 9
Please advise,
Jeff