Statistics: Posted by Alan — Thu Jun 18, 2015 6:44 pm
Statistics: Posted by japonophile — Thu Jun 18, 2015 2:19 pm
Statistics: Posted by Alan — Thu Jun 18, 2015 12:26 pm
Statistics: Posted by japonophile — Wed Jun 17, 2015 4:16 pm
Statistics: Posted by Alan — Wed Jun 17, 2015 3:21 pm
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x15
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x15
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x14
avrdude: stk500_disable(): unknown response=0x12
$ gdb -args avrdude_bin -C ../etc/avrdude.conf -c arduino -p m8 -P /dev/cu.wchusbserialfd120 -b 19200 -e -u -U lock:w:0x3F:m -U hfuse:w:0xca:m -U lfuse:w:0xdf:m
$ gdb -args avrdude_bin -C ../etc/avrdude.conf -c avrisp -p m8 -P /dev/cu.wchusbserialfd120 -v -b 19200 -U flash:w:/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/bootloaders/atmega8/ATmegaBOOT-prod-firmware-2009-11-07.hex -U lock:w:0x0F:m
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x1c00
0xdd != 0x12
avrdude: verification error; content mismatch
avrdude: writing flash (7642 bytes)
upload.maximum_size=7168
Statistics: Posted by japonophile — Wed Jun 17, 2015 2:43 pm
Statistics: Posted by japonophile — Sun Jun 14, 2015 1:30 pm
Statistics: Posted by Alan — Sun Jun 14, 2015 1:10 pm
Statistics: Posted by japonophile — Sat Jun 13, 2015 11:40 pm
Python 2.7.3 (default, Mar 18 2014, 05:13:23)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mini_driver
>>> m = mini_driver.MiniDriver()
>>> m.connect()
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9307
avrdude: reading input file "/home/pi/.ino_uploader/mini_driver_firmware/.build/atmega8/firmware.hex"
avrdude: writing flash (7642 bytes):
Writing | ################################################ | 95% 6.02savrdude: stk500_recv(): programmer is not responding
False
$ avrdude -p atmega8 -P /dev/ttyUSB0 -c arduino -b 9600 -D -U flash:w:firmware.hex:i -v -v -v -v
avrdude: Version 5.11.1, compiled on May 23 2012 at 11:08:25
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/home/pi/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyUSB0
Using Programmer : arduino
Overriding Baud Rate : 9600
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude done. Thank you.
Statistics: Posted by japonophile — Sat Jun 13, 2015 11:24 pm