Monochron programming trouble

Tick Tock Clock Kits

Moderators: adafruit_support_bill, adafruit

Monochron programming trouble

Postby rjaffe » Wed Dec 07, 2011 4:57 pm

I'm having trouble programming the monochron. I've tried several different .hex files and always get the following error:


avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "~/Desktop/dali.hex"
avrdude: error opening ~/Desktop/dali.hex: No such file or directory
avrdude: input file ~/Desktop/dali.hex auto detected as invalid format
avrdude: can't open input file ~/Desktop/dali.hex: No such file or directory
avrdude: write to file '~/Desktop/dali.hex' failed

avrdude: safemode: Fuses OK

avrdude done. Thank you.


The folders exist as I can list the contents just fine -- and it appears that avrdude can see the file but the auto detect fails. I've also tried this with a 'sudo' command thinking there may be permission problems but no luck. Any ideas?

I'm using a Mac OS10.6.8
rjaffe
 
Posts: 5
Joined: Tue Dec 06, 2011 5:59 pm

Re: Monochron programming trouble

Postby rjaffe » Wed Dec 07, 2011 8:44 pm

Never mind... I figured it out.

FYI, I went to my Windows virtual machine and noticed at the bottom of the page that explains programming via FTDI, it says "For windows: avrdude -c ... -U flash:w:C:\monochron.hex" . But in the next paragraph, it says to "basically hit the up arrow twice and then type in "-U flash:w:monochron.hex" at the end. Notice -- no "C:\".

AVRdude doesn't like the C:\ in the command -- leave it out and make sure that you're in the directory that contains the .hex file.

I still need to try this on the Mac, but I'm sure that's the problem there too.
rjaffe
 
Posts: 5
Joined: Tue Dec 06, 2011 5:59 pm

Re: Monochron programming trouble

Postby konigsberg » Sat Dec 31, 2011 12:11 pm

I also had the same problem with ~ on the Mac and replaced it with the full path start at the root (e.g. /Users/rob/git/monochron/...)
konigsberg
 
Posts: 17
Joined: Tue Jan 12, 2010 6:24 pm

Re: Monochron programming trouble

Postby tonyg » Tue Jan 03, 2012 12:59 pm

avrdude: AVR device initialized and ready to accept instructions

I can't even get that far; avrdude says it can't find device 57600. I'm using COM3, but I'm not sure its seeing the monochron. Currently it has the dali software in it, and I want the pong. I am new to this and followed the instructions, but I dont think avrduded is talking to the clock. Can someone help me troubleshoot?
tonyg
 
Posts: 5
Joined: Tue Jan 03, 2012 12:10 pm

Re: Monochron programming trouble

Postby adafruit » Fri Jan 06, 2012 8:25 pm

tonyg wrote:avrdude: AVR device initialized and ready to accept instructions

I can't even get that far; avrdude says it can't find device 57600. I'm using COM3, but I'm not sure its seeing the monochron. Currently it has the dali software in it, and I want the pong. I am new to this and followed the instructions, but I dont think avrduded is talking to the clock. Can someone help me troubleshoot?


post preciesly what you are typing into the command line
User avatar
adafruit
 
Posts: 10554
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc


Return to Clocks

Who is online

Users browsing this forum: No registered users and 1 guest

Stuff to buy from the Adafruit store and links to product documentation!


New Products [113]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
BeagleBone[23]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]