Page 4 of 6

Re: XenoGC Full Source Code

Posted: Mon Sep 19, 2011 12:01 pm
by albertocastillo2001
Hello

Thanks for your reply.

Anybody knows which bugs have been fixed between the 1.0 and the 2.0 version? Besides the Shell to load multigame discs
I've read somewhere years ago that somebugs were corrected but it didn't mention them

Thank you.

Re: XenoGC Full Source Code

Posted: Mon Sep 19, 2011 5:01 pm
by albertocastillo2001
The XenoGC installation I have done is a bit messy to risk adding two more solder points. I am not good at soldering (but I should learn, all this stuff is very interesting)

Maybe I could solder a cable to GND in an alternative point which is far, but I am not sure which. By the way, there are some holes on the drive board that seem to do connection once a cable is inserted on them. Has anybody tried?

Thank you.

Re: XenoGC Full Source Code

Posted: Tue Sep 20, 2011 3:04 am
by megalomaniac
the Xeno or Atmega8 (Xeno clone) can be upgraded/downgraded (or initial programming for Atmega) using the various xenoflash.dol's included in the source..
In order to put the microcontroller in program(write) mode, RESET pin (1) must have constant contact with GND during the write process.


The printed letters "XENO" are in contact with RESET therefore connecting any of those letters with GND will put the chip in program mode. The letters are quite big and make for easy soldering of a wire lead. Also GND can found anywhere on the GC, such as the metal cage around the optical drive which also makes for easy soldering.

These two leads should be connected to an on/off switch rather than a reset (push) switch.
ON = leads have contact
OFF = no contact



Three versions of the Xenoflash.dol exist.
xenoFlash.1.01.dol = v1.01
xenoFlash.1.04b.dol = v1.04b
xenoflash.dol = 1.05 (2.0)




When the dol starts it will indicate:
Set Flash switch to [ON] position now
then press A to begin flashing
After pressing A it will perform a flash erase and a flash write. When the process is completed, reboot and set switch to [OFF] . The software does not perform error checking to confirm if the switch is in the right position, nor will it indicate if the microcontroller is in programming mode.



I have successfully written all three versions using the xenoflasher.
here are a few pics:

Code: Select all

xenoFlash.1.01.dol
Image

Image

Code: Select all

xenoFlash.1.04b.dol
Image

Image

Code: Select all

xenoflash.dol
yes, the pic shows 1.04 beta but it loads 1.05
Image

Image

Re: XenoGC Full Source Code

Posted: Tue Sep 20, 2011 4:19 am
by megalomaniac
There are some hidden commands which are not displayed in the v1.05 flashloader....
so dont push random buttons...

Code: Select all

A = flash erase, flash write
X = read flash
Y = reset flashloader (reload app)
Z = flash erase
Start = Boot into GCOS (included in xenoflasher.dol)

Re: XenoGC Full Source Code

Posted: Tue Sep 20, 2011 8:09 am
by albertocastillo2001
megalomaniac wrote:the Xeno or Atmega8 (Xeno clone) can be upgraded/downgraded (or initial programming for Atmega) using the various xenoflash.dol's included in the source..
In order to put the microcontroller in program(write) mode, RESET pin (1) must have constant contact with GND during the write process.


The printed letters "XENO" are in contact with RESET therefore connecting any of those letters with GND will put the chip in program mode. The letters are quite big and make for easy soldering of a wire lead. Also GND can found anywhere on the GC, such as the metal cage around the optical drive which also makes for easy soldering.
Those are great news indeed, the problem is that I don't have skills now, my skills are better than in 2006. But the mess is there, some pads have been lifted up and it will be harder to find alternative points. Soldering to the O letter of Xeno should be pretty easy.
You mean the metal cage with holes that attaches to the GameCube disc drive can be used as a ground connection as well?

Oh, and any list of fixes between the different XenoGC versions?

Thank you.

Re: XenoGC Full Source Code

Posted: Tue Sep 20, 2011 8:27 am
by liquitt
nice stuff - never seen this before!

Re: XenoGC Full Source Code

Posted: Tue Sep 20, 2011 1:37 pm
by emu_kidid
do you know if there's any difference in the two multigame menus? maybe one has the mystical NTSC support (since 2.0 only seems to be in PAL)

Re: XenoGC Full Source Code

Posted: Tue Sep 20, 2011 9:43 pm
by megalomaniac
Ive flashed my chip with everything i can find in the source....here are my findings


HEXFILES
../

Code: Select all

XenoAT.1.05.hex = PAL (XenoGC Shell v1.05)  --->>Multigame Shell
../Drivecode/Source/1.03a

Code: Select all

XenoAT = file does not appear to function
../XenoAT/Bin

Code: Select all

