Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added windows routines #29

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Conversation

WMXZ-EU
Copy link

@WMXZ-EU WMXZ-EU commented Oct 19, 2016

merged windows routines from teensy_reboot.c to allow download (soft boot) with either serial or hid active.
tested on windows 10 with blink_slow_Teensy31.hex (is hid and not serial)
will work also after prog button pressed
dummy "list_teensies" routine was added "#else-windows" to allow compilation on non-windows systems
added Frank's changes to readme file

WMXZ-EU and others added 7 commits October 19, 2016 11:29
added soft boot  for windows
added  functionality to list teensy on usb
added option in help
removed (WMXZ) from title
Added dummy list_teensies for non-windows cases
Incr. MAX_MEMORY_SIZE to 1048576 (Teensy 3.6)
@PaulStoffregen
Copy link
Owner

Looks like this adds a fixed 1/4 second delay per write.

@WMXZ-EU
Copy link
Author

WMXZ-EU commented Oct 19, 2016

Without the additional delay, I got the synchronization (GetOverlappedResult) error.
maybe we could leave with a slower transfer, or find a better way to wait for write completion.

(pressed closed by mistake, so I reopened it)

@WMXZ-EU WMXZ-EU closed this Oct 19, 2016
@WMXZ-EU WMXZ-EU reopened this Oct 19, 2016
@WMXZ-EU
Copy link
Author

WMXZ-EU commented Oct 20, 2016

a delay of 0.05 was the found suitable to get programming working for T3.2 on my windows10 laptop.
Could the error 31 'device not functioning' indicate a handshake problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants