I faced off some problems with my Arduboy. And I need help.
This thread was created in the hope that the process will be helpful, if someone ran into this problem ever again.
I have my Arduboy off (power switch off) for
a week or so half a day. And then something decided to creep on:
Disconnected to power, it will not start. When I turn on the power button nothing happened. After pressing a certain button (usually A_BUTTON or UP_BUTTON) it MAY finally
begin and so on and so forth. Battery voltage reading was a 4.11V, so it is unlikely that it is battery issue. Didn’t check with my multimeter, though.
When connected to power, the red light (charge light) will not light(when power switch is off). The laptop cannot detect it at this time (“USB support” was offline now.) When I turn on the power switch, the red light will finally light up, but the arduboy won’t
begin. I also had to press a certain button (UP_BUTTON or A_BUTTON) for it to
begin, and after that my laptop can detect it. (“USB support” was online now.)
The current software on there (my ASTEROIDS, which worked yesterday) can run at this stage, but it happened to me that my Arduboy can crash unexpectedly, usually during changes(of program state) in the game or a certain button press. The
rawADC included in source code also upset the MEGA32U4 from time to time.
Then I immediately decided to flash another thing onto there (assuming it was bad “code” in PROGMEM.) The problem still occurs. I then decided to clear the EEPROM (with the simplest code I came up with). Didn’t solve the problem. Then it won’t
begin after being flashed (which is quite odd), and I now had to HOLD (UP_BUTTON) for the chip to be powered. Releasing the button will immediately shut the processor.
Then I flashed Hello World onto the chip (holding UP_BUTTON all the time.)
The “USB support”, however, was constant all the time. The COM port didn’t jump around, and nor is it COM 1.
Oh, and the reset button won’t do the trick.
Need help identify the problem.