[C.CC USERS] Just in case this was missed

Dennis Meade meade.dennis at gmail.com
Thu Jun 3 01:07:28 BST 2010


Hi everyone,

I'm getting the error below when trying to run hello.occ. I tried this 
because I'm getting the same error when I try to run one of my own 
programs. The USB port is connected. It looks like AVRDUDE has uploaded 
the program, but I know next to nothing about AVRDUDE.. I did download 
http://projects.cs.kent.ac.uk/projects/kroc/svn/kroc/trunk a few days 
ago. Any ideas?

Dennis

dennis at dennis-laptop 
<http://unhosting.org/mailman/listinfo/users>:~/kroc-trunk/tvm/arduino/occam$ 
make upload PROG=hello
../reset-arduino /dev/ttyUSB0
avrdude -C ../avrdude.conf -V -F -p atmega328p -P /dev/ttyUSB0 -b 57600
-c stk500v1 -D -U flash:w:hello.hex

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x1e950f
avrdude: reading input file "hello.hex"
avrdude: input file hello.hex auto detected as Intel Hex
avrdude: writing flash (22086 bytes):

Writing | ################################################## | 100% 0.56s

avrdude: 22086 bytes of flash written

avrdude: safemode: Fuses OK

avrdude done.  Thank you.

../read-arduino /dev/ttyUSB0

A GARBAGE CHARACTER IS REPEATED ENDLESSLY HERE
A GARBAGE CHARACTER IS REPEATED ENDLESSLY HERE
A GARBAGE CHARACTER IS REPEATED ENDLESSLY HERE
                                                                                                                                                                                                                                                                                                                                                                               ^CTraceback (most recent call last):
    File "../read-arduino", line 9, in <module>
      sys.stdout.write(ser.read(1))
    File "/usr/lib/python2.6/dist-packages/serial/serialposix.py", line
317, in read
      ready,_,_ = select.select([self.fd],[],[], self._timeout)
KeyboardInterrupt
make: *** [upload] Error 1





More information about the users mailing list