Teensy Loader -- Error writing to Teensy LC

Status
Not open for further replies.

yeahtuna

Well-known member
I've built my own firmware updater routine based of the teensy loader cli that supports Teensy 2.0, Teensy 3.2, and Teensy LC chips that I use in my various products.

I've noticed that about 5% of the time, updating teensy LC chips on OSX timesout when writing the second block of code. I was going to edit this following line and I was wondering if this could cause any negative side effects:

Code:
r = teensy_write(buf, write_size, first_block ? 3.0 : 0.25);

And change it to something like:
Code:
r = teensy_write(buf, write_size, first_block ? 3.0 : 0.5);

Regards,
Rob
 
For a sanity check you might try it with TYQT and see if it ever shows your failure case on the LC? Not that you wouldn't want to have it work in spite of hardware anomaly. Also TYQT source is posted - you might look for that line in Koromix code to see if it has been altered?
 
Status
Not open for further replies.
Back
Top