I think i just broken the Arduboy ....?


(Peter Xu) #1
  When i try to uploading some game, and the last game [Arduventure] screen are sit there forever.

I try to reset , every time atfer upload diffrent game on it, but Arduboy itself are still with the [Arduventure] game in it , and i copy the the erro massage if anyone can understand what it means. massive help needed from Japan user

Arduino: 1.8.3 (Windows 10), Board: “Arduino Leonardo”

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\ipodx\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\ipodx\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\ipodx\Documents\Arduino\libraries -fqbn=arduino:avr:leonardo -vid-pid=0X2341_0X8036 -ide-version=10803 -build-path C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157 -warnings=none -build-cache C:\Users\ipodx\AppData\Local\Temp\arduino_cache_89824 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\ipodx\Documents\Arduino\ID-34-Mystic-Balloon-master\MYBL_AB\MYBL_AB.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\ipodx\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\ipodx\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\ipodx\Documents\Arduino\libraries -fqbn=arduino:avr:leonardo -vid-pid=0X2341_0X8036 -ide-version=10803 -build-path C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157 -warnings=none -build-cache C:\Users\ipodx\AppData\Local\Temp\arduino_cache_89824 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\ipodx\Documents\Arduino\ID-34-Mystic-Balloon-master\MYBL_AB\MYBL_AB.ino
Using board ‘leonardo’ from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core ‘arduino’ from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used…
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 ‘-DUSB_MANUFACTURER=“Unknown”’ ‘-DUSB_PRODUCT=“Arduino Leonardo”’ “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo” “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\sketch\MYBL_AB.ino.cpp” -o “nul”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 ‘-DUSB_MANUFACTURER=“Unknown”’ ‘-DUSB_PRODUCT=“Arduino Leonardo”’ “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo” “-IC:\Users\ipodx\Documents\Arduino\libraries\Arduboy2\src” “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\sketch\MYBL_AB.ino.cpp” -o “nul”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 ‘-DUSB_MANUFACTURER=“Unknown”’ ‘-DUSB_PRODUCT=“Arduino Leonardo”’ “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo” “-IC:\Users\ipodx\Documents\Arduino\libraries\Arduboy2\src” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM\src” “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\sketch\MYBL_AB.ino.cpp” -o “nul”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 ‘-DUSB_MANUFACTURER=“Unknown”’ ‘-DUSB_PRODUCT=“Arduino Leonardo”’ “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo” “-IC:\Users\ipodx\Documents\Arduino\libraries\Arduboy2\src” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM\src” “-IC:\Users\ipodx\Documents\Arduino\libraries\ArduboyTones\src” “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\sketch\MYBL_AB.ino.cpp” -o "nul"
Using cached library dependencies for file: C:\Users\ipodx\Documents\Arduino\libraries\Arduboy2\src\Arduboy2.cpp
Using cached library dependencies for file: C:\Users\ipodx\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Audio.cpp
Using cached library dependencies for file: C:\Users\ipodx\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp
Using cached library dependencies for file: C:\Users\ipodx\Documents\Arduino\libraries\Arduboy2\src\Sprites.cpp
Using cached library dependencies for file: C:\Users\ipodx\Documents\Arduino\libraries\Arduboy2\src\ab_logo.c
Using cached library dependencies for file: C:\Users\ipodx\Documents\Arduino\libraries\Arduboy2\src\glcdfont.c
Using cached library dependencies for file: C:\Users\ipodx\Documents\Arduino\libraries\ArduboyTones\src\ArduboyTones.cpp
Generating function prototypes…
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 ‘-DUSB_MANUFACTURER=“Unknown”’ ‘-DUSB_PRODUCT=“Arduino Leonardo”’ “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo” “-IC:\Users\ipodx\Documents\Arduino\libraries\Arduboy2\src” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM\src” “-IC:\Users\ipodx\Documents\Arduino\libraries\ArduboyTones\src” “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\sketch\MYBL_AB.ino.cpp” -o “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\preproc\ctags_target_for_gcc_minus_e.cpp”
“C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags” -u --language-force=c++ -f - --c+±kinds=svpf --fields=KSTtzns --line-directives "C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch…
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 ‘-DUSB_MANUFACTURER=“Unknown”’ ‘-DUSB_PRODUCT=“Arduino Leonardo”’ “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo” “-IC:\Users\ipodx\Documents\Arduino\libraries\Arduboy2\src” “-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM\src” “-IC:\Users\ipodx\Documents\Arduino\libraries\ArduboyTones\src” “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\sketch\MYBL_AB.ino.cpp” -o "C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\sketch\MYBL_AB.ino.cpp.o"
Compiling libraries…
Compiling library "Arduboy2"
Using previously compiled file: C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\libraries\Arduboy2\ab_logo.c.o
Using previously compiled file: C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\libraries\Arduboy2\glcdfont.c.o
Using previously compiled file: C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\libraries\Arduboy2\Arduboy2.cpp.o
Using previously compiled file: C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\libraries\Arduboy2\Arduboy2Audio.cpp.o
Using previously compiled file: C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\libraries\Arduboy2\Arduboy2Core.cpp.o
Using previously compiled file: C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\libraries\Arduboy2\Sprites.cpp.o
Compiling library "EEPROM"
Compiling library “ArduboyTones"
Using previously compiled file: C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\libraries\ArduboyTones\ArduboyTones.cpp.o
Compiling core…
Using precompiled core
Linking everything together…
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc” -w -Os -g -flto -fuse-linker-plugin -Wl,–gc-sections -mmcu=atmega32u4 -o “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157/MYBL_AB.ino.elf” “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\sketch\MYBL_AB.ino.cpp.o” “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\libraries\Arduboy2\ab_logo.c.o” “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\libraries\Arduboy2\glcdfont.c.o” “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\libraries\Arduboy2\Arduboy2.cpp.o” “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\libraries\Arduboy2\Arduboy2Audio.cpp.o” “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\libraries\Arduboy2\Arduboy2Core.cpp.o” “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\libraries\Arduboy2\Sprites.cpp.o” “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157\libraries\ArduboyTones\ArduboyTones.cpp.o” “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157/…\arduino_cache_89824\core\core_arduino_avr_leonardo_0c812875ac70eb4a9b385d8fb077f54c.a” “-LC:\Users\ipodx\AppData\Local\Temp\arduino_build_339157” -lm
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy” -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157/MYBL_AB.ino.elf” “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157/MYBL_AB.ino.eep”
“C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy” -O ihex -R .eeprom “C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157/MYBL_AB.ino.elf” "C:\Users\ipodx\AppData\Local\Temp\arduino_build_339157/MYBL_AB.ino.hex"
Using library Arduboy2 at version 4.0.2 in folder: C:\Users\ipodx\Documents\Arduino\libraries\Arduboy2
Using library EEPROM at version 2.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM
Using library ArduboyTones at version 1.0.3 in folder: C:\Users\ipodx\Documents\Arduino\libraries\ArduboyTones
Sketch uses 27170 bytes (94%) of program storage space. Maximum is 28672 bytes.
Global variables use 1696 bytes (66%) of dynamic memory, leaving 864 bytes for local variables. Maximum is 2560 bytes.
Forcing reset using 1200bps open/close on port COM7
processing.app.debug.RunnerException
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:160)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)
at processing.app.SketchController.upload(SketchController.java:713)
at processing.app.SketchController.exportApplet(SketchController.java:686)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2149)
at java.lang.Thread.run(Thread.java:745)
Caused by: processing.app.SerialException: Error touching serial port ‘COM7’.
at processing.app.Serial.touchForCDCReset(Serial.java:99)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:144)
… 5 more
Caused by: jssc.SerialPortException: Port name - COM7; Method name - openPort(); Exception type - Port busy.
at jssc.SerialPort.openPort(SerialPort.java:164)
at processing.app.Serial.touchForCDCReset(Serial.java:93)
… 6 more
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
Exception in thread “Thread-38” java.util.ConcurrentModificationException
at java.util.LinkedList$LLSpliterator.forEachRemaining(LinkedList.java:1239)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
at cc.arduino.contributions.libraries.LibrariesIndexer.rescanLibraries(LibrariesIndexer.java:127)
at cc.arduino.contributions.libraries.LibrariesIndexer.setLibrariesFolders(LibrariesIndexer.java:106)
at processing.app.BaseNoGui.onBoardOrPortChange(BaseNoGui.java:682)
at processing.app.Base.onBoardOrPortChange(Base.java:1297)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2179)
at java.lang.Thread.run(Thread.java:745)


(Scott) #2

(Peter Xu) #3
Dear MLXXXp  Thanks for the help. but this method didnt work ....

when i turn on the Arduboy, unlike the normal start up. theres no any Team ARG logo or , the Arduboy logo before the acutally game title… just turn on the Arduboy, and instantlly to the game title… nomatter what game i try to upload

[Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding

avrdude: butterfly_recv(): programmer is not responding
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.]

the last line maybe is the key to solve the issue?
its sad i just bought the Arduboy yesterday


(curly) #4

Did you try the reset button, start loading a new game than a few seconds before it’s done hit the reset button on your arduboy, that will block the game curantly on there from loading long enough for the bootlader to do it’s job, however the button is somewhat delicate and is only to be used as a last resort, flashlight mode should be sufficient


(Simon) #5

The flashlight mode is only valid if the game currently on the machine uses the Arduboy library. I haven’t loaded Arduventure but do not think it supports this function (just as it doesn’t have the logo).


(Pharap) #6

Firstly I just want to say that the big bold letters on the Arduventure page saying:

DO NOT UPLOAD THIS GAME !!!
IT WILL BRICK YOUR ARDUBOY !!!

are completely serious.

Arduventure uses an old version of the Arduboy code and (as @filmote says) it doesn’t support the ‘flashlight’ feature, so the ‘flashlight mode’ solution won’t help.

You’re going to have to rely on being able to time pressing the reset button well (like @curly says) to get a new sketch to load.

There’s a short video on this post showing it being done:

It will take a couple of tries to get the timing right, but you have to just stick with it.

Also make sure that your board is set to “Arduboy” under Tools > Board: "Arduboy", if it isn’t you’ll need to go to Tools > Board > Boards Manager and search for “Arduboy” to get it installed, then look for it in the Tools > Board list and set it as your current board.

Once you’ve got Arduventure off your system, don’t try to load it again, you’ll run into exactly the same problem.


(Simon) #7

It so tempting to load this game up … it looks great. But please don’t do it!


(Erwin) #8

You can try with my Uploader: http://arduboy.ried.cl/ (click Arduboy Uploader and transfer one of the games in the list).
Sometimes I get better results because acts “faster” when it finds the port. Additionally, try with the reset button.

And finally: contact support, they will help you.


(Pharap) #9

Yes this too. (I forgot support is a thing.)
I think that means using the contact form.


(Scott) #10

Actually, the version of Arduventure found in the Popular Links section of the original post, which is here, does use the Arduboy library, and it does call begin(), so it does display the ARDUBOY logo on startup, and flashlight mode is available.

I just tried it. It won’t allow new sketches to be loaded if the game is running but new uploads work fine if you initiate flashlight mode.

So, I don’t know what version of Arduventure @Peter_Xu has uploaded if it doesn’t display the logo. However, the warnings about bricking your Arduboy with the current version are a bit extreme.


(curly) #11

Ya thanks for clarifying that @MLXXXp I was pretty shure I used flashlight mode to get the game off

Also I’ve loaded it multiple times and haven’t destroyed my arduboy yet


(Celine) #12

:open_mouth: playing with fire :fire:


(curly) #13

What can I say I live on the edge


(Cody) #14

Lol I’ve actually uploaded arduventure enough to tell its time to stop😂


(Peter Xu) #15

thank you Mr…Pharap

I try the reset method many time just as the video says…

the [Arudventure] logo always pop up just like before ,without Arduboy logo first.

the yet Arduino log shows this Orange text at last

Programmer Type : butterfly
Description : Atmel AppNote AVR109 Boot Loader

Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding

avrdude: butterfly_recv(): programmer is not responding


(Peter Xu) #16

the fact is ,my Arduboy was not Brick at all, the last uploading game was Demo of [Arduventure] it can be played fine , but some how could not upload other games anymore problem, and yet fail anyway of reseting , or uploading new game … I run out the way of sovlong this nightmare…


(Scott) #17

@Peter_Xu
Where did you get the Arduventure demo that you uploaded?


(Peter Xu) #18

not the Demo Version, maybe the ongoing whole game ver . just search on the internet, but now i really regret the choice i made


(Kevin) #19

@Peter_Xu write us at www.arduboy.com/contact we can try to help you out from there.


(Pharap) #20

Just for the record, @eried did suggest this at one point (and I added the link). I’m glad to know it was the right advice to give.