Can't upload any code while using Rx and Tx connected


so, few days i'm not able program esp8266, working fine , don't know heppened. error i'm getting:

arduino: 1.8.5 (windows 10), board: "arduino/genuino uno"



avrdude: version 6.3, compiled on jan 17 2017 @ 12:00:53
        copyright (c) 2000-2005 brian dean, http://www.bdmicro.com/
        copyright (c) 2007-2014 joerg wunsch

        system wide configuration file "c:\program files (x86)\arduino\hardware\tools\avr/etc/avrdude.conf"

        using port                    : com5
        using programmer              : arduino
        overriding baud rate          : 115200
        avr part                      : atmega328p
        chip erase delay              : 9000 us
        pagel                         : pd7
        bs2                           : pc2
        reset disposition             : dedicated
        retry pulse                   : sck
        serial program mode           : yes
        parallel program mode         : yes
        timeout                       : 200
        stabdelay                     : 100
        cmdexedelay                   : 25
        syncloops                     : 32
        bytedelay                     : 0
        pollindex                     : 3
        pollvalue                     : 0x53
        memory detail                 :

                                 block poll               page                       polled
          memory type mode delay size  indx paged  size   size #pages minw  maxw   readback
          ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
          eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
          flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
          lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
          hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
          efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
          lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
          calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
          signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

        programmer type : arduino
        description     : arduino
        hardware version: 3
        firmware version: 4.4
        vtarget         : 0.3 v
        varef           : 0.3 v
        oscillator      : 28.800 khz
        sck period      : 3.3 us

avrdude: avr device initialized , ready accept instructions

reading | ################################################## | 100% 0.00s

avrdude: device signature = 0x1e950f (probably m328p)
avrdude: reading input file "c:\users\rdalb\appdata\local\temp\arduino_build_195363/blink.ino.hex"
avrdude: writing flash (928 bytes):

writing | ######avrdude: stk500_recv(): programmer not responding

avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64
######avrdude: stk500_cmd(): programmer out of sync
avrdude: stk500_cmd(): programmer out of sync
avrdude: stk500_cmd(): programmer out of sync
avrdude: stk500_cmd(): programmer out of sync
...
...
...
#avrdude: stk500_cmd(): programmer out of sync
...
...
...
avrdude: stk500_cmd(): programmer out of sync
avrdude: stk500_cmd(): programmer out of sync
avrdude: stk500_cmd(): programmer out of sync
# | 100% 5.98s

avrdude: 928 bytes of flash written
avrdude: verifying flash memory against c:\users\rdalb\appdata\local\temp\arduino_build_195363/blink.ino.hex:
avrdude: load data flash data input file c:\users\rdalb\appdata\local\temp\arduino_build_195363/blink.ino.hex:
avrdude: input file c:\users\rdalb\appdata\local\temp\arduino_build_195363/blink.ino.hex contains 928 bytes
avrdude: reading on-chip flash data:

reading | avrdude: stk500_loadaddr(): (a) protocol error, expect=0x14, resp=0x48

avrdude: stk500_paged_load(): (a) protocol error, expect=0x14, resp=0x13
######avrdude: stk500_cmd(): programmer out of sync
avr_read(): error reading address 0x0000
   read operation not supported memory "flash"
avrdude: failed read of flash memory, rc=-2
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x20

avrdude done.  thank you.

a few other things: i'm connecting tx tx , rx rx, com port verified. i've tried different esp modules different pc's, both windows 10 64bit.

last thing, if upload blink without tx , rx connected uploads no problem, if connect tx rx able talk esp module threw @ commands , serial monitor without issues.

i've searched around alot , wasn't able find solve, or find out issue is.

thank in advance,

it normal , expected need disconnect external devices pins 0 , 1 prior uploading code.


Arduino Forum > Using Arduino > Installation & Troubleshooting > Can't upload any code while using Rx and Tx connected


arduino

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???