Help me.

What is a Uzebox? How can I get one? Check here!
09udj02
Posts: 10
Joined: Wed May 18, 2011 5:54 am

Help me.

Post by 09udj02 »

Dear,

I bought your product "Uzebox AVCore Development Module" last time,
and I try to work the game form the SD card.

However, it does not work. So I rewrited the Flash memory with the AVRISP mark2.
(I download and use file is the "Bootloader.hex" from the tutorial page)

Then, the LED does not work on the baseboard and the SD card was not read from it.

I don't know how to recover it. Please tell me.

Thank you,
User avatar
uze6666
Site Admin
Posts: 4801
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Help me.

Post by uze6666 »

Hi,

Welcome to the Uzebox community. It's important to note that the AVCore is an implementation of the Uzebox design. Hence it is not made by us, but by http://www.embeddedengineeringllc.com. That said, I'll try my best to help out.
...and I try to work the game form the SD card. However, it does not work. So I rewrited the Flash memory with the AVRISP mark2.
(I download and use file is the "Bootloader.hex" from the tutorial page)
A couple question to better understand. When powered initially, did the Sparkfun game came up? What doesn't work means? Do you at least get the title bar at the top of the screen?
Playing multiples games from the SD card effectively requires the bootloader (aka Gameloader). Not sure what version you used, but it should be this one (version 0.2).
Then, the LED does not work on the baseboard and the SD card was not read from it.
This is normal, there's always been a "bug" in the bootloader that does not turn on the LED.

A couple more things. Are you able to flash and play another HEX file like Megatris or Pac-man? The SD card must be a regular SD and not a SDHC/high capacity one. SDHC cards uses a different addressing scheme and will not work with the current bootloader. Also the card must be freshly formatted in FAT16. Fat32 and fragmentation are not supported.

EDIT: It just came to my mind that some fuses needs to be set to activate the bootloader functionality. Check out this post on how to set fuses with AVRStudio. Be sure to follow instructions as-is and not check/uncheck any other fuses or you'll risk bricking your AVCore.

-Uze
09udj02
Posts: 10
Joined: Wed May 18, 2011 5:54 am

Re: Help me.

Post by 09udj02 »

Hi uze,

Thank you for the support me at the moment.

Now, I download the Game Loader 0.3 form "viewtopic.php?f=3&t=520", and
burn it on the Uzebox flash memory.

The title of the "Game Loader 0.3" appear on the Screen. However, the game title in the SD Card not appear.
( I write the donkykong.hex in the SD Card)

What do I do in this case?

Thank you,
User avatar
uze6666
Site Admin
Posts: 4801
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Help me.

Post by uze6666 »

The bootloader works with .UZE files on the SD card, not .HEX files. UZE files are specially formatted binary versions of the .HEX files. You can get some here.

Hope that helps,

-Uze
09udj02
Posts: 10
Joined: Wed May 18, 2011 5:54 am

Re: Help me.

Post by 09udj02 »

Hi uze,

Thank you for help me again.

I'm afraid that I'm not so clever. Would you please telling me some more detail about it.

How do I make the ".UZE" file from ".HEX" ?

Thank you,
User avatar
uze6666
Site Admin
Posts: 4801
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Help me.

Post by uze6666 »

Hey,

.Uze files are created using the packrom tool, which is part of the uzebox API & tools pack available here.

This is a step that you usually add to the makefile when compiling your programs like this:

Code: Select all

%.uze: $(TARGET)
        @echo
        -packrom $(GAME).hex $@ $(INFO)
Check the makefiles in the demo projects for more examples.

-Uze
09udj02
Posts: 10
Joined: Wed May 18, 2011 5:54 am

Re: Help me.

Post by 09udj02 »

uze,

Thank you again for your help

Now, I write the ".UZE" file to the SD Card.
And the game title appear on the screen.

However, the game controller does not work, so I cannot choose any game and playing.

How do I clear this ploblem?

Thanks,
09udj02
Posts: 10
Joined: Wed May 18, 2011 5:54 am

Re: Help me.

Post by 09udj02 »

It 's self reply.

I downloaded the Bootloader 0.4 and burn it on the Flash memory.

The game title are appear on the screen. However I could not select any game with
the game pad.

Usually, the select cursor on the screen, but in my case cursor disappear.

I don't know how to fix it.

Thank you,
09udj02
Posts: 10
Joined: Wed May 18, 2011 5:54 am

Re: Help me.

Post by 09udj02 »

The Self reply again.

I changed other game pad and try. But it does not work again.

I think that the Uzebox need the game pad driver.

Does anybody know this problem?

Thanks,
User avatar
uze6666
Site Admin
Posts: 4801
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Help me.

Post by uze6666 »

Are you sure your game pads works? To verify, download the controller tester tool HEX and flash it directly on the uzebox using the avrisp programmer. You didn't mention, but I assume you the AVcore is firmly plugged in the gamecard.

-Uze
Post Reply