CH34x kartasi avrdude bilan bajarilmayapti: stk500_getsync () sinab ko'rish 1dan 10: sinxronlash bilan emas: resp = 0x00 Atemel Mega328P AU1640

Menga dasturlash uchun taxtali ( Atmel ATmega328P-AU 1640 ) berildi. Men googled va board Arduino Uno kategoriyalari topildi. CH34x asoslangan klon.

Lekin men bo'sh dasturni dasturga kiritganimda:

void setup() {
 //put your setup code here, to run once:

}

void loop() {
 //put your main code here, to run repeatedly:

}

Men ushbu xatoni olaman:

Sketch uses 444 bytes (1%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

Bular men uchun mavjud barcha portlar. Men Arduino-ni MacBook Sierra bilan ishlayotgan Macbook-dagi USB-portlardan biriga uladim

enter image description here

enter image description here

enter image description here

1

5 javoblar

Bu menga USB interfeysi chipi sifatida CH340G chip bilan Arduino nanoning kloniga o'xshaydi. Sen qilishing kerak:

  1. CH340G drayverini o'rnatish
  2. ATMega328PU chipida o'rnatilgan bootloader o'rnatilganligiga ishonch hosil qiling

Xitoydan sotib olgan oxirgi nanoSIMda o'rnatilgan bootloader yo'q edi. Programmand sifatida boshqa Arduino yordamida bootloaderni qanday qilib o'rnatishni o'rgatadigan onlayn treninglar ko'p.

2
qo'shib qo'ydi
MacOS-da bootloaderni qanday tuzatish haqida ba'zi bir havolalarni yubora olasizmi? Bundan tashqari, men allaqachon CH340G-ni o'rnatdim. Men youtube videosini ko'rdim, lekin u boshqa portlarni ko'rsatmayapti. Marhamat qilib men tanlagan forum turkumini rahmat qilib ko'rsating :)
qo'shib qo'ydi muallif Mithoron, manba
bootloader o'rnatilgan yoki yo'qligini qanday tekshirish mumkin .... iltimos, menga ba'zi yo'nalish bilan ta'minlang. Men elektronika va Arduino materiallari bilan hech qanday tajribaga ega emasman @Majenko
qo'shib qo'ydi muallif Mithoron, manba
Qayta tiklash tugmasini bosganingizda L chirog'i bir necha marta tez yonib turadi.
qo'shib qo'ydi muallif Majenko, manba

Kengash bir Arduino nano-kloni emas, balki Uno emas.

  1. Plug the Nano's USB cable into your computer.
  2. Download and install the CH340 driver from here: http://www.wch.cn/download/CH341SER_MAC_ZIP.html
  3. In the Arduino IDE, select the port of your Nano from the Tools > Port menu.
  4. Tools > Board > Arduino Nano
  5. Sketch > Upload

If the port of your Nano doesn't appear in the Tools > Port menu (and no, dev/cu.Bluetooth-Incoming-Port is not the correct port) then you may have a damaged or charge-only USB cable. Try using a known-good cable or verify that your cable works for data on another device. If you have it plugged into a USB 3.0 port on your computer then try a USB 2.0 port instead.

2
qo'shib qo'ydi
Ha, 3.0 uskuna ishlamaydi, men 2,0 bilan harakat qilaman
qo'shib qo'ydi muallif Mithoron, manba

Sizning ketma-ket aloqa uchun CH340G chipidan foydalanib, Arduino nano-kloningiz bor. Kompyuteringizni kompyuteringiz uchun tanib olish uchun pastga tushing va haydovchini o'rnating. Men OSX ni ishlatmayman, shuning uchun tavsiya qila olmayman.

2
qo'shib qo'ydi
Windows uchun menga ayting
qo'shib qo'ydi muallif Mithoron, manba
Bundan tashqari, Bootcamp-da oyna ochilgan
qo'shib qo'ydi muallif Mithoron, manba
Men ham CH340G va CH341G ni o'rnatdim, biroq boshqa Bluetooth portlari boshqa Bluetooth-portlardan tashqari ko'rinadi
qo'shib qo'ydi muallif Mithoron, manba
Kechirasiz, men Linuxdan foydalanaman va haydovchiga o'rnataman. Agar u hali ko'rinmasa, siz noto'g'ri qildingiz yoki qurilma zarar ko'rdi.
qo'shib qo'ydi muallif amlaanb, manba

Try this instructions from install driver. https://github.com/adrianmihalko/ch340g-ch34g-ch34x-mac-os-x-driver

Homebrew-Cask bilan o'rnatish.

Then try this, and all work fine ;) http://www.instructables.com/id/How-to-fix-bad-Chinese-Arduino-clones/

0
qo'shib qo'ydi
Iltimos, URL-manzillarni joylashtirmang, uni yozing va URL-ga murojaat qiling.
qo'shib qo'ydi muallif NobodySpecial, manba

Qadimgi drayverni quyidagi buyruqlardan birini chiqarish orqali o'chiring (o'rnatishga bog'liq ravishda):

  • sudo rm -rf /System/Library/Extensions/usb.kext
  • sudo rm -rf /Library/Extensions/usbserial.kext

Mac'ni qayta ishga tushiring.

Install with Homebrew-Cask Install the driver by the following commands

Mac'ni qayta ishga tushiring.

Arduino-dagi ba'zi kodlarni yuklab ko'ring. Ba'zi holatlarda kengash hali ham ishlamasligi mumkin.

Buning sababi, Atmel mikrokompyuterining kemasida hech qanday bootloader o'rnatilgan emasligi. Ushbu muammoni hal qilish uchun biz Arduino va Arduino klonini tuzatishni xohlaymiz.

![Make an ISP Programmer From Your Working Arduino ]1

Avvalo biz Arduino ishlaydigan kompyuterni kompyuterimizga ulab, Arduino IDE'ni ochamiz.

We go to File -> Examples and click ArduinoISP and upload this to the Arduino. Ones uploaded disconnect the Arduino.

**

Tellarni ulash

**

Tellarni ulash

Keyinchalik, Arduino ishlaydigan simlarni klonga quyidagi tarzda ulashamiz:

10 ˚F kondansatör bo'lmasdan.

Go to Tools -> Board and select the chinese board that is not working. in my case it's an Arduino Genius/Uno

Next we go to Tools again -> Programmer and select Arduino as ISP.

Tools (Tools) -ga o'ting va "Burn Bootloader" -ni tanlang.

Go back to Tools -> Programmer and set back to ArduinoISP.

Sizning kloningiz hozir yaxshi ishlashi kerak. ;)

0
qo'shib qo'ydi