XenoAT.1.03a.v1.hex = NTSC (XenoGC v1.03a) --->> Classic Shell...see pic below
XenoAT.1.03a.v2.hex = file does not appear to function
XenoAT.1.03.v1.hex = file does not appear to function
XenoAT.hex = PAL (XenoGC Shell v1.05)  --->>Multigame Shell
XenoGC 1.01.V1.hex = file does not appear to function
XenoGC 1.01.V2.hex = NTSC (XenoGC v1.01) --->> Classic Shell...possibly original 1.01 release
XenoGC 1.04.hex = PAL (XenoGC Shell v0.98 beta)  --->>Multigame Shell



XenoFlashers
../

Code: Select all

xenoflash.1.05.dol = PAL
../XenoFlash/Bin/

Code: Select all

xenoFlash.1.01.dol = NTSC
xenoFlash.1.04b.dol = PAL
xenoflash.dol = PAL




md5sum

Code: Select all

hex
1381b07513bb22fd701245ad2457c23e  XenoAT.1.05.hex
727d860899916f067c1a496e739a29a7  Drivecode/Source/1.03a/XenoAT.hex
e572a5994c118680d406d254072cf19a  XenoAT/Bin/XenoAT.1.03a.v1.hex
f6ddb4faf6d0247ee460a351b15a8499  XenoAT/Bin/XenoAT.1.03a.v2.hex
f6ddb4faf6d0247ee460a351b15a8499  XenoAT/Bin/XenoAT.1.03.v1.hex
1381b07513bb22fd701245ad2457c23e  XenoAT/Bin/XenoAT.hex
08318c75b45eccc9eb3ad78fa0a25cf9  XenoAT/Bin/XenoGC 1.01.V1.hex
a6ba8066467ef568c2f8f36c0ec97b89  XenoAT/Bin/XenoGC 1.01.V2.hex
ea65af9e421a890fb980d564f3f88e9d  XenoAT/Bin/XenoGC 1.04.hex

xenoflasher
3abe3ea0d60333d998b8e9730881dd76  xenoflash.1.05.dol
656ee973233cbd19afdece8f7053315a  XenoFlash/Bin/xenoFlash.1.01.dol
92d0ae36375eb6beee6e5ac495eb3a25  XenoFlash/Bin/xenoFlash.1.04b.dol
3abe3ea0d60333d998b8e9730881dd76  XenoFlash/Bin/xenoflash.dol



1.03a.v1
Image

Re: XenoGC Full Source Code

Posted: Wed Sep 21, 2011 8:46 pm
by dantheman2865
megalomaniac, how did you flash the .hex files? The only two ways I can see right now are to compile them into a XenoFlasher or to desolder the board and use an Atmel programming tool. As far as I know, the Xeno doesn't have a software bootloader programmed for receiving bytes any other way. What's your secret? :)

Re: XenoGC Full Source Code

Posted: Wed Sep 21, 2011 10:04 pm
by megalomaniac
atmega has a bootloader
so by default, xeno also has a bootloader when the chip is set to program mode (RESET to GND)




in the source code release are 4 (2 are the same, so 3) versions of xenoflash.dol
the flash loader already contains the required hex file built into the dol.

1. use your normal dol loading method to start one of the 4 dols..
2. ensure the chip is physically in "program mode"
3. press A
4. remove chip from programming mode
5. reboot



note: only press the A button...do not press any other buttons

Re: XenoGC Full Source Code

Posted: Fri Sep 23, 2011 4:47 pm
by dantheman2865
Thanks mega, I am familiar with Atmel's Bootloader and fairly confident I understand how the XenoFlash program works. My question was directed to your testing of the Hex Files included in the source file.
megalomaniac wrote:Ive flashed my chip with everything i can find in the source....here are my findings


HEXFILES
../

Code: Select all

XenoAT.1.05.hex = PAL (XenoGC Shell v1.05)  --->>Multigame Shell
../Drivecode/Source/1.03a

Code: Select all

XenoAT = file does not appear to function
../XenoAT/Bin

Code: Select all

XenoAT.1.03a.v1.hex = NTSC (XenoGC v1.03a) --->> Classic Shell...see pic below
XenoAT.1.03a.v2.hex = file does not appear to function
XenoAT.1.03.v1.hex = file does not appear to function
XenoAT.hex = PAL (XenoGC Shell v1.05)  --->>Multigame Shell
XenoGC 1.01.V1.hex = file does not appear to function
XenoGC 1.01.V2.hex = NTSC (XenoGC v1.01) --->> Classic Shell...possibly original 1.01 release
XenoGC 1.04.hex = PAL (XenoGC Shell v0.98 beta)  --->>Multigame Shell
How did you flash these .hex files to the Xeno?

Re: XenoGC Full Source Code

Posted: Fri Sep 23, 2011 9:56 pm
by megalomaniac
Hex files were loaded/tested with a homemade serial programmer homemade xeno clone

