Teensy 3.1 "Unable to Reboot" & "Download Error"

Status
Not open for further replies.

kiwirider

Member
Hi All,

I'm currently having issues programming a teensy 3.1 board through Teensyduino (in windows 7 32 bit). I get the same issue with a number of arduino scripts that I know are bug free.

Recently the board has taken a while to reprogram (windows doesn't identify the usb device etc. and it takes a bit of playing around - unplugging and plugging the usb before it connects)

Now I'm getting "Download Error" and "Unable to Reboot" errors in the Teensy window. The Teensy appears to be connected and I have the option of hitting the reboot and program buttons (they're green) in the teensy window.

I've copied logs for both cases below and hope someone can identify the problem....

Log when hitting the "Program" Button and getting "Download Error"

12:29:00: HID/win32: waiting for device
12:29:00: HID/win32: waiting for device
12:29:00: HID/win32: waiting for device
12:29:00: HID/win32: waiting for device
12:29:00: HID/win32: waiting for device
12:29:00: HID/win32: waiting for device
12:29:00: HID/win32: waiting for device
12:29:00: HID/win32: waiting for device
12:29:00: program: write error
12:29:00: HID/win32: HidD_GetPreparsedData ok, device still online :)
12:29:00: end operation
12:29:00: redraw timer set, image 11 to show for 4000 ms
12:29:04: redraw, image 10


Log when hitting the "reboot" button and getting the "Unable to Reboot"


12:43:55: HID/win32: waiting for device
12:43:55: HID/win32: waiting for device
12:43:55: HID/win32: waiting for device
12:43:55: HID/win32: waiting for device
12:43:55: HID/win32: waiting for device
12:43:55: HID/win32: waiting for device
12:43:55: HID/win32: waiting for device
12:43:55: HID/win32: waiting for device
12:43:55: HID/win32: waiting for device
12:43:55: HID/win32: waiting for device
12:43:55: HID/win32: waiting for device
12:43:55: HID/win32: waiting for device
12:43:55: HID/win32: waiting for device
12:43:55: begin wait_until_offline
12:43:55: HID/win32: HidD_GetPreparsedData ok, device still online :)
12:43:58: offline failed, timeout after 50
12:43:58: reboot error
12:43:58: end operation
12:43:58: redraw timer set, image 13 to show for 4000 ms
12:44:02: redraw, image 10
12:44:02: Verbose Info event

Any help is appreciated with this (its making what should be a fairly simple project a very time consuming one!)

Thanks in advance
 
Something's really wrong with you USB or drivers. Any chance you can compare with another computer? Or try a different port, cable, and eliminate any USB hubs?

These sorts of errors happen when the communication is getting corrupted, badly. Something is very messed up.
 
Thanks for the response. It seems strange. I had the same error with a different computer and about a week later the same Teensy board and computer worked perfectly and I haven't had any issues since.
 
I had the same problem here, on different computers and with different cables. Seems to be working okay again now.
 
With T3.2 (i.e. new MKL02 Boot-chip) this types of problems increased. (seems the new chip is faster than the old one)
As I use windows, I always found it instructive to keep the device manager open and to observe the refresh (which happens when something on USB changes) You will note that the times between refreshes may vary significantly. Unfortunately this is rather random, and we could not convince Paul to investigate the timings during the Boot process.
 
I'm having the same issue on a 2016 Macbook Pro, Teensy 3.1, Arduino 1.8.3, Teensy 1.37.

Sometimes the software/hardware will get into a state where it refuses to boot. This persisted across a restart of the computer (!)

Loading the Blink sketch onto a fresh Teensy (3.2) seems to have made everything happy again; my original Teensy (3.1) works again after this.
 
I'm having the same issue on a 2016 Macbook Pro, Teensy 3.1, Arduino 1.8.3, Teensy 1.37.

Sometimes the software/hardware will get into a state where it refuses to boot. This persisted across a restart of the computer (!)

Loading the Blink sketch onto a fresh Teensy (3.2) seems to have made everything happy again; my original Teensy (3.1) works again after this.

I have the same problem but I don't have another Teensy to use. It seems I have to unplug my Teensy 3.2, restart my Mac, restart Teensy, Restart Arduino with Teensy and then SOMETIMES that works. Has there been another solution? It worked for a long time and then did some programming in SERCOMs and it started happening randomly. When it doesn't work, it seems like the TEENSY program doesn't recognize the re-connected TEENSY 3.2 board and pressing the button doesn't initiate a reboot.
 
Status
Not open for further replies.
Back
Top