Hi,
i am using the Teensy 3.1 + Dragino Yun Shield + Teensy3.1 Arduino adapter to test.
i am trying to upload the image from the Yun Shield to Teensy via USB. since i want all the process to be automatically. i want to use the Prog pin from Teensy. i tried to run below command to upload.
root@dragino-ae097e:~# teensy_loader_cli -w -v -mmcu=mk20dx256 blink_slow_Teensy31.hex
Teensy Loader, Command Line, Version 2.0
Read "blink_slow_Teensy31.hex": 14324 bytes, 5.5% usage
Found HalfKay Bootloader
Programming..............
Booting
but i have inconsistent while using the Prog pin. the procedure i try is:
1/ run teensy_loader_cli -w -v -mmcu=mk20dx256 blink_slow_Teensy31.hex . and the console will wait for the teensy boot into bootloader
2/ set Prog to low and then set it high by commands.
but the problem is that the Yun Shield can't see teensy from the USB port so can't upload the image. And after a reboot , i remove all signal from the Teensy Prog pin. and the uploader suddently can upload the image 100% without problem.
How to use the Prog pin seems inconsistent to me. if some one can explain more. it will be great. Thank you.
Best Regards,
Edwin
i am using the Teensy 3.1 + Dragino Yun Shield + Teensy3.1 Arduino adapter to test.
i am trying to upload the image from the Yun Shield to Teensy via USB. since i want all the process to be automatically. i want to use the Prog pin from Teensy. i tried to run below command to upload.
root@dragino-ae097e:~# teensy_loader_cli -w -v -mmcu=mk20dx256 blink_slow_Teensy31.hex
Teensy Loader, Command Line, Version 2.0
Read "blink_slow_Teensy31.hex": 14324 bytes, 5.5% usage
Found HalfKay Bootloader
Programming..............
Booting
but i have inconsistent while using the Prog pin. the procedure i try is:
1/ run teensy_loader_cli -w -v -mmcu=mk20dx256 blink_slow_Teensy31.hex . and the console will wait for the teensy boot into bootloader
2/ set Prog to low and then set it high by commands.
but the problem is that the Yun Shield can't see teensy from the USB port so can't upload the image. And after a reboot , i remove all signal from the Teensy Prog pin. and the uploader suddently can upload the image 100% without problem.
How to use the Prog pin seems inconsistent to me. if some one can explain more. it will be great. Thank you.
Best Regards,
Edwin