gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Hardware > Xboo multiboot cable

#3000 - Bri - Sun Feb 16, 2003 10:51 am

I created a xboo multiboot cable and every time I want to send something to the gba I get this one:

C:\DOKUME~1\Philipp\EIGENE~1\DOWNLO~1>xboo 378 tod
No$gba boot copyright 9/2001 martin korth
Detected delay time: 038B
- Requesting Burst Boot
- Sending Reset and Requesting Normal Boot
- Sending Header Data
- Sending Main Data Block
- Final Confirmation
Transfer Failed:
Bad response

Does anyone now what could be wrong ?

Thx
Bri

#3002 - Lord Graga - Sun Feb 16, 2003 11:02 am

Are you sure you got a multiboot rom?

#3003 - Bri - Sun Feb 16, 2003 11:27 am

Yes I think so.
I tried it with several roms but I always get this error.

#3004 - Jakerrzero - Sun Feb 16, 2003 11:35 am

i am having exactly the same problem right now! im pretty sure your rom is probably just not multi boot. I downloaded a multiboot rom from somewhere and it worked. Now i am just trying to figure out how to make my own roms multiboot. i use the vc++ integration tool, i was told i just had to use this line of code and the linker script would take care of making it multiboot:
const int __gba_multiboot = 0;

but i haven't had any luck with that...
anyone that has any more information on this
im sure bri and I would both really apreciate it!!!
thanks!!!

#3005 - Bri - Sun Feb 16, 2003 11:37 am

sorry ... didn't read your pm

Last edited by Bri on Sun Feb 16, 2003 11:43 am; edited 1 time in total

#3006 - Jakerrzero - Sun Feb 16, 2003 11:42 am

it's ok :)
i sent that file to you.
hope it works!
if you find out how to make your own roms bootable please let me know

#3007 - Bri - Sun Feb 16, 2003 11:45 am

Tried it with the rom I got from you and now I get this :(

C:\DOKUME~1\Philipp\EIGENE~1\DOWNLO~1>xboo 378 test
No$gba boot copyright 9/2001 martin korth
Detected delay time: 0387
WARNING:
!!! The cartridge does not contain a valid Multiboot entry
!!! point at 20000C0h, and/or contains nonzero code or data
!!! at 20000C4h. Probably, it does not support Multiboot.
- Requesting Burst Boot
- Sending Reset and Requesting Normal Boot
- Sending Header Data
- Sending Main Data Block
- Final Confirmation
Transfer Failed:
Bad response

#3008 - Jakerrzero - Sun Feb 16, 2003 11:48 am

when i use that rom i get the same stuff in the begining

Posted: Sun Feb 16, 2003 2:45 am Post subject:


WARNING:
!!! The cartridge does not contain a valid Multiboot entry
!!! point at 20000C0h, and/or contains nonzero code or data
!!! at 20000C4h. Probably, it does not support Multiboot.

but then it works for me.

i made a .bat file with these arguments:
xboo.com /378 /n test.gba

the /n is to disable burst boot cuz i made my cable the simplest way.

#3009 - Bri - Sun Feb 16, 2003 11:58 am

Hmm... the /n parameter doesn't seem to work with my version of xboo.
Maybe you have a newer one ?

#3010 - ampz - Sun Feb 16, 2003 12:02 pm

Bri: you are using a old version of XBOO, it does not support fast computers.

#3013 - Bri - Sun Feb 16, 2003 12:09 pm

where do I get the new one ?
I currently try it on a P4/2,66Ghz with winxp, but it also didn't work on a P1/166Mhz with win98.

#3015 - ampz - Sun Feb 16, 2003 12:12 pm

http://www.work.de/nocash/gba-xboo.htm

Anything >100MHz is considered fast.

#3016 - Jakerrzero - Sun Feb 16, 2003 12:14 pm

ampz do you have any idea why when i code the lines:

#define MULTIBOOT int __gba_multiboot;
MULTIBOOT

in my globals area in my code, i still get the error:
Bad response (probably incorrect header)

#3017 - Bri - Sun Feb 16, 2003 12:19 pm

thx a lot .... now it works :)

#3018 - Jakerrzero - Sun Feb 16, 2003 12:29 pm

right on :)

did you get your own roms booting? or just the test i sent you?

if you got your own booting can you explain how you did it?

thanks

#3019 - Bri - Sun Feb 16, 2003 12:38 pm

I haven't tried to program a own rom but I tried the Firedemo (MattDemo3) from http://axio.ms/projects/GBA/ but I get the Bad checksum error.
Shouldn't it work with a multiboot cable ?

#3020 - ampz - Sun Feb 16, 2003 1:01 pm

Jakerrzero: dunno, I don't use that kind of defines.

Are you all using the correct header? The [N] logo is ok? the CRC is correct?

The MB part of the header should look something like this:
Code:
        @ Software Version No (80000BCh)
                .byte   0x00
        @ Complement Check (80000BDh)
                .byte   0x88
        @ Check Sum (80000BEh)
                .byte   0x00,0x00
        @ Multiboot entrypoint (0xC0)
                b       rom_header_end
        @ Boot mode (0xC4)
                .byte   0x00
        @ Slave ID (0xC5)
                .byte   0x00
        @ 20000C6h..20000DFh - Not used
                .byte   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
                .byte   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
                .byte   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
        @ Joybus entrypoint (0xE0)
                b       rom_header_end


Make sure that the CRC is calculated correctly, and the N logo is ok.
Also, have you set your compiler to 0x02000000 instead of 0x08000000 ?

#3021 - Jakerrzero - Sun Feb 16, 2003 1:21 pm

ok i got it working
i went here and downloaded the gbafix.zip file
it fixed the problem:)
http://users.raketnet.nl/darkfader/http://darkfader.net/gba/main.html