Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 9 of 9

Thread: Code43

  1. #1
    Junior Member
    Join Date
    Jan 2017
    Posts
    4

    Code43

    Hello, I know this has been a problem in the past, but I was writing code for my Teensy 3.6 that used the serial monitor a lot and I must have tried to download my code too many times in a row very quickly and suddenly Windows couldn't recognize the USB device. When I checked the Device Manager, I saw that the error was "Code 43."

    I saw on this forum that you should completely shut down, take out the battery in your laptop and wait a few minutes. I've done that but it was unsuccessful. I also tried updating the USB devices in Device Manager, but it didn't work.

    Any suggestions?
    Thanks!

  2. #2
    Senior Member
    Join Date
    Jul 2014
    Posts
    3,063
    Quote Originally Posted by melissma09 View Post
    Hello, I know this has been a problem in the past, but I was writing code for my Teensy 3.6 that used the serial monitor a lot and I must have tried to download my code too many times in a row very quickly and suddenly Windows couldn't recognize the USB device. When I checked the Device Manager, I saw that the error was "Code 43."

    I saw on this forum that you should completely shut down, take out the battery in your laptop and wait a few minutes. I've done that but it was unsuccessful. I also tried updating the USB devices in Device Manager, but it didn't work.

    Any suggestions?
    Thanks!
    pressing the program button exactly 15 sec. (between 13 and 17) , does this help?

  3. #3
    Senior Member
    Join Date
    Dec 2016
    Location
    Montreal, Canada
    Posts
    3,600
    also, dont use IDE 1.8 of arduino, there have been driver issues. You should be using 1.8.1 with latest teensyduino.

  4. #4
    Junior Member
    Join Date
    Jan 2017
    Posts
    4
    Quote Originally Posted by tonton81 View Post
    also, dont use IDE 1.8 of arduino, there have been driver issues. You should be using 1.8.1 with latest teensyduino.
    I was using IDE 1.8, but I installed 1.8.1 and went to install teensyduino, 1.8.1 was not supported by it.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	help.jpg 
Views:	30 
Size:	84.3 KB 
ID:	9417  

  5. #5
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    8,469
    Try installing the Beta: https://forum.pjrc.com/threads/41343...Arduino-1-8-1)

    For the most part I don't think anything changed in this beta except to support this release.

  6. #6
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,741
    The driver problems of 1.8.0 are not related to Teensy. Switching to Arduino 1.8.1 is unlikely to help, but it shouldn't hurt either.

  7. #7
    Junior Member
    Join Date
    Jan 2017
    Posts
    4
    Quote Originally Posted by KurtE View Post
    Try installing the Beta: https://forum.pjrc.com/threads/41343...Arduino-1-8-1)

    For the most part I don't think anything changed in this beta except to support this release.
    Thanks for the link! It installed and the Code 43 went away. Now it is Code 10, saying that the device cannot start. I think my teensy burnt out. Thanks for all of your help though, I might just need to buy a new one.Click image for larger version. 

Name:	help.jpg 
Views:	49 
Size:	89.6 KB 
ID:	9421

  8. #8
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,741
    Have you tried holding the button while you plug the cable in? This prevents any previously loaded bad code from being able to run, and then it goes directly into bootloader mode when you release the button. Make sure Teensy Loader is *not* in auto mode, so it doesn't immediately reprogram your Teensy with the same thing.

  9. #9
    Junior Member
    Join Date
    Jan 2017
    Posts
    4
    Quote Originally Posted by PaulStoffregen View Post
    Have you tried holding the button while you plug the cable in? This prevents any previously loaded bad code from being able to run, and then it goes directly into bootloader mode when you release the button. Make sure Teensy Loader is *not* in auto mode, so it doesn't immediately reprogram your Teensy with the same thing.
    I gave up and was writing other code with the teensy plugged in and suddenly it started working again! I might have done what you just suggested by mistake, I kept trying to reset the teensy by holding the button every once in awhile.

    Thanks all for your help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •