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

Thread: Teensy 3.6 uploads intermittently

  1. #1
    Junior Member
    Join Date
    Mar 2020
    Posts
    5

    Teensy 3.6 uploads intermittently

    Hi all,

    I am trying to troubleshoot my way through an issue I'm having with my Teensy 3.6. As I was modifying some code, I randomly started getting this error when attempting to upload to the Teensy:

    Code:
    Arduino: 1.8.11 (Windows 10), TD: 1.51, Board: "Teensy 3.6, Keyboard + Mouse + Joystick, 180 MHz, Faster, US English"
    
    Sketch uses 52728 bytes (5%) of program storage space. Maximum is 1048576 bytes.
    Global variables use 20540 bytes (7%) of dynamic memory, leaving 241604 bytes for local variables. Maximum is 262144 bytes.
    C:\Program Files\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf -v -pmk66fx1m0 -cstk500v2 -Pusb -Uflash:w:C:\Users\fh829e\AppData\Local\Temp\arduino_build_477634/ServoGamepad.ino.hex:i 
    
    avrdude: Version 6.3-20190619
             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
             Copyright (c) 2007-2014 Joerg Wunsch
    
             System wide configuration file is "C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf"
    
    avrdude: AVR Part "mk66fx1m0" not found.
    
    Valid parts are:
      uc3a0512 = AT32UC3A0512       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14844]
      c128     = AT90CAN128         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:3648]
      c32      = AT90CAN32          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:4032]
      c64      = AT90CAN64          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:3840]
      pwm2     = AT90PWM2           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:9232]
      pwm216   = AT90PWM216         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:9505]
      pwm2b    = AT90PWM2B          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:9425]
      pwm3     = AT90PWM3           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:9415]
      pwm316   = AT90PWM316         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:9452]
      pwm3b    = AT90PWM3B          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:9439]
      1200     = AT90S1200          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:2109]
      2313     = AT90S2313          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:2338]
      2333     = AT90S2333          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:2451]
      2343     = AT90S2343          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:2579]
      4414     = AT90S4414          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:2225]
      4433     = AT90S4433          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:2703]
      4434     = AT90S4434          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:2827]
      8515     = AT90S8515          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:2910]
      8535     = AT90S8535          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:3024]
      usb1286  = AT90USB1286        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:12152]
      usb1287  = AT90USB1287        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:12343]
      usb162   = AT90USB162         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:12356]
      usb646   = AT90USB646         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:11948]
      usb647   = AT90USB647         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:12139]
      usb82    = AT90USB82          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:12543]
      m103     = ATmega103          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:3145]
      m128     = ATmega128          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:3468]
      m1280    = ATmega1280         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:10257]
      m1281    = ATmega1281         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:10447]
      m1284    = ATmega1284         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:4844]
      m1284p   = ATmega1284P        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:5038]
      m1284rfr2 = ATmega1284RFR2     [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:10882]
      m128rfa1 = ATmega128RFA1      [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:10667]
      m128rfr2 = ATmega128RFR2      [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:10770]
      m16      = ATmega16           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:4225]
      m161     = ATmega161          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:6370]
      m162     = ATmega162          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:5230]
      m163     = ATmega163          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:5428]
      m164p    = ATmega164P         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:4404]
      m168     = ATmega168          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:8207]
      m168p    = ATmega168P         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:8396]
      m168pb   = ATmega168PB        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:8408]
      m169     = ATmega169          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:5586]
      m16u2    = ATmega16U2         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:12920]
      m2560    = ATmega2560         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:10460]
      m2561    = ATmega2561         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:10654]
      m2564rfr2 = ATmega2564RFR2     [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:10872]
      m256rfr2 = ATmega256RFR2      [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:10721]
      m32      = ATmega32           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:6193]
      m3208    = ATmega3208         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15987]
      m3209    = ATmega3209         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:16011]
      m324p    = ATmega324P         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:4428]
      m324pa   = ATmega324PA        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:4620]
      m325     = ATmega325          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:13290]
      m3250    = ATmega3250         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:13671]
      m328     = ATmega328          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:8609]
      m328p    = ATmega328P         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:8794]
      m328pb   = ATmega328PB        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:8802]
      m329     = ATmega329          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:5768]
      m3290    = ATmega3290         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:5967]
      m3290p   = ATmega3290P        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:5981]
      m329p    = ATmega329P         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:5953]
      m32m1    = ATmega32M1         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:8814]
      m32u2    = ATmega32U2         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:12732]
      m32u4    = ATmega32U4         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:11757]
      m406     = ATMEGA406          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15182]
      m48      = ATmega48           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:7783]
      m4808    = ATmega4808         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:16035]
      m4809    = ATmega4809         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:16059]
      m48p     = ATmega48P          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:7970]
      m48pb    = ATmega48PB         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:7982]
      m64      = ATmega64           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:3285]
      m640     = ATmega640          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:10067]
      m644     = ATmega644          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:4636]
      m644p    = ATmega644P         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:4827]
      m644rfr2 = ATmega644RFR2      [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:10892]
      m645     = ATmega645          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:13481]
      m6450    = ATmega6450         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:13683]
      m649     = ATmega649          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:5994]
      m6490    = ATmega6490         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:6180]
      m64m1    = ATmega64M1         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:8834]
      m64rfr2  = ATmega64RFR2       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:10783]
      m8       = ATmega8            [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:6510]
      m8515    = ATmega8515         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:6678]
      m8535    = ATmega8535         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:6836]
      m88      = ATmega88           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:7995]
      m88p     = ATmega88P          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:8182]
      m88pb    = ATmega88PB         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:8194]
      m8u2     = ATmega8U2          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:13108]
      t10      = ATtiny10           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15137]
      t11      = ATtiny11           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:1604]
      t12      = ATtiny12           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:1668]
      t13      = ATtiny13           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:1801]
      t15      = ATtiny15           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:1976]
      t1604    = ATtiny1604         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15551]
      t1606    = ATtiny1606         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15575]
      t1607    = ATtiny1607         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15599]
      t1614    = ATtiny1614         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15843]
      t1616    = ATtiny1616         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15867]
      t1617    = ATtiny1617         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15891]
      t1634    = ATtiny1634         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14870]
      t20      = ATtiny20           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15147]
      t202     = ATtiny202          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15359]
      t204     = ATtiny204          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15383]
      t212     = ATtiny212          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15623]
      t214     = ATtiny214          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15647]
      t2313    = ATtiny2313         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:8859]
      t24      = ATtiny24           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:10903]
      t25      = ATtiny25           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:9515]
      t26      = ATtiny26           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:6994]
      t261     = ATtiny261          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:7151]
      t28      = ATtiny28           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:7725]
      t3214    = ATtiny3214         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15915]
      t3216    = ATtiny3216         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15939]
      t3217    = ATtiny3217         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15963]
      t4       = ATtiny4            [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15093]
      t40      = ATtiny40           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15164]
      t402     = ATtiny402          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15407]
      t404     = ATtiny404          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15431]
      t406     = ATtiny406          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15455]
      t412     = ATtiny412          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15671]
      t414     = ATtiny414          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15696]
      t416     = ATtiny416          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15720]
      t417     = ATtiny417          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15745]
      t4313    = ATtiny4313         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:9048]
      t43u     = ATtiny43u          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:11578]
      t44      = ATtiny44           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:11087]
      t441     = ATtiny441          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:11455]
      t45      = ATtiny45           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:9699]
      t461     = ATtiny461          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:7342]
      t5       = ATtiny5            [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15110]
      t804     = ATtiny804          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15479]
      t806     = ATtiny806          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15503]
      t807     = ATtiny807          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15527]
      t814     = ATtiny814          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15770]
      t816     = ATtiny816          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15795]
      t817     = ATtiny817          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15819]
      t84      = ATtiny84           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:11271]
      t841     = ATtiny841          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:11516]
      t85      = ATtiny85           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:9882]
      t861     = ATtiny861          [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:7533]
      t88      = ATtiny88           [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:8421]
      t9       = ATtiny9            [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:15120]
      x128a1   = ATxmega128A1       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14164]
      x128a1d  = ATxmega128A1revD   [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14180]
      x128a1u  = ATxmega128A1U      [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14190]
      x128a3   = ATxmega128A3       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14201]
      x128a3u  = ATxmega128A3U      [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14211]
      x128a4   = ATxmega128A4       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14222]
      x128a4u  = ATxmega128A4U      [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14280]
      x128b1   = ATxmega128B1       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14333]
      x128b3   = ATxmega128B3       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14392]
      x128c3   = ATxmega128C3       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14091]
      x128d3   = ATxmega128D3       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14144]
      x128d4   = ATxmega128D4       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14154]
      x16a4    = ATxmega16A4        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:13822]
      x16a4u   = ATxmega16A4U       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:13749]
    An error occurred while uploading the sketch
      x16c4    = ATxmega16C4        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:13802]
      x16d4    = ATxmega16D4        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:13812]
      x16e5    = ATxmega16E5        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14739]
      x192a1   = ATxmega192A1       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14466]
      x192a3   = ATxmega192A3       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14482]
      x192a3u  = ATxmega192A3U      [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14492]
      x192c3   = ATxmega192C3       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14403]
      x192d3   = ATxmega192D3       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14456]
      x256a1   = ATxmega256A1       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14566]
      x256a3   = ATxmega256A3       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14582]
      x256a3b  = ATxmega256A3B      [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14603]
      x256a3bu = ATxmega256A3BU     [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14613]
      x256a3u  = ATxmega256A3U      [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14592]
      x256c3   = ATxmega256C3       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14503]
      x256d3   = ATxmega256D3       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14556]
      x32a4    = ATxmega32A4        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:13911]
      x32a4u   = ATxmega32A4U       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:13838]
      x32c4    = ATxmega32C4        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:13891]
      x32d4    = ATxmega32D4        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:13901]
      x32e5    = ATxmega32E5        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14791]
      x384c3   = ATxmega384C3       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14624]
      x384d3   = ATxmega384D3       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14677]
      x64a1    = ATxmega64A1        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14011]
      x64a1u   = ATxmega64A1U       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14027]
      x64a3    = ATxmega64A3        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14038]
      x64a3u   = ATxmega64A3U       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14048]
      x64a4    = ATxmega64A4        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14059]
      x64a4u   = ATxmega64A4U       [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:13927]
      x64b1    = ATxmega64B1        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14069]
      x64b3    = ATxmega64B3        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14080]
      x64c3    = ATxmega64C3        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:13980]
      x64d3    = ATxmega64D3        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:13991]
      x64d4    = ATxmega64D4        [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14001]
      x8e5     = ATxmega8E5         [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14687]
      ucr2     = deprecated, use 'uc3a0512' [C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:14860]
    
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
    This happens almost every time I run the code, although it has not happened a few times, and it seems to be at random. I have attempted:
    • Changing the USB cable
    • Rebooting the Teensy
    • Rebooting my PC


    The source code doesn't seem to matter, as it happens with every program. Here is the error with blink, for reference. This is also on Windows.

    Click image for larger version. 

Name:	Blink.jpg 
Views:	6 
Size:	67.5 KB 
ID:	19385

    Edit: Forgot to mention that I get input from the Teensy from the Serial Monitor, so it is still communicating.

    Thanks!

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    10,920
    It looks like TeensyDuino is installed? If so it should be calling TeensyLoader/Teensy.exe to do the upload and not try to use AvrDude. Only a Teensy aware USB uploader like Teensy.exe will work to program a Teensy.

    Is the small 'Teensy' program showing on the screen with window area showing 'Press Button on Teensy to manually enter Program Mode'. Do a Ctrl+R build and you should see the Teensy.exe and on the lowest line of the program it should show the name of the HEX file connected. Then Push the Button.

  3. #3
    Junior Member
    Join Date
    Mar 2020
    Posts
    5
    Quote Originally Posted by defragster View Post
    It looks like TeensyDuino is installed? If so it should be calling TeensyLoader/Teensy.exe to do the upload and not try to use AvrDude. Only a Teensy aware USB uploader like Teensy.exe will work to program a Teensy.

    Is the small 'Teensy' program showing on the screen with window area showing 'Press Button on Teensy to manually enter Program Mode'. Do a Ctrl+R build and you should see the Teensy.exe and on the lowest line of the program it should show the name of the HEX file connected. Then Push the Button.
    So I randomly got it working again and I'm not sure why. I'll update if I figure out what it was. Thanks for the reply!

  4. #4
    Senior Member
    Join Date
    Dec 2016
    Location
    Montreal, Canada
    Posts
    3,261
    Ive seen and had that error. It is a windows side issue.

Posting Permissions

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