Koromix / tytools

Collection of tools to manage Teensy boards
https://koromix.dev/tytools
The Unlicense
220 stars 27 forks source link

Couldn't upload firmware #78

Closed lavanthaya closed 3 years ago

lavanthaya commented 3 years ago

Hi,

I am trying to use tytools from the Ubuntu machine to upload firmware to the teensy board (3.2), But it's not happening. With tytools, I can list connected devices, can monitor but upload and reset is not working, I'm getting below error,

image

Can anyone please help me with this? Note:I am running an ubuntu machine on a VMware workstation (VM).

Koromix commented 3 years ago

Which version ot TyTools are you using? Type tycmd --version to check.

lavanthaya commented 3 years ago

My version is, tycmd 0.9.3-7-g766531b

Koromix commented 3 years ago

Did you follow the Linux instructions to setup udev correctly? You can find them here: https://www.pjrc.com/teensy/td_download.html (Linux installation part)

lavanthaya commented 3 years ago

Yes, I followed the same instruction to install teensy, As I mentioned above, I can use tycmd command with "list" or "monitor", only the "upload" or "reset" commands are not working

Koromix commented 3 years ago

I just noticed the use of VMWare.

When a Teensy is programmed, the device disappears and then reappears. If you don't automatically (or quickly) ressasign it to the VM, it looks like it is gone from inside the VM.

I think that explains the problem you are seeing. I'm closing this issue for this reason, feel free to reopen if I'm mistaken.