ProjectABE (ArduBoy Emulator) released!


(Felipe Manga) #242

You can drag the hex file onto the ProjectABE.exe or into the running emulator, which should start the game. Then press ‘U’ to upload.

Edit: The process is admitedly a bit rough, it would be nicer if there was an interface for picking a hex file or something. For now I’m more worried about getting uploads to be reliable, then I’ll make it user-friendly.

If anyone has suggestions, however, I’m all ears. I’m not very good at designing UIs. See that snazzy color scheme? Dark=#123. Medium=#456. Light=#789. How’s that for color theory? :stuck_out_tongue:


(Scott R) #243

I have a few…but I would prefer to see existing stuff finalised first.


(Felipe Manga) #244

If you don’t want to derail the thread, you can also open a new issue.
If you’re afraid I’d get distrac… SQUIRREL!


(Felipe Manga) #245

New builds are up!

Notes:

  • The log window is ugly. Making it pretty is for another day.
  • The builds were made on my Linux PC… so I haven’t tested the MacOS/Windows builds yet. I think I got the MacOS file structure right, this time.
  • Please test and to see if it works for you. If it doesn’t, please report:
    1 - What game was on your Arduboy before the test
    2 - What game you’re trying to flash
    3 - Are you using a USB hub?
    4 - Was the Arduboy in flashlight mode?
    5 - Copy+Paste the log

(Scott R) #246

Win10 using separate USB ports added the logs anyway but everythings uploaded so far including switching Arduboys out so @bateske could just keep a constant flow

3x random games —> Sirene

Flash mode - press Esc to exit
Searching for Arduboy.
COM5 : Reset started
COM3 : Reset started
COM7 : Reset started
COM5 Connected 1
COM3 Connected 2
COM7 Connected 3
COM8 Error
COM8 Forgetting
COM6 Error
COM6 Forgetting
COM8 Uploading 4
COM6 Uploading 5
COM5 Reset complete
COM3 Reset complete
COM5 Forgetting 0
COM3 Forgetting 0
COM7 Reset complete
COM7 Forgetting 0
COM4 Uploading 6
COM8 Complete. Disconnect Arduboy. 4
COM6 Complete. Disconnect Arduboy. 5
COM4 Complete. Disconnect Arduboy. 6

Sirene --> Dark & Under

Flash mode - press Esc to exit
Searching for Arduboy.
COM5 : Reset started
COM3 : Reset started
COM7 : Reset started
COM5 Connected 1
COM3 Connected 2
COM7 Connected 3
COM8 Error
COM8 Forgetting
COM6 Error
COM6 Forgetting
COM8 Uploading 4
COM6 Uploading 5
COM5 Reset complete
COM3 Reset complete
COM5 Forgetting 0
COM3 Forgetting 0
COM7 Reset complete
COM7 Forgetting 0
COM4 Error
COM4 Forgetting
COM4 Uploading 6
COM8 Complete. Disconnect Arduboy. 4
COM6 Complete. Disconnect Arduboy. 5
COM4 Complete. Disconnect Arduboy. 6

I’m not sure if its intentional but the Arduboys take a long time to reboot into the games after flashing.

3rd test I removed an arduboy and flashed two adding the 3rd midway D&U --> CastleBoy

Flash mode - press Esc to exit
Searching for Arduboy.
COM3 : Reset started
COM3 Connected 1
COM4 Error
COM4 Forgetting
COM4 Uploading 2
COM3 Reset complete
COM3 Forgetting 0
COM4 Complete. Disconnect Arduboy. 2
COM5 : Reset started
COM5 Reset Error
COM5 Forgetting
COM5 : Reset started
COM5 Connected 3
COM6 Uploading 4
COM5 Reset complete
COM5 Forgetting 0
COM6 Complete. Disconnect Arduboy. 4

4th test I flashed 2 then swapped one then swapped again with a 4th that Had Virus-LQP79 on it

