Teensy stop serial

Status
Not open for further replies.

afbayonac

New member
using

  • teesy 3.2
  • teensy_serialmon
  • arch linux
  • platformio

the serial monitor stop after a few seconds, but if I use the flag "-D USB_RAWHID" that work fine.

Code:
#include "WProgram.h"

extern "C" int main() {
	Serial.begin(19200);
	delay(3000);
	pinMode(13, OUTPUT);
	
	for (int i = 0; ; i++) {
		Serial.print("...\n ");
		Serial.print(i);
		delay(100);
		digitalWrite(13, i % 2);
	}
}

:confused:
 
now I can't use teensyduino, no work

Screenshot_20190623_212809.jpg

before I uploaded the code with -D USB_SERIAL , if not, arduino does not recognize the teensy
 
At that point a Button press should facilitate the upload if the cable is good. Did a Button press allow the upload?

Indeed without USB running on the Teensy in some fashion ( compiled in and sketch running properly ) - the Computer cannot trigger an automated upload and that requires a Button press.

Not a Linux user - but I've seen notes about the system re-assigning Teensy USB ports to system modem manager or something to that effect - which could explain the loss of Serial Monitor connection and the ability to upload from the IDE.
 
Status
Not open for further replies.
Back
Top