PaulStoffregen / teensy_loader_cli

Command line Teensy Loader
http://www.pjrc.com/teensy/loader_cli.html
331 stars 152 forks source link

set correct write_size for teensy LC/3.X to fix boot only mode #41

Closed braingram closed 6 years ago

braingram commented 6 years ago

While digging around the code (Thanks!) I was having an issue getting the boot only option to work on a 3.2.

The issue was the boot only option wouldn't cause the teensy to start. I noticed that the buffer length was different for boot only vs boot after programming (1024 + 2 vs 1024 + 64).

I think this commit should fix the issue. I've tested it on the 3.2 and the boot only option now works.

PaulStoffregen commented 6 years ago

Thanks