I don't have an actual Xeno but technically, homemade makes no difference if done correctly.
With my homemade board it us easier for me to test, verify, and develop.
FYI:
An actual xeno will require a simple board mod to allow communication to both the GC and a serial/parallel programmer.
More info to come on these required modifications...

Re: XenoGC Full Source Code

Posted: Fri Sep 23, 2011 10:01 pm
by liquitt
Image

Re: XenoGC Full Source Code

Posted: Tue Sep 27, 2011 1:53 pm
by dantheman2865
Has anyone begun porting the XenoFlash code to libogc? I would like to begin this task but don't want to replicate anyone's work. I've gotten the Hello World example app in libogc to compile and run, so I know I'm not far off from this goal! :lol:

emu_kidid, do you know if The Author would object to forking his code into a code management system for open source development? If so, under what license should we develop it?

Speaking of forking, I am considering forking this discussion thread into a more appropriate forum than "News". Maybe GC/Wii development?

All that to say my end goal is to be able to hold Start on boot and have my XenoGC boot a specific file name from the SDGecko.

Any feedback?

Re: XenoGC Full Source Code

Posted: Tue Sep 27, 2011 4:02 pm
by liquitt
dantheman2865 wrote: Speaking of forking, I am considering forking this discussion thread into a more appropriate forum than "News". Maybe GC/Wii development?
sounds good to me, i'm on your side ;)

Re: XenoGC Full Source Code

Posted: Tue Sep 27, 2011 11:15 pm
by emu_kidid
dantheman2865, sounds good about forking the code - it's no longer in production these days anyway. Probably good to put all the code up into googlecode or something but label it as open sourced drive patches /etc..

Re: XenoGC Full Source Code

Posted: Wed Sep 28, 2011 5:21 am
by liquitt
to bring this out of the news thread, here's the googlecode project:
http://code.google.com/p/xenogcfork/

and the discussion about it:
http://www.gc-forever.com/forums/viewto ... f=20&t=716

Re: XenoGC Full Source Code

Posted: Sat Jul 07, 2012 2:25 pm
by lunar_lander
Hi guys,

Thank you for this big news !
I would share with you my design for the boards.
There are made with Sprint Layout (a nice software for designing PCB) and the files can surely be sent to manufacturing in their format (.lay).
If you found the software you can export gerber + drilling files and such from it.

So here they are:

ps: I've made a file for each of the three combinaison: DIP / DIP + ISP / QFP + ISP
And the simplest one (the DIP) is only a single face PCB.
And the QFP one has its resistors mades to be able to put some throughole reisitors or SMD one.
And all the componments & values are noted on the PCB, as well as th connection points on the motherboard !

I've uploaded a picture with the three design side by side if you want to see... ("modèles côte à côte.png")

Enjoy" (as well as I enjoy" this release ! ^^)
, Lunar_Lander

Re: XenoGC Full Source Code

Posted: Tue Jul 10, 2012 1:19 am
by megalomaniac
Nice layout...Looks good

Re: XenoGC Full Source Code

Posted: Mon Mar 10, 2014 12:53 pm
by szczuru
It is possible to swap XenoGC Shell built-in application with something else? (eg Swiss).

Re: XenoGC Full Source Code

Posted: Mon Mar 10, 2014 4:29 pm
by megalomaniac
Swiss is way too big to fit in the flash..

...but think about this:
Xeno requires drive proper initialization before it can upload its drive code..
This means Xeno requires a DVD in the drive, so why not use a swiss DVD? You only need to burn 1 copy because once you load swiss from DVD then you can always load a newer version of swiss from SD

Re: XenoGC Full Source Code

Posted: Mon Mar 10, 2014 5:16 pm
by novenary
Yeah plus the boot.iso feature was made for that purpose I guess. At least it goes well with booting from DVD.
Edit : boot.dol, not .iso.

Re: XenoGC Full Source Code

Posted: Mon Feb 02, 2015 5:57 pm
by noobcube
Not sure where to post this question...

I have an NTSC Gamecube with a Xeno GC v2.0 with the PAL 1.05 shell. The shell is useless, so I'd like to flash it with an earlier firmware. Assuming the Xeno is put into reset/programming mode, can this be done booting with SDLoad (or Swiss) on DVD-R and flashing the firmware from the SD Media Launcher?

Thanks!

Re: XenoGC Full Source Code

Posted: Mon Feb 02, 2015 10:04 pm
by noobcube
Got 1.01 flashed using Swiss after half a dozen attempts. The first try looked like it worked perfectly but rendered the Xeno GC inoperative (no LEDs), so I went searching in vain for the serial programmer I built a few years ago. Thankfully I also have a Viper GC Extreme, so I was able to use that to boot Swiss and run the flasher.dol. After a few more tries with errors, it finally worked. Not sure why flashing was so problematic.

null

Posted: Mon Sep 04, 2017 10:28 pm
by Slex989
null