When compiling and uploading code without using the Arduino/Teensyduino IDE, serial port emulation does not kick in for some reason. I use the Makefiles supplied with the Teensyduino (with some modifications). These are the last two commands executed:
teensy_post_compile -file=main -path=. -tools=c:/opt/TeensyTools
teensy_reboot -v -v -v -v -pmk20dx256 -chalfkay -P\\.\COM4 -b12000000 -D -Uflash:w:main.hex:i
I figured the last command has something to do with port emulation as it has "COM4" in it.
When uploading code using the Arduino IDE, serial port emulation usually works (it fails sometimes and then I just re-upload).
What may be the problem?
Thanks.
teensy_post_compile -file=main -path=. -tools=c:/opt/TeensyTools
teensy_reboot -v -v -v -v -pmk20dx256 -chalfkay -P\\.\COM4 -b12000000 -D -Uflash:w:main.hex:i
I figured the last command has something to do with port emulation as it has "COM4" in it.
When uploading code using the Arduino IDE, serial port emulation usually works (it fails sometimes and then I just re-upload).
What may be the problem?
Thanks.