- Wed Apr 04, 2012 4:32 am
#142323
Hi All,
I have trouble compiling and uploading (modified or original) c-code to Sparkfun Clockit module. I tried simply by recompiling the original code fromhttp://dlnmh9ip6v2uc.cloudfront.net/datasheets/Kits/clockit-v11.zip
by running ‘make all’.
I subsequently uploaded the code using the TinyUSB programmer.
avrdude -p m328p -c usbtiny -P usb -b19200 -U flash:w:clockit-v11.hex
The above works OK with the original (downloaded) hexfile. If I compile the code myself and try to upload the new hexfile nothing but a loud beeping noise is the result. What am I doing wrong ?
Even reprogramming fuses makes no difference.
avrdude -p m328p -c usbtiny -P usb -b19200 -U lfuse:w:0xE6:m
any help is appreciated.
K
I have trouble compiling and uploading (modified or original) c-code to Sparkfun Clockit module. I tried simply by recompiling the original code fromhttp://dlnmh9ip6v2uc.cloudfront.net/datasheets/Kits/clockit-v11.zip
by running ‘make all’.
I subsequently uploaded the code using the TinyUSB programmer.
avrdude -p m328p -c usbtiny -P usb -b19200 -U flash:w:clockit-v11.hex
The above works OK with the original (downloaded) hexfile. If I compile the code myself and try to upload the new hexfile nothing but a loud beeping noise is the result. What am I doing wrong ?
Even reprogramming fuses makes no difference.
avrdude -p m328p -c usbtiny -P usb -b19200 -U lfuse:w:0xE6:m
any help is appreciated.
K