Adafruit is open and shipping! Let's build back better, together!
0

USBTINYISB ... PRO-MINI
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

USBTINYISB ... PRO-MINI

by combover on Thu Aug 11, 2016 3:56 pm

Have programmed Pro-mini's in the past with this setup.

Today, cannot seem to get the Pro-Mini to unload or reload the boot loader.

The error:

java.io.IOException: Cannot run program "___REMOVE___/bin/avrdude": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:485)
at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:11)
at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:130)
at cc.arduino.packages.uploaders.SerialUploader.burnBootloader(SerialUploader.java:408)
at processing.app.Editor.lambda$handleBurnBootloader$11(Editor.java:2752)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 7 more
Error while burning bootloader.

combover
 
Posts: 25
Joined: Wed Oct 14, 2015 5:17 pm

Re: USBTINYISB ... PRO-MINI

by combover on Thu Aug 11, 2016 5:08 pm

Error when trying to unload main program ...

Warning: platform.txt from core 'Arduino AVR Boards' contains deprecated recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}", automatically converted to recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{preprocessed_file_path}". Consider upgrading this core.

combover
 
Posts: 25
Joined: Wed Oct 14, 2015 5:17 pm

Re: USBTINYISB ... PRO-MINI

by franklin97355 on Thu Aug 11, 2016 10:07 pm

You might try downloading version 1.6.9 of the IDE and see if that helps.

franklin97355
 
Posts: 21647
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: USBTINYISB ... PRO-MINI

by combover on Fri Aug 12, 2016 12:50 pm

okay ... thank you kindly ... i am running 1.6.10 currently

combover
 
Posts: 25
Joined: Wed Oct 14, 2015 5:17 pm

Re: USBTINYISB ... PRO-MINI

by combover on Fri Aug 12, 2016 1:32 pm

okay ... so I replaced Arduino Software IDE 1.6.10 with 1.6.9 for the Mac.

the red light on the USBTINYISP blinked when I selected "Upload from the programmer".

then I got this screen that it stays on .... I do not know how to do the "-F" it mentions.

screen.tiff
screen.tiff (52.82 KiB) Viewed 754 times

combover
 
Posts: 25
Joined: Wed Oct 14, 2015 5:17 pm

Re: USBTINYISB ... PRO-MINI

by combover on Mon Aug 15, 2016 2:39 pm

.... no reply needed .... decided to go with a company that actually supports their products ... SparkFun ... programmer cable .... Arduino boards +++ ... a real developers site .... i hope the approach here at adafruit works for them ... cause it sure is not working for me ... cheers

combover
 
Posts: 25
Joined: Wed Oct 14, 2015 5:17 pm

Please be positive and constructive with your questions and comments.