Error message when downloading images to MiniPOV4

MiniPOV4 and previous versions

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
shaulgaloz
 
Posts: 1
Joined: Sat Jun 14, 2014 7:34 pm

Error message when downloading images to MiniPOV4

Post by shaulgaloz »

We have installed Processing 2.0.3 and ControlP5 on Mac OSX according to the instructions on the web site.
We then opened the MiniPOV_Image_Converter PDE file and ran it (after closing and restarting Processing). We managed to open the Minipov4test PNG file. When we pressed Download to MiniPOV4, we have got an error message that said:
Done!
open: invalid option -- c

When I looked at the code, I saw that the open command received the parameters:
String[] cmd = { "avrdude", "-cusbtiny", "-pm328p", "-s", "-D", "-q", "-q", "-Ueeprom:w:temp.bin:r" };
print("shell:");
for (int i = 0; i < cmd.length; i++) print(" " + cmd);
println();
Process p = open(cmd);


And the monitor below the code screen shows the correct "cmd" string:
download clicked
shell: avrdude -cusbtiny -pm328p -s -D -q -q -Ueeprom:w:temp.bin:r
done!
open: invalid option -- c
Usage: open [-e] [-t] [-f] [-W] [-R] [-n] [-g] [-h] [-b <bundle identifier>] [-a <application>] [filenames] [--args arguments]
Help: Open opens files from a shell.
By default, opens each file using the default application for that file.
If the file is in the form of a URL, the file will be opened as a URL.
Options:
-a Opens with the specified application.
-b Opens with the specified application bundle identifier.
-e Opens with TextEdit.
-t Opens with default text editor.
-f Reads input from standard input and opens with TextEdit.
-F --fresh Launches the app fresh, that is, without restoring windows. Saved persistent state is lost, excluding Untitled documents.
-R, --reveal Selects in the Finder instead of opening.
-W, --wait-apps Blocks until the used applications are closed (even if they were already running).
--args All remaining arguments are passed in argv to the application's main() function instead of opened.
-n, --new Open a new instance of the application even if one is already running.
-j, --hide Launches the app hidden.
-g, --background Does not bring the application to the foreground.
-h, --header Searches header file locations for headers matching the given filenames, and opens them.


Can you please help us with this?
Thanks,
Uli

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Error message when downloading images to MiniPOV4

Post by adafruit_support_rick »

Have you installed the USBtiny drivers?
https://learn.adafruit.com/minipov4-diy ... oad-images

Does the USBtiny show up in Device Manager?

Possibly, you have an old version of avrdude which doesn't support the USBtiny. Enter the command avrdude -c ? to get a list of supported programmers

Locked
Please be positive and constructive with your questions and comments.

Return to “MiniPOV”