defragster
Senior Member+
Pulled out a T_3.5 - used quite a bit in past for past testing - not used in Months++
- Once cut VIN<>VUSB - now soldered again
- Top side Female headers in place
- No problems when last used
>> This is Win 11 with TD 1.57
Normal Single USB SERIAL:
TyCommander sees it come online - as does Windows with CHIME IN and CHIME OUT when unplugged.
Can be reprogrammed with Button only
Program appears to run
Tested with NEW unwrapped T_3.5 and all is well using same code: Single or DUAL Serial
Build with DUAL Serial:
> SerialUSB1: works
> Serial: now works as expected?
> Software build and Teensy Upload works without Button?
> repeat upload works
Rebuild USB Serial and if prior Dual Serial it will upload, once programmed as USB Serial only - it fails.
> and Serial Print does not appear
> Teensy Loader only sees device after Button
Test code to have uploaded with Button by putting 3.3V on pin #33 and the Teensy will restart
Code to see SerialUSB1 when built DUAL Serial all is well?
> IIRC - somebody noted a T_3.2 not working right when Serial used? Didn't read to see if related.
- Once cut VIN<>VUSB - now soldered again
- Top side Female headers in place
- No problems when last used
>> This is Win 11 with TD 1.57
Normal Single USB SERIAL:
TyCommander sees it come online - as does Windows with CHIME IN and CHIME OUT when unplugged.
Can be reprogrammed with Button only
Program appears to run
Tested with NEW unwrapped T_3.5 and all is well using same code: Single or DUAL Serial
Build with DUAL Serial:
> SerialUSB1: works
> Serial: now works as expected?
> Software build and Teensy Upload works without Button?
> repeat upload works
Rebuild USB Serial and if prior Dual Serial it will upload, once programmed as USB Serial only - it fails.
> and Serial Print does not appear
> Teensy Loader only sees device after Button
Test code to have uploaded with Button by putting 3.3V on pin #33 and the Teensy will restart
Code to see SerialUSB1 when built DUAL Serial all is well?
Code:
void ResetInterrupt() {
SCB_AIRCR = 0x5FA0004;
while (true);
}
elapsedMillis noDelay;
void setup() {
Serial.begin(115200);
while (!Serial && millis() < 10000 );
Serial.println("\n" __FILE__ " " __DATE__ " " __TIME__);
#if defined(USB_DUAL_SERIAL)
SerialUSB1.println("\n" __FILE__ " " __DATE__ " " __TIME__);
#endif
if (CrashReport) Serial.print(CrashReport);
pinMode(13, OUTPUT);
// like this - pick a pin 33 or other ... pulldown/rising or pullup/falling
pinMode(33, INPUT_PULLDOWN);
attachInterrupt(33, ResetInterrupt, RISING);
//NVIC_SET_PRIORITY(IRQ_GPIO6789, 0);
}
void loop() {
if ( noDelay > 1000 ) {
noDelay -= 1000;
digitalToggle( LED_BUILTIN );
}
}
> IIRC - somebody noted a T_3.2 not working right when Serial used? Didn't read to see if related.