Windows XP allow me to upload a sketch one time only

Status
Not open for further replies.

Yanko

Member
For any modification on a sketch, not matter how simple, I need to restart the PC.
All my sketches run with no problem but if I want to modify them I get:

Teensy did not respond to a USB-based request to automatically reboot.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.

Pressing that button doesn't do anything.

I'm using Teensy 3.2 and have Arduino 1.6.8 / Teensyduino 1.28 on Win XP.

Any suggestions ?

Thanks.
 
Unplug USB cable from computer - as you plug it back in - 'to a different USB port' - hold the button - wait a sec - release the button? Open Help/Verbose in TeensyDuino for a log of the port activity.

install TYQT and see if it provides any connection info and a RESET option for the device if it connects.
 
Unplug USB cable from computer - as you plug it back in - 'to a different USB port' - hold the button - wait a sec - release the button? Open Help/Verbose in TeensyDuino for a log of the port activity.

install TYQT and see if it provides any connection info and a RESET option for the device if it connects.

Thanks defragster !

After following your steps I got from Verbose Info

08:58:30: Teensy Loader 1.28, begin program
08:58:30: File "MIN-Reed_eVane.ino.hex". 21732 bytes, 8% used
08:58:30: Listening for remote control on port 3149
08:58:30: initialized, showing main window
08:58:31: remote connection opened
08:58:31: remote cmd: "comment: Teensyduino 1.28 - WINDOWS"
08:58:31: remote cmd: "dir:C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\buildffc1569ae595a2a716858e6fe0ff451a.tmp\"
08:58:31: remote cmd: "file:MIN-Reed_eVane.ino.hex"
08:58:31: File "MIN-Reed_eVane.ino.hex". 21732 bytes, 8% used
08:58:31: remote cmd: "status"
08:58:31: status data sent
08:58:31: remote cmd: "auto:eek:n"
08:58:31: remote connection closed
08:58:31: HID/win32: vid:045E pid:0750 ver:0110
08:58:31: HID/win32: vid:045E pid:0750 ver:0110
08:58:58: Verbose Info event

Sorry, no idea how to make sense of this info or, what to do after running TYQT as well.
However ... empirically I found the following procedure that solve the problem for the time being.

1
Turn on PC / Windows XP
Plug Teensy 3.2 on USB
Open Arduino 1.6.8 / Teensyduino 1.28

2
Press Teensy's button (go into prog mode)

3
Modify Sketch
Press Verify

4
If sketch not Ok go to Step #3

5
If sketch Ok it will upload/compile
IMMEDIATELY AFTER UPLOAD READY: TURN OFF Teensy Loader

6
If not happy yet with your sketch go to Step #2
Else smile !

Yes, I know that this is a lousy way around but it allow me to keep on working on the main task!

For the sake of this community, if you are interested on finding this WINDOWS-bug I can gladly follow your tests or instructions.

Thanks again.
 
I jumped into conclusions to quickly !!
Today the upload-only-once is with me again.

I'm back to square one.
 
Did you see any change in the rest of p#2 - replug to another USB port? The Verbose would mean something to Paul to see the devices coming and going. TYQT also makes a "Tools / Open log' of what it see's. When it see's a device it is displayed USB or HID/Bootloader mode. And when TYQT can see it - you can issue a reset or upload command in some fashion - might help see when the device is online.
 
No change with " - replug to another USB port"

While having the USB-plugged Teensy 3.2 running a sketch,
Arduino IDE with a slightly modified sketch compiled and
the Teensy Loader telling me to press the Teensy's button (pressing the button stop the sketch but nothing else),
I run TyQt and the TyQt-log shows:

DeviceIoControl(IOCTL_USB_GET_NODE_INFORMATION) failed
DeviceIoControl(IOCTL_USB_GET_NODE_INFORMATION) failed
 
I moved everything to another machine with Win XP and problem solved.
Apparently Windows was slightly corrupt.

Thanks defragster, I appretiate your concern !
 
Cool glad you had a way to get going - I didn't want to add the next sentence "If this doesn't show signs of life your computer/drivers must have issues" - hoping maybe somebody else might recognize your issue.
 
I'd upgrade to a contemporary and supported OS first. Win XP is not longer supported and is thus a huge security risk, not only for you, but also for others (hidden trojan or bot activity)...
 
Status
Not open for further replies.
Back
Top