Hello
I have ran into a problem (outlined below) and I have tried many things to overcome it but to no avail. Any help on this matter would be much appreciated.
I have been using my Teensy for a few months now and have not had any problems. However I was using it the other day and doing some coding when I saw a spark, very briefly, because the positive and negative wires of the APA102 touched. Safety aside, not long after this(a few hours) the uploading of sketches to the Teensy started messing up. I upload a sketch and usually there are 2 beeping noises to confirm the upload. I also use the serial monitor. However since the spark incident whenever I upload there is only 1 beep, IE the IDE saying it has completed uploading but it does not seem to get to the Teensy beep because the comment saying Teensy is not connected to the USB port comes up. Furthermore when I open the serial monitor there are potentially a few things happening. Sometimes the USB port is not recognised and therefore it says "no serial port name defined" at other times it says "Error while setting serial port parameters: 9,600 N 8 1", with 9,600 being the baud rate i have set.
I have done some Google research and the general consensus from what I can understand is to uninstall and restart the IDE and the Teensyduino software. I did this a few times including a full shut down of my computer and nothing has changed. I have ran it with admin mode too but no difference. The only time something did change was when I removed the firewall from my computer and there would then be 2 beeps to indicate the data had gone to the Teensy, but when I tried to open the monitor it still came up with the same error message (Error while setting serial port parameters: 9.600 N 8 1). I think something is wrong linked to the ports but I am no expert with computers so I am keen to hear what anyone has to say. I something stopping it, or altering it in someway. Im lost
I have also changed my USB cable from computer to Teensy in case that was ruined by the spark. I have also tried every port on the computer in addition to testing out the ports with other things, and they all seem fine. Also used a new Teensy as I had a spare one lying around.
Help is very much appreciated here!
Complete Source Code (or a link to the code) - It does not matter if there is any code or not(I tried an empty sketch and it still did not work), the problem seems to be with connections
Screenshot or the exact text of any error messages -
1) Error while setting serial port parameters: 115,200 N 8 1
2)Teensy did not respond to a USB-based request to automatically reboot.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.
3)no serial port name defined
Which PJRC product you're using - Teensy 3.2
Part numbers of any other chips or modules + links to their info - APA102c addressable LED strip, but this is not where the error lays
Wiring details - how exactly have you connected the hardware (a photo's worth 1000 words) - Wiring positive 5V to Vin and Ground to GND, data and clock to pins 11 and 13, and also data/clock to 7 and 14 too.
Software setup, Arduino vs C+makefile, running on Windows, Mac or Linux?Versions? - Windows 10 and Arduino IDE
Any other information needed to reproduce the problem..... I thnk I have explained it all above. Sometimes the rror message has 9,600 at other times 115,200 simply because i have tried changing the baud rate in the monitor window but that did not change anything
EDIT: added last few lines
I have ran into a problem (outlined below) and I have tried many things to overcome it but to no avail. Any help on this matter would be much appreciated.
I have been using my Teensy for a few months now and have not had any problems. However I was using it the other day and doing some coding when I saw a spark, very briefly, because the positive and negative wires of the APA102 touched. Safety aside, not long after this(a few hours) the uploading of sketches to the Teensy started messing up. I upload a sketch and usually there are 2 beeping noises to confirm the upload. I also use the serial monitor. However since the spark incident whenever I upload there is only 1 beep, IE the IDE saying it has completed uploading but it does not seem to get to the Teensy beep because the comment saying Teensy is not connected to the USB port comes up. Furthermore when I open the serial monitor there are potentially a few things happening. Sometimes the USB port is not recognised and therefore it says "no serial port name defined" at other times it says "Error while setting serial port parameters: 9,600 N 8 1", with 9,600 being the baud rate i have set.
I have done some Google research and the general consensus from what I can understand is to uninstall and restart the IDE and the Teensyduino software. I did this a few times including a full shut down of my computer and nothing has changed. I have ran it with admin mode too but no difference. The only time something did change was when I removed the firewall from my computer and there would then be 2 beeps to indicate the data had gone to the Teensy, but when I tried to open the monitor it still came up with the same error message (Error while setting serial port parameters: 9.600 N 8 1). I think something is wrong linked to the ports but I am no expert with computers so I am keen to hear what anyone has to say. I something stopping it, or altering it in someway. Im lost
I have also changed my USB cable from computer to Teensy in case that was ruined by the spark. I have also tried every port on the computer in addition to testing out the ports with other things, and they all seem fine. Also used a new Teensy as I had a spare one lying around.
Help is very much appreciated here!
Complete Source Code (or a link to the code) - It does not matter if there is any code or not(I tried an empty sketch and it still did not work), the problem seems to be with connections
Screenshot or the exact text of any error messages -
1) Error while setting serial port parameters: 115,200 N 8 1
2)Teensy did not respond to a USB-based request to automatically reboot.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.
3)no serial port name defined
Which PJRC product you're using - Teensy 3.2
Part numbers of any other chips or modules + links to their info - APA102c addressable LED strip, but this is not where the error lays
Wiring details - how exactly have you connected the hardware (a photo's worth 1000 words) - Wiring positive 5V to Vin and Ground to GND, data and clock to pins 11 and 13, and also data/clock to 7 and 14 too.
Software setup, Arduino vs C+makefile, running on Windows, Mac or Linux?Versions? - Windows 10 and Arduino IDE
Any other information needed to reproduce the problem..... I thnk I have explained it all above. Sometimes the rror message has 9,600 at other times 115,200 simply because i have tried changing the baud rate in the monitor window but that did not change anything
EDIT: added last few lines
Last edited: