No longer able to upload code to Ind.I/O
Hi, I'm trying to make some small mods to the code of a unit that was running fine for a year or so. I get a slew of errors and the app seems to hang on "Uploading...". I;m using the older IDE which is required for this unit. Any thoughts?
java.io.IOException: Cannot run program "/Users/Study/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/bin/avrdude": error=86, Bad CPU type in executable
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:115)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:159)
at processing.app.debug.Compiler.upload(Compiler.java:166)
at processing.app.Sketch.upload(Sketch.java:1167)
at processing.app.Sketch.exportApplet(Sketch.java:1141)
at processing.app.Sketch.exportApplet(Sketch.java:1113)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2380)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: error=86, Bad CPU type in executable
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)
... 11 more
Hi, it seems the IDE is trying to upload to an AVR type of board, while you are probably have the Industruino D21G board. You need to select the correct board from Tools > Board. If the Industruino board is not available there, install it with these instructions https://github.com/Industruino/documentation/blob/master/indio.md#setting-up-the-arduino-ide
Your answer
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
Keep Informed
About This Forum
This community is for professionals and enthusiasts of our products and services.
Read GuidelinesQuestion tools
Stats
Asked: 2/5/22, 11:54 PM |
Seen: 1244 times |
Last updated: 2/7/22, 12:40 AM |
Hi Tom, thanks for the response. I actually have the older 1296. But when I went to confirm that just now the dang thing compiled fine. I must have had the board wrong after all.