#11 Repairing broken Arduino Nano Clones, Episode 1 - Upload issues

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ส.ค. 2022
  • If you are having issues uploading a sketch into Arduino Nano with errors similar to those below, the video will take you through some troubleshooting and a fix for one of the scenarios.
    Error uploading:
    avrdude: stk500_paged_load(): (a) protocol error, expect=0x10, resp=0x6f
    #avrdude: stk500_cmd(): programmer is out of sync
    avr_read(): error reading address 0x0000
    read operation not supported for memory "flash"
    avrdude: failed to read all of flash memory, rc=-2
    avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x66
    I bought my ch340 from eBay: www.ebay.com/itm/303644448714
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 34

  • @gatisgailitis6823
    @gatisgailitis6823 ปีที่แล้ว +2

    I also have pile on Nanos with the same problem. Thanks, for showing, that it is not so hard to change the CH340, cause with micro USB ports in EU it is getting hard to find with decent price. I am more curious, why they are dying. Made a design, that Nano can be powered only from USB or only from PCBs 5v regulator. Only thing what i suspect right now is static electricity from usb wires.

    • @MyGeekyHobby
      @MyGeekyHobby  ปีที่แล้ว

      thanks for the comment. Interesting observation, in my case all the broken ones that I had, were broken when they were new. Static can be a problem, the design of the nano clone is very basic and has no protection on the USB lines.

  • @atuk5854
    @atuk5854 ปีที่แล้ว +1

    please, explain. How you got the sketch that ouputs something in serial monitor. While not beeing able to upload anything into the arduino? --sorry for my english i'm from czech

    • @MyGeekyHobby
      @MyGeekyHobby  ปีที่แล้ว +1

      The upload was failing as some bytes were "corrupted" by the ch340 chip...so the "verify" step after programming was failing... on the other hand the sketch was still able to send most of the data to the computer ... but we saw some characters of the text were incorrect. Hope that makes sense.

  • @georgekaramolegos
    @georgekaramolegos 3 หลายเดือนก่อน

    What temp is your soldering iron ?

  • @stoptheirlies
    @stoptheirlies 7 หลายเดือนก่อน

    Hi, good video thank you. I have three Nano which have no crystal next to the Serial chip
    and the chip itself is the same amount of pins to the CH40 but this one has no writing on it
    at all, I tried fitting a CH40 but it doesn't work, Have you any idea what this chip is please

    • @MyGeekyHobby
      @MyGeekyHobby  7 หลายเดือนก่อน +1

      Some versions of CH340 don't require the crystal, so if your PCB doesn't have the crystal make sure you use CH340C ... not the CH340G.

    • @stoptheirlies
      @stoptheirlies 7 หลายเดือนก่อน

      Thank you Sir, I will check that out

  • @debeeriz
    @debeeriz ปีที่แล้ว

    my nano clone got shorted when i was testing with multimeter it still shows a light and programs but to get voltage out on any of the digital pins it has to be powered with the barrel jack

    • @MyGeekyHobby
      @MyGeekyHobby  ปีที่แล้ว

      check out the other video #12

  • @mokkamanmaxx2706
    @mokkamanmaxx2706 3 หลายเดือนก่อน +1

    My nano seems to randomly work and randomly not work, I know it works when i press the reset button a sequence of led blinks so is it still the ch40 chipset or something else?

    • @x-gamessimulator1067
      @x-gamessimulator1067 3 หลายเดือนก่อน +1

      The problem is with the diode!
      Try powering the board from pin 5V or VIN and GND.

  • @kwankunghkg
    @kwankunghkg หลายเดือนก่อน

    ProMini uses external USBserial chip to further cut cost & space

  • @antdavisonNZ
    @antdavisonNZ 4 หลายเดือนก่อน +1

    mine was also a stk500_recv error - ch340 chipped Nano clone with no underboard crystal next to the ch340-chip-pins7and8, setup as Board:Arduino Nano" Processor:"ATMega328P", changing to the below setting made it work, without doing anything else
    Tools = Processor: ATMega328P (old bootloader)

    • @MyGeekyHobby
      @MyGeekyHobby  4 หลายเดือนก่อน

      that suggests your board was running the old bootloader. Thanks for the heads up.

  • @Intelligent_child
    @Intelligent_child ปีที่แล้ว

    My L led keeps blinking and POW pin is on high and its showing uplpading error

  • @saikiran-rw8sk
    @saikiran-rw8sk ปีที่แล้ว

    RX , TX LEDs on my arduino nano are always high and i cant upload any sketch to it. can u help me with this?

    • @MyGeekyHobby
      @MyGeekyHobby  ปีที่แล้ว +1

      both LEDs on suggests that either the atmega328 or the ch340 are broken :( ... you could try to connect external usb - ttl converter the same way I did, but connect both TX and RX signals and check if you can program this way...

    • @memelate9624
      @memelate9624 ปีที่แล้ว

      Bro the cap in my Arduino nano (near ch341) was damaged so I removed it and shorted it using solder
      Now the pc dosnt detect the Arduino
      Wat do I do :/

    • @MyGeekyHobby
      @MyGeekyHobby  ปีที่แล้ว

      @@memelate9624 in most cases the cap should not be shorted (most of the caps on the arduino are installed across power rails so if you short it, you are essentially shorting the power lines) ... better to remove the cap and remove the short

    • @memelate9624
      @memelate9624 ปีที่แล้ว

      Will it work without cap?

    • @MyGeekyHobby
      @MyGeekyHobby  ปีที่แล้ว

      @@memelate9624 usually yes, but depends how it’s used. If it was decoupling cap and you replaced it with solder blob you probably shorted power, and one diode that supply power I’d also broken - watch the other episode for more info.

  • @pierpa_76pierpaolo
    @pierpa_76pierpaolo 7 หลายเดือนก่อน +1

    It is detected but does not work, and the driver is installed perfectly. Solutions?

    • @MyGeekyHobby
      @MyGeekyHobby  7 หลายเดือนก่อน +1

      Hi Pier. when you say "does not work", you need to tell us more ... what exactly is the problem

    • @pierpa_76pierpaolo
      @pierpa_76pierpaolo 7 หลายเดือนก่อน +1

      @@MyGeekyHobby It is basically detected but then when I open Arduino IDE to load a sketch, it copies it (at least it seems to) but does not execute it. Error: Failed to install library: 'Arduino_BuiltIn:1.0.0'.

  • @saikiran-rw8sk
    @saikiran-rw8sk ปีที่แล้ว

    the code?

    • @MyGeekyHobby
      @MyGeekyHobby  ปีที่แล้ว

      The code for what? The sketch is on my GitHub page search for Kris-Sekula on GitHub. It’s under the EPROM emulator

  • @arunchhetry6164
    @arunchhetry6164 9 หลายเดือนก่อน

    My adruino nano all three lights on

    • @MyGeekyHobby
      @MyGeekyHobby  9 หลายเดือนก่อน

      CH340 can be broken ... but hard to say 100%

  • @artherfocksake1312
    @artherfocksake1312 ปีที่แล้ว

    Why?

    • @MyGeekyHobby
      @MyGeekyHobby  ปีที่แล้ว

      why...not ? In fact in the last 1min of the video I'm explaining why :)

    • @artherfocksake1312
      @artherfocksake1312 ปีที่แล้ว

      @@MyGeekyHobby Didn't the electricity to power the lights and video camera cost more than a replacement item?

    • @MyGeekyHobby
      @MyGeekyHobby  ปีที่แล้ว

      @@artherfocksake1312 The video does two things, 1 explains the "upload error" scenario where the Nano kind of works but has issues uploading, 2. gives option for those who want to attempt to fix it. In USA those modules cost about $8, so spending $1 on replacement ch340 makes sense - I had a few of those modules with the same issue.