tytools icon indicating copy to clipboard operation
tytools copied to clipboard

tycmd: reboot hangs when uploading from RPi 4B

Open SJFOM opened this issue 2 years ago • 1 comments

I am running BalenaOS and have a working version of the tycmd tool running on my Raspberry Pi 4B 8G model. Screenshot 2022-09-27 at 10 30 52

However, when I attempt to upload firmware to a Teensy 4.1 MCU, the tycmd tool has trouble rebooting the Teensy. This is true either:

  • If I don't use the --wait flag and the tycmd tool attempts to reboot the Teensy itself
  • If I do use the --wait flag, press the user button -> tycmd will have trouble rebooting the Teensy after a successful program. Screenshot 2022-09-26 at 19 04 19

I have the correct udev rules installed (00-teensy.rules) and they appear in my system.

Screenshot 2022-09-26 at 19 00 18

I have tried building with cmake using the -DCMAKE_BUILD_TYPE=Debug flag but it doesn't seem to yield any extra output. Any ideas on what might be the cause here or what else I could try?

SJFOM avatar Sep 27 '22 09:09 SJFOM

Could you try with the option tycmd --rtc none <firmware>?

Koromix avatar Nov 25 '22 09:11 Koromix