avrdude

AVRISPmkII connection status: Unknown status 0x00

末鹿安然 提交于 2020-01-02 02:51:10
问题 Well.. I've been searching on the web in many corners.. but I could not find a solution to my problem. Last time I used my AVRISP2 it worked fine. Now I get the following message when I try to write my program on the uC: avrdude: stk500v2_command(): command failed avrdude: stk500v2_program_enable(): bad AVRISPmkII connection status: Unknown status 0x00 avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check. I found many posts on the

Android cannot talk to Arduino using AVRDUDE

北慕城南 提交于 2019-12-30 07:14:12
问题 I am using AVRDUDE for Android (http://code.google.com/p/andavr/). I can compile the C code. I can run $ avr-gcc -Os -DF_CPU=16000000UL -mmcu=atmega328p -c -o led.o led.c $ avr-gcc -mmcu=atmega328p led.o -o led $ avr-objcopy -O ihex -R .eeprom led led.hex all without issues. Then I try to run: avrdude -F -V -c arduino -p ATMEGA328P -P /dev/bus/usb/002/002 -b 115200 -C /data/data/jackpal.androidterm/local/etc/avrdude.conf -U flash:w:led.hex The result is: avrdude: ser_open(): can't open device

Very strange gpio behaviour programming ATtiny25v with avr-gcc and avrdude via a raspberry pi

佐手、 提交于 2019-12-11 16:18:49
问题 I have an ATtiny25v connected to a raspberry pi thtough SPI. I use avr-gcc to compile my code. Then I use avrdude to upload it. But I encounter a very strange phenomena : the main function is not called, and instead, the first instructions of the first function have effects on gpio... I have a led connected on portb4. ...I tried with several chip of the same model, and they all behave the same (excluding a buggy one) ...Can someone explain it ? NOTE : I omitted to detail it, but neither the

AVRDUDE Android Arduino ioctl error

泄露秘密 提交于 2019-12-09 06:56:19
问题 My previous question, Android cannot talk to Arduino using AVRDUDE , has been resolved. I can now connect my Nexus 7 to my Arduino Uno. The full command I am running is this: /system/xbin/su (getting root here) /data/data/jackpal.androidterm/local/bin/avrdude -F -V -c arduino -p ATMEGA328P -P /dev/bus/usb/002/002 -b 115200 -C /data/data/jackpal.androidterm/local/etc/avrdude.conf -U flash:w:led.hex Here I am trying to put the hex file on the Arduino. I do however get the following error:

Mac + Uno + avrdude: stk500_recv(): programmer is not responding

大城市里の小女人 提交于 2019-12-05 16:09:15
问题 I'm trying to upload .hex file to Arduino. I don't have any problems with uploading code through an IDE (like blink example or any other). The port and board are correct. So, the problem appears when I try to upload avrdude -pm328p -carduino -P/dev/tty.usbmodemfd121 -b57600 -D -Uflash:w:grbl_v0_8c_atmega328p_16mhz_9600.hex -v -v -v -v avrdude: Version 6.1, compiled on Mar 23 2014 at 04:42:55 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch

Mac + Uno + avrdude: stk500_recv(): programmer is not responding

本小妞迷上赌 提交于 2019-12-04 01:48:10
I'm trying to upload .hex file to Arduino. I don't have any problems with uploading code through an IDE (like blink example or any other). The port and board are correct. So, the problem appears when I try to upload avrdude -pm328p -carduino -P/dev/tty.usbmodemfd121 -b57600 -D -Uflash:w:grbl_v0_8c_atmega328p_16mhz_9600.hex -v -v -v -v avrdude: Version 6.1, compiled on Mar 23 2014 at 04:42:55 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "/usr/local/Cellar/avrdude/6.1/etc/avrdude.conf" User configuration file

AVRDUDE Android Arduino ioctl error

天涯浪子 提交于 2019-12-03 09:37:33
My previous question, Android cannot talk to Arduino using AVRDUDE , has been resolved. I can now connect my Nexus 7 to my Arduino Uno. The full command I am running is this: /system/xbin/su (getting root here) /data/data/jackpal.androidterm/local/bin/avrdude -F -V -c arduino -p ATMEGA328P -P /dev/bus/usb/002/002 -b 115200 -C /data/data/jackpal.androidterm/local/etc/avrdude.conf -U flash:w:led.hex Here I am trying to put the hex file on the Arduino. I do however get the following error: avrdude: ser_open():can't set attributes for device "/dev/bus/usb/002/002": Inappropriate ioctl for device

Android cannot talk to Arduino using AVRDUDE

北战南征 提交于 2019-11-30 23:34:21
I am using AVRDUDE for Android ( http://code.google.com/p/andavr/ ). I can compile the C code. I can run $ avr-gcc -Os -DF_CPU=16000000UL -mmcu=atmega328p -c -o led.o led.c $ avr-gcc -mmcu=atmega328p led.o -o led $ avr-objcopy -O ihex -R .eeprom led led.hex all without issues. Then I try to run: avrdude -F -V -c arduino -p ATMEGA328P -P /dev/bus/usb/002/002 -b 115200 -C /data/data/jackpal.androidterm/local/etc/avrdude.conf -U flash:w:led.hex The result is: avrdude: ser_open(): can't open device "/dev/bus/usb/002/002"; Permission denied loctl("TIOCMGET"): Invalid argument avrdude done. Thank

AVRISP MKII doesn't work with AVRDUDE on Linux

萝らか妹 提交于 2019-11-27 10:53:08
问题 The system sees something is plugged in when I plug and unplug it: bluehat@Matapan:/dev$ tail -f /var/log/syslog Mar 23 15:36:35 Matapan kernel: [156082.112874] usb 7-1: new full speed USB device using uhci_hcd and address 6 Mar 23 15:47:19 Matapan kernel: [156726.248081] usb 7-1: USB disconnect, address 6 Mar 23 15:47:29 Matapan kernel: [156736.200148] usb 6-1: new full speed USB device using uhci_hcd and address 3 AVRISP MKII should rely on cdc-acm: bluehat@Matapan:/dev$ modinfo cdc-acm -V