Tharollo: avrdude: ser_open (): ha e khone ho bula sesebelisoa ho Arduino

Sehloohong sena ke tla hlalosa hore na u ka rarolla phoso e tloaelehileng joang ho Arduino:

avrdude: ser_open (): ha e khone ho bula sesebelisoa "/ dev / ttyACM0": Ho lumelloa tumello

Ka morao

Kamora nako e telele ke sa sebelise Arduino ke nkile lintho tse peli tseo ke li kenyang (ea mantlha le ea Elegoo) ho etsa mesebetsi e meng le morali oa ka. Kea li hokela, ke tlo kenya panya ho bona hore ntho e ngoe le e ngoe e lokile 'me ha ke ea ho e romella botong e khutlisa phoso e tsebahalang.

Arduino: 1.8.5 (Linux), Karete: "Arduino / Genuino Uno" avrdude: ser_open (): ha e khone ho bula sesebelisoa "/ dev / ttyACM0": Ha a lumelloe tumello Bothata ba ho kenya boto. Etela http://www.arduino.cc/en/Guide/Troubleshooting#upload bakeng sa litlhahiso.

Ka bobeli ho PC le laptop ea ka ke kentse Ubuntu 18.04.

Tharollo

Ke qala ka ho latela kgokahanyo eo u mphang eona. Mme ke latela mehato

En lisebelisoa / poleiti Arduino / Genuino Uno e khethiloe

Ingolise ho lethathamo la rona la mangolo

En lisebelisoa / port port / dev / ttyACM0

arduino avrdude ide bothata

mme joalo ka ha litokomane li bontša, haeba ho ka ba le mathata ka Bakhanni le litumello, ke bula sesebelisoa ebe ke etsa:

 sudo usermod -a -G tty yourUserName
 sudo usermod -a -G dialout yourUserName

moo Lebitso la hau ke lebitso la hau la mosebelisi

Hona joale ke tsoa 'me ke kena hape. Haeba nka qala PC / laptop feela.

E ntse e sa sebetse ho nna mme litokomane tsa Arduino ha li sa thusa. Kahoo ke 'nile ka sheba, liforomong le li-blog. Haeba hona joale ha e sebetse ho uena mme o tšoana le nna. Latela mehato e latelang

ls / dev / ttyACM0 e khutlisa / dev / ttyACM0
ls -l / dev / ttyACM0 e khutlisa crw-rw—- 1 motso oa puisano 166, 0 Nov 26 16:41 / dev / ttyACM

Ka sena re netefatsa hore kou e teng

Re tla fana ka tumello le ho lekola hore na mosebelisi oa rona o na le litumello tse hlokahalang.

 sudo chmod a+rw /dev/ttyACM0
 id devuelve 20(dialout) 

Mme ke bona hore mosebelisi o kahare ho sehlopha puisano kahoo karolo ena re e nepile.

Se nthusitseng e bile ho khutlisa Arduino.

Haeba u hlahloba

which avrdude

Ebile ha e khutlise letho ho kenya Arduino hape.

sudo apt install --reinstall arduino

Haeba u sa khona ho rarolla bothata, ntlohele hore ke fane ka maikutlo 'me ke tla leka ho u thusa.

Thulusi ea ho rarolla mathata ea AVRDUDE

Ho na le sengoloa ba se ba lokiselitse ho lokisa bothata bona. U ka leka ho bona hore na ea u thusa. Ha ke e sebelise empa ke e tlohela hobane ke nahana hore e ka ba sesebelisoa se molemo.

QOBA

Ke siea leseli le lenyenyane ho utloisisa hantle hore na AVRDUDE ke eng. Lebitso le tsoa ho AVRDUDE - AVR Downloader / UploaDEr

AVRDUDE ke sesebelisoa sa ho jarolla / ho jara / ho tsamaisa litaba tsa ROM le EEPROM tsa li-microcontroller tsa AVR ba sebelisa mokhoa oa in-system programming (ISP).

https://www.nongnu.org/avrdude/

AVRDUDE e qalile ke Brian S. Dean joalo ka projeke ea poraefete joalo ka moqapi bakeng sa letoto la li-microcontroller tsa Atmel AVR.

U ka fumana software le tlhaiso-leseling e ngata ho webosaete ea projeke.

Maikutlo a 1 ho "Tharollo: avrdude: ser_open (): ha e khone ho bula sesebelisoa ho Arduino"

  1. Ke na le bothata ba arduino ha e buisane le mohopolo kapa ka lehlakoreng le leng ke na le tsohle tse hlophisitsoeng hantle, poleiti eohle ea koung jj. Ke jarollotse phetolelo empa ha ke tsebe hore na e sebetsa joang ho kenya firmware eo ke nahanang hore ke eona Phoso ke eng, o ka ba le lintlha tse ling hape tsa ho khutlisa liteboho tsa arduino hobane ke ncha ho sena

    karabo

Siea ho hlahisa maikutlo