NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Support Forum » Unresponsive at "/dev/cu.usbserial -U flash:w:initialload.hex"
June 14, 2013 by zechdc |
I navigate to the "initialload" code folder and run the "make" command in mac terminal. Below is the output I get. Terminal hangs on that last line indefinitely. It worked the first time I run it. What am I doing wrong?
|
---|---|
June 15, 2013 by pcbolt |
Hi zechdc - I'm not a Mac guy but I've seen something like this with Windows. It happened when I was moving the 3 USB/Serial cable wires around and I think 2 of them may have touched and the PC automatically disabled the virtual serial port. The hardware manager said everything was fine, but I had to disable the serial port then re-enable. I don't know how to do that with a Mac, but what also worked was re-booting the PC. Just a thought. |
June 15, 2013 by zechdc |
I rebooted and it worked... once. The first time after reboot it worked fine. The second time I ran "make" it gave me the message below:
The third time I ran "make" it gave me:
Is it an issue with the driver? I am running Mountain Lion (10.8.4). |
June 15, 2013 by zechdc |
Figured out the problem. First off, the website download section should include the latest drivers. I had to get the latest driver so the devices would show up when I ran 'ls /dev' in the terminal. Also, it doesn't show up as cu.PL2303-0000211A. WIth the new driver it shows up as cu.usbserial. Here is the latest MacOSX Driver http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=229&pcid=41 Then, I had to change the Makefile from:
to:
I got this solution from another forum post. Here is their description: This separates the chip erase from the flash programming on the command line. (The "-D" flag stops avrdude from erasing again on its second run.) (The 0.1 period should be adjustable, although I'm not sure whether the OS X "sleep" implementation supports fractions of a second.) Make sure to tab in your lines like shown above. Now the 'make' command works every time. Source: http://www.nerdkits.com/forum/thread/68/ |
June 15, 2013 by Ralphxyz |
Gee, this would make a nice update in the Library. Ralph |
June 15, 2013 by pcbolt |
zechdc Thanks for the update. Although I use Windoze your post will help a lot of folks using Macs. There have been quite a few questions about this recently so now we have a post to refer them too. |
June 16, 2013 by zechdc |
Ralph, I cannot access the Library. It gives me a page of errors. Anyone else have that issue? |
June 17, 2013 by Ralphxyz |
Sorry zechdc, I was being facetious when I made the Library comment. I do not believe it will ever be restored! But it is good to occasionally hit it in case anyone is monitoring hits on the Nerdkits website to see that there is still interest in the Library. Ralph |
Please log in to post a reply.
Did you know that the sparks present in motors can be dangerous for your microcontroller and other electronics? Learn more...
|