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

Поделиться
HTML-код
  • Опубликовано: 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 4 месяца назад

    What temp is your soldering iron ?

  • @mokkamanmaxx2706
    @mokkamanmaxx2706 5 месяцев назад +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 5 месяцев назад +1

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

  • @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

  • @Intelligent_child
    @Intelligent_child Год назад

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

  • @stoptheirlies
    @stoptheirlies 8 месяцев назад

    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  8 месяцев назад +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 8 месяцев назад

      Thank you Sir, I will check that out

  • @pierpa_76pierpaolo
    @pierpa_76pierpaolo 9 месяцев назад +1

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

    • @MyGeekyHobby
      @MyGeekyHobby  9 месяцев назад +1

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

    • @pierpa_76pierpaolo
      @pierpa_76pierpaolo 9 месяцев назад +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'.

  • @antdavisonNZ
    @antdavisonNZ 6 месяцев назад +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  6 месяцев назад

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

  • @kwankunghkg
    @kwankunghkg 2 месяца назад

    ProMini uses external USBserial chip to further cut cost & space

  • @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.

  • @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 10 месяцев назад

    My adruino nano all three lights on

    • @MyGeekyHobby
      @MyGeekyHobby  10 месяцев назад

      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.