Flash mode - press Esc to exit
Searching for Arduboy.
COM5 : Reset started
COM3 : Reset started
COM5 Connected 1
COM3 Connected 2
COM6 Error
COM6 Forgetting
COM6 Uploading 3
COM5 Reset complete
COM5 Forgetting 0
COM3 Reset complete
COM3 Forgetting 0
COM4 Error
COM4 Forgetting
COM4 Uploading 4
COM6 Complete. Disconnect Arduboy. 3
COM4 Complete. Disconnect Arduboy. 4
COM6 Forgetting 3
COM5 : Reset started
COM5 Connected 5
COM6 Error
COM6 Forgetting
COM6 Uploading 6
COM5 Reset complete
COM5 Forgetting 0
COM6 Complete. Disconnect Arduboy. 6
COM6 Forgetting 6
COM5 : Reset started
COM5 Reset Error
COM5 Forgetting
COM5 : Reset started
COM5 Connected 7
COM6 Error
COM6 Forgetting
COM6 Uploading 8
COM5 Reset complete
COM5 Forgetting 0
COM6 Complete. Disconnect Arduboy. 8
COM6 Forgetting 8
COM5 : Reset started
COM5 Reset Error
COM5 Forgetting
COM5 : Reset started
COM5 Connected 9
COM6 Error
COM6 Forgetting
COM6 Uploading 10
COM5 Reset complete
COM5 Forgetting 0
COM6 Complete. Disconnect Arduboy. 10

I’m guessing the LED blink means ones done.


(Scott R) #247

I think for Kevin’s purpose it would be best if the Arduboys rebooted asap and he unplugged them on the Ardubenture title screen to avoid accidentally pulling one midway through flashing.


(Felipe Manga) #250

Your logs look OK, those errors mean the board reset and got disconnected. The LED blink is necessary because, if the board were to reboot, it would flash again and again.


(Scott R) #252

Yeah it seems to be working great on Win10.
I can just keep cycling Arduboys to flash them


(Scott R) #253

now if Kevin had used @Mr.Blinky’s bootloader you could have sent a Done screen over serial.


(Simon) #254

I have been trying to reset it for the last 10 minutes. Nothing is working.

@Keyboard_Camper I don have a programmer but I don’t have the pogos. I think this is one of the Arduboys that have do not have the fuses set.

When I plug my good Arduboy in, I get the following:

Its stuffed!


(Felipe Manga) #255

Proper stuffed? Can you get it back with the programmer? :worried:


(Scott R) #256

If it’s just a bad flash it should be salvageable unlike mine that was physically fried.

My soldering is pretty crap but I can make you a clip up by the weekend if you want.

Probably best to make a separate topic & @FManga pull that build

Edit.
@filmote do you have access to a win PC you might be able to get the windows build to find it and hit the reset button a few times. it should eliminate the crappy timing you get with the ide


(Felipe Manga) #257

I pulled the Mac build, looks like it tried to flash the same board using 4 different paths at the same time.
Linux and windows only have one path.


(Simon) #258

As I mentioned, this Arduboy does not have the ‘fuses’ set (according to @bateske).

I don’t know if its the build or the device. I will take it to work tomorrow to test on a Windows machine.


(Scott R) #259

worst case it should only need the bootloader flashed if you don’t mind doing it yourself i’ll make you a clip.
If its the fuses then its down to contacting @bateske depending on what rout you want to take.

because its showing up I think there’s a chance of salvaging without a programmer.


(Erwin) #260

Wasn’t you the one who slaughtered like 1000 billion poor Arduboys already?

You do not need pogo pins, just an extra pair of hands or something to hold wires.


(Felipe Manga) #261

If you can’t get it back, send me a PM.

I wonder what the proper fix for this is… ignore cu.* and .*Bluetooth.*?
Are we sure the Linux/Windows builds are safe, or should I pull those too?


(Scott R) #262

I’ve not hit any issues with the Win build yet.

if @eried wants to confirm?


(Felipe Manga) #263

Glad to hear it. I was pretty sure it was safe (I did well over 300 flashes on 3 clone boards yesterday) but different setups bring surprises. :confused:


#264

or control the LEDs during and after flashing :slight_smile:

Lucky enough the current game is different then the target (Siren) so it’s easy to see which ones are done.