xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
> Flash Tsop With X2 (and Others) 12c508 Code, here's what we've thrown together so far
Ubergeek
post Apr 5 2003, 08:21 AM
Post #1


X-S Freak
*****

Group: Members
Posts: 1090
Joined: 28-March 03
Member No.: 29016



Not had any time at all to work on this - so we knocked this together last night to give budding coders something to have a crack at

pls no questions - if you now what you are doing all your answers will be on this page

This hasn't really been tested and may need adjusting - but it basically controls d0 and a15 similar to the matrix for flashing your tsop

TBH i dont know why this hasnt been released to the scene before now as the code is really really simple


CODE

;CONNECT PIC PIN 8 TO GROUND
;CONNECT PIC PIN 1 TO 5 VOLTS
;CONNECT PIC PIN 2 TO D0
;CONNECT PIC PIN 3 TO A15
;D0 WILL BE GROUND AT BOOT FOR HALF A SECOND THEN WILL GO OPEN
;A15 WILL BE GROUND AT BOOT AND STAY GROUND FOR 50 SECONDS


; CODE XBOX V1.555
;  12C508




INAD EQU 00H  
TRMO EQU 01H  
PC EQU 02H  
STATUS  EQU 03H  
FSR     EQU 04H  
OSSCAL  EQU 05H  
GPIO    EQU 06H    
COUNT EQU 07H  
COUNT1 EQU 08H  
COUNT2 EQU 09H    
COUNT3 EQU 0AH  


#DEFINE Z    STATUS,2
#DEFINE C    STATUS,0



ORG 00  
MOVWF OSSCAL      
GOTO START_


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;  
LONG_
D_
CLRF TRMO
S_
NOP
NOP
NOP
BTFSS TRMO,7
GOTO S_
DECFSZ COUNT
GOTO D_
RETLW 00
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;  

START_
CLRF GPIO
MOVLW B'10000111'
OPTION
MOVLW B'11001111'
TRIS GPIO
BCF GPIO,5  ;PIC PIN 2  D0
BCF GPIO,4  ;PIC PIN 3  A15

MOVLW .8;D0 TIMING VARIABLE AJUST THIS FOR D0 O/C FROM GROUND TIME
MOVWF COUNT;LOWER NUMBER WILL REDUCE TIME FROM D0 TO O/C
CALL LONG_


MOVLW B'11101111'
TRIS GPIO

MOVLW .255;A15 TIMING VARIABLE AJUST THIS TO AJUST A15 TIME FROM GROUND
MOVWF COUNT;LOWER NUMBER WILL REDUCE THE TIME UNTIL A15 IS O/C
CALL LONG_
MOVLW .255
MOVWF COUNT
CALL LONG_
MOVLW .255
MOVWF COUNT
CALL LONG_
MOVLW .255
MOVWF COUNT
CALL LONG_
MOVLW .255
MOVWF COUNT
CALL LONG_
MOVLW .255  
TRIS GPIO
LAST
NOP
GOTO LAST

END


some info that this code was based on (found on xboxhacker.net)

Programming the Onboard TSOP using a X2PRO or X2LITE.
This can be done and has been done on 1.0 boxes.

1) Connect TSOP Write lines (See matrix instructions)
2) Ground A15 (T1 on the matrix instructions)
3) Program X2Pro with EvoxMatrixTSOP bios
4) Turn power on and after 1/2 second turn DIP switch 4 off
5) Wait for EvolutionX to come up
6) Remove A15 Ground
7) Use EvolutionX to Flash a 1 meg bios to TSOP

Make sure your Evox xbe is named and placed somewhere that the EvoxMatrixTSOP bios can find it. I used a CD-RW with Slayer's 2.0 disk and Flashed 4974 onto the TSOP.

Look at the TSOP Flash Matrix Instructions floating around for pin locations etc.

This works with both the PRO and LITE but ONLY on 1.0 boxes until a EvoxMatrixTSOP bios is released for 1.1.

BTW, After you remove the A15 ground but before you flash the TSOP, if you use EvolutionX to backup your Box, you will have a copy of the orignal bios from your box. But you must do steps 1-6 first before you do the backup or you will just backup the X2.

This post has been edited by Ubergeek: Apr 5 2003, 08:22 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
Ginie66
post Aug 4 2003, 12:58 PM
Post #2


X-S Member
*

Group: Members
Posts: 78
Joined: 29-June 03
From: Townsville
Member No.: 46293



biggrin.gif yeah there is look at PhoenixBiosLoader 1.3 it allows you to load the bios trough the ram works great still a few probs with it but it wil be the next best thing to the 007 and soldering the points on the mobo
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic
Ubergeek   Flash Tsop With X2 (and Others) 12c508 Code   Apr 5 2003, 08:21 AM
Ubergeek   *bump* can a mod make this sticky - i think you...   Apr 6 2003, 10:49 AM
mirx999   indeed it is. thanks, Uber!   Apr 7 2003, 09:35 PM
jp110099   nice job Ubergeek, you are truly a god!, thx f...   Apr 7 2003, 11:31 PM
MackLogic   Very nice indeed. One of my xboxs wont boot to evo...   Apr 7 2003, 11:49 PM
kard63   Veryu very cool.   Apr 8 2003, 03:01 AM
Regionfree   I counted about 30 errors in the code which need t...   Apr 8 2003, 04:56 AM
Ubergeek   it assembles no errors for me im sure it needs ...   Apr 8 2003, 09:03 AM
Regionfree   I still keep getting errors with MPASM for some re...   Apr 8 2003, 01:11 PM
nexus2   You really don'y need the PIC or the Code to d...   Apr 8 2003, 02:57 PM
jp110099   It says to turn off switch 4 on X2 Pro, can i auss...   Apr 8 2003, 06:35 PM
nexus2   You just take the jumper off the Lite. You need t...   Apr 8 2003, 07:56 PM
cougar69   This is all good if you have code on your tsop..,b...   Apr 10 2003, 02:37 AM
Ubergeek   has to be a working bios on the onboard rom to d...   Apr 10 2003, 01:27 PM
cougar69   No That is what I figured Thanks:)   Apr 10 2003, 02:28 PM
BorgKing   Will this method work with xecuter 1?   Apr 13 2003, 06:16 AM
hippo   My 12c508 assem released on April 4 to the newsgro...   Apr 13 2003, 02:50 PM
MacGuyver_3030   actually he can program 2 bios's on his lite a...   Apr 16 2003, 04:05 AM
Regionfree   Hippo, your code does every thing your say it does...   Apr 16 2003, 08:57 AM
Ubergeek   hippo - why not rls the asm - this is opensource s...   Apr 16 2003, 09:18 AM
Regionfree   The file which hippo has released is nearly 3meg...   Apr 16 2003, 10:02 AM
hippo   and why not post a link the the file instead of fo...   Apr 16 2003, 10:27 AM
Ubergeek   I 100% agree with you We've been saying thi...   Apr 16 2003, 03:20 PM
Ubergeek   The file which hippo has released is nearly 3meg...   Apr 16 2003, 03:22 PM
Ubergeek   yes you can use this - X1 used the same basic pr...   Apr 16 2003, 03:32 PM
Regionfree   I know you by reputation and I wasn't inlyin...   Apr 16 2003, 07:56 PM
MacGuyver_3030   hmmmm, ok, i think i did this right, i flashed my ...   Apr 16 2003, 09:15 PM
Ubergeek   I know you by reputation and I wasn't inlyin...   Apr 17 2003, 10:06 AM
m3talslug   I have a couple of questions concerning TSOP flash...   Apr 28 2003, 07:12 PM
Origzaphod   No additional functions other then you no longer...   Apr 29 2003, 11:51 AM
jogger   why bother with all of that code. just follow the ...   May 10 2003, 04:55 PM
PsiDOC   The reason for the 30 odd errors are because the f...   May 11 2003, 08:48 AM
erikal   Thank you for making this info open. I can not exp...   May 16 2003, 04:15 AM
neonman   sorry for the noobness, but can this also be done ...   May 30 2003, 11:18 PM
poopi   dude, all this shit seems so complicated for the a...   Jun 20 2003, 11:49 PM
WodMan   I think the real question is that if you already...   Jul 24 2003, 04:52 PM
Ginie66   ;) yeah i agree poopi   Jul 30 2003, 03:28 PM
STEVEHABS   O.K. so basically there is no way to run backups a...   Aug 3 2003, 07:10 PM
STEVEHABS   heh heh yes i know that now found that out yester...   Aug 4 2003, 06:16 PM
boowhup   Is there a flash_tsop bios compatible with 1.1 mob...   Aug 20 2003, 11:38 AM
venturahighway   as of 8/20/03 no.   Aug 21 2003, 03:14 AM
venturahighway   I can't get evolutionX to I.D. the TSOP in my ...   Aug 21 2003, 03:50 AM
warbeast   Is there a flash_tsop bios compatible with 1.1 mob...   Aug 21 2003, 12:59 PM
Pizza Pizz   uhm 1.2's are 256kb bios like the 1.3's H...   Aug 22 2003, 01:52 PM
1nick9   will this work with a cheaplpc :uhh:   Aug 25 2003, 04:32 AM
1nick9   don't worry it tworks :lol: but now i need to...   Aug 25 2003, 06:08 AM
00XeRo   Is the non grounded A15 the problem??? Becuase...   Aug 29 2003, 06:46 AM
venturahighway   Is the non grounded A15 the problem??? Becuase...   Aug 29 2003, 08:44 PM
00XeRo   The whole chip? I thought it was just the 4th DIP ...   Aug 30 2003, 03:07 AM
wtaag   I'm looking to fix a bad flash as well. Usi...   Sep 2 2003, 02:53 AM
LithCoder   I have a 1.0 xbox fitted with xecuter 1 modchip. I...   Oct 23 2003, 09:48 PM
DJLotus   don't wanna sound way too dumb, but I don...   Nov 9 2003, 04:44 PM
AlienTiger   Ok I understand flashing the bios but why would yo...   Dec 3 2003, 06:16 AM
-PK-   TSOP is the onboard bios (already in the xbox), fl...   Dec 9 2003, 10:54 PM
B1ff   yes you can use this - X1 used the same basic pri...   Dec 13 2003, 03:03 PM
xboxtry   can i Flash my onboard tsop with xecuter 2.2lite p...   Dec 20 2003, 06:12 PM
HDTV MAN   will this method work on a 1.3 or 1.4??   Dec 26 2003, 02:48 AM
kobazz   Im confused, fill me in here. I have a cheapmod so...   Dec 27 2003, 12:52 AM
titon366   :evil: Hi i just flashed my tsop i had a modchip i...   Feb 7 2004, 12:46 PM
dirtybird80   u can use the xbit to do this too i am assuming?   Feb 7 2004, 06:24 PM
Fafnir   I second that...can someone please make a tutori...   Feb 14 2004, 10:57 PM
WisdomWolf   What does it mean if it boots MSDASH? i can't...   Mar 5 2004, 10:57 PM
DJLotus   where is hippos tutorial being hosted exactly?   Mar 8 2004, 05:33 AM
liemer   why do u need the evox matrix tsop bios to flash t...   Mar 12 2004, 01:17 AM
iLLNESS   ok well anyways i dono how old this post is but wh...   Apr 18 2004, 05:11 AM
PSXCopyCat   so with this 12c508 chip and say a cheaplpc chip, ...   May 10 2004, 06:14 PM
greengiant   Fix... possibly. The technique used to flash the t...   May 21 2004, 10:08 AM
opjose   This is a very important distinction! The ...   May 21 2004, 10:25 AM
stinger151   ok! the day before yesterday i used the 007auf...   May 25 2004, 05:25 AM
greengiant   The evoxmatrixtsop is only for use on xbox 1.0-1...   May 25 2004, 05:47 AM
stinger151   why isnt raincoat recognizing the tsop i dissasemb...   May 25 2004, 06:13 AM
colibri   it's not repairable the code isn't that fa...   May 25 2004, 07:23 AM
greengiant   It is repairable, using a 29 wire modchip. Any wil...   May 26 2004, 01:30 AM
Xenogears888   First off, thank you SO much uber for this post......   Jun 13 2004, 06:33 PM
Pizza Pizz   what version xbox - 1mb tsop perhaps and not fully...   Jun 14 2004, 05:30 PM
nappie   [u]An other way to solve boot failure on a "m...   Jun 20 2004, 10:30 AM
buriedpast   Once you've installed the switches as indicate...   Jun 30 2004, 08:25 AM
ericlucas   Has the EvoxMatrixTSOP BIOS been developed yet for...   Jul 28 2004, 09:54 PM
los93sol   Well this is all fine and well except what the hel...   Aug 13 2004, 01:09 AM
kungpaomaster   This might be a stupid question fellas, but I...   Aug 27 2004, 10:49 PM
SRM   uhh can't u just choose "Flash BIOS...   Oct 18 2004, 09:19 PM
Lakwaun   Can somebody tell me is there a easy way to soft m...   Oct 19 2004, 10:38 AM
collegebum   OK I've read gobs of this particular thread an...   Oct 28 2004, 11:36 PM
hava333   Can you flash the TSOP using the first method with...   Nov 10 2004, 04:12 AM
TAR   Just like to say that i flashed a hynix tsop with ...   Dec 7 2004, 08:30 PM
warbeast   why not use your xbit to ftp 007withraincoat.v7 ...   Dec 7 2004, 09:23 PM
sjoer   I need some help getting this to work! I have...   Feb 14 2005, 05:29 AM
Zanzang   I have a 1.1 box with a screwed up TSOP. There is ...   Aug 21 2005, 03:20 AM






Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 20th June 2013 - 02:06 AM