Hello, I tumbled upon an awkward issue last night : my Teensy 3.6 won't communicate by the USB cable (with my windows 10 laptop) unless I include the SD library & call SD.begin(<anything>)
For instance, this script does not print anything :
While this one does print "Test" :
I have been told that the RX/TX pins seemed to be mysteriously pulled up/down by a dark force and that the SD library somehow deblocked it...
I had been using this card for a while without any issue regarding the serial communication (though I had trouble using the internal SD card). The problem appeared when I first tried to read the register SDHC_IRQSTAT, which contains the status data of the internal SD card (I wanted to checj if it was detected). Now, each of my programs suffers the same issue, wether they use the SD card/SD libraries or not...
I'm looking for a short-term solution in priority because this teensy card is meant to be used in an important test next week, but I would love to understand this problem in order to definitively avoid it...
Thank you in advance for any advice !
For instance, this script does not print anything :
Code:
void setup() {
Serial.begin(9600);
Serial.println("Test");
}
void loop() {}
While this one does print "Test" :
Code:
#include <SD.h>
void setup() {
SD.begin();
Serial.begin(9600);
Serial.println("Test");
}
void loop() {}
I have been told that the RX/TX pins seemed to be mysteriously pulled up/down by a dark force and that the SD library somehow deblocked it...
I had been using this card for a while without any issue regarding the serial communication (though I had trouble using the internal SD card). The problem appeared when I first tried to read the register SDHC_IRQSTAT, which contains the status data of the internal SD card (I wanted to checj if it was detected). Now, each of my programs suffers the same issue, wether they use the SD card/SD libraries or not...
I'm looking for a short-term solution in priority because this teensy card is meant to be used in an important test next week, but I would love to understand this problem in order to definitively avoid it...
Thank you in advance for any advice !