Rongoā: avrdude: ser_open (): kaore e taea te whakatuwhera i te taputapu ki Arduino

I roto i tenei tuhinga ka whakamaarama ahau me pehea te whakatau i tetahi hapa noa i Arduino:

avrdude: ser_open (): kaore e taea te whakatuwhera i te taputapu "/ dev / ttyACM0": Kua whakakahoretia te whakaaetanga

Papamuri

Kua roa kua roa e kore e whakamahi i te Arduino kua tangohia e au aku whakauru e rua (te taketake me te Elegoo) ki te mahi i etahi mahi ki taku tamahine. Ka honohono atu au ki a raatau, ka whakauruhia e au te korohuu kia kite ai kei te pai nga mea katoa ana ka tae atu ahau ki te tuku atu ki te papa ka whakahoki mai i te he e mohiotia ana.

Arduino: 1.8.5 (Linux), Kaari: "Arduino / Genuino Uno" avrdude: ser_open (): kaore e taea te whakatuwhera i te taputapu "/ dev / ttyACM0": Whakaaetanga Whakaaetia Kua raru te tuku ki te poari. Tirohia http://www.arduino.cc/en/Guide/Troubleshooting#upload mo nga whakaaro.

Kei runga i taku PC me taku pona kua whakauruhia e ahau a Ubuntu 18.04.

Otinga

Ka tiimata au ma te whai i nga hono e whakaaro ana koe ki ahau. Na ka whai ahau i nga kaupae

En taputapu / pereti Arduino / Genuino Uno kua tohua

Ko te whakapae i te raarangi whakarerekētanga

En taputapu / tauranga rangatū / dev / ttyACM0

arduino avrdude ide problem

ana kei te kii nga tuhinga, mena he raru kei runga i nga Atekōkiri me nga whakaaetanga, ka whakatuwherahia e au te tauranga ka mahia:

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

kei hea touUserName Ko to ingoa kaiwhakamahi

Inaianei ka takiuru au ka uru ano ahau ki roto. Ana mena ka tiimata ano e au te PC / pona.

Kaore ano kia mahi maau ka mutu kaore e awhina nga tuhinga Arduino. Na kua tirohia tonu e au, i roto i nga huinga me nga tuhinga. Mena i tenei waa kaore e mahi maau ana he rite koe ki ahau. A pee i nga mahi ka whai ake

ls / dev / ttyACM0 hokinga mai / dev / ttyACM0
ls -l / dev / ttyACM0 ka hoki mai crw-rw—- 1 putake waea 166, 0 Nov 26 16:41 / dev / ttyACM

Ma tenei ka whakapumau taatau kei te tu mai te tauranga

Ka tukuna e maatau nga whakaaetanga ka tirohia mena kei a maatau kaiwhakamahi nga whakaaetanga e tika ana.

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

Ana ka kite ahau kei roto te roopu i te roopu waea na tenei waahanga i tika ta maatau.

Ko te mea i mahi maau ko te tango ano i a Arduino.

Ki te tirohia e koe

which avrdude

A kaore e hoki mai tetahi mea ki te tango i te Arduino me whakatau.

sudo apt install --reinstall arduino

Ana mena kaore i taea e koe te whakatika i te raru, waiho mai he korero ki ahau ka tarai ahau ki te awhina i a koe.

AVRDUDE Taputapu Raparongoā

Kei reira tuhinga kua rite ratou ki te whakatika i tenei raru. Ka taea e koe te whakamatautau mena ka awhina i a koe. Kaore au i whakamahi engari ka waiho e au na te mea ki taku whakaaro he rauemi whaihua tenei.

AVRDUDE

Ka waiho e au he paku korero kia mohio ake ai ahau he aha te AVRDUDE. No AVRDUDE te ingoa - Kaituku AVR / UploaDEr

Ko te AVRDUDE he taputapu hei tango / tango / whakamahi i nga mea ROM me EEPROM o nga microcontrollers AVR e whakamahi ana i te mahinga kaupapa-a-roto (ISP).

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

AVRDUDE i tiimata e Brian S. Dean hei kaupapa motuhake hei kaiwhakahau rorohiko mo te Atmel AVR raupapa microcontrollers.

Ka kitea e koe te raupaparorohiko me te maha atu o nga korero i te paetukutuku kaupapa.

1 korero mo "Rongoā: avrdude: ser_open (): kaore e taea te whakatuwhera i te taputapu ki Arduino"

  1. He raru taku ki te arduino kaore e korero ki te kaupapa, ki te hurihia ranei kua pai te whirihora o au mea katoa, te pereti tauranga katoa me etahi atu ... Kua tangohia e au te pore engari kaore au e mohio me pehea te mahi hei uta ano i nga umanga e mahara ana ahau he aha te he, akene he iti ake taipitopito me pehea te tango ano i te arduino whakawhetai he hou au ki tenei

    whakahoki

Waiho i te tākupu