What's new

Trol

Enthusiast
Joined
Jul 11, 2016
Messages
259
Reaction score
140
Location
Netherlands
I have a suicided World rally 2 board.
I already fixed a suicided World Rally 1 so I know how to connect to the Dallas bootloader, but it's not working on the World rally 2 pcb. Tried it on three WR2 pcb's and none of them will connect.

Even Swapped a known working Dallas chip from a WR1 and had the same results, so the WR2 board is preventing me to connect to the bootloader.

Has anyone tried this on a WR2 board?
 

Trol

Enthusiast
Joined
Jul 11, 2016
Messages
259
Reaction score
140
Location
Netherlands
Succes!!
I read that the Dallas on WR2 runs at 13mhz clock speed, on WR1 it runs on 12 mhz.
trying different settings on hyper terminal got me nowhere, so I soldered in a 24 mhz oscillator from a WR1 and the boot loader came right up.
Loaded the code and put the original 26 mhz oscillator back in and we have a working game 8o
 
A

Apocalypse

Thanks @Trol for the useful info.
Now I wonder how keys were injected in the first place... Non standard serial speed?
 

Trol

Enthusiast
Joined
Jul 11, 2016
Messages
259
Reaction score
140
Location
Netherlands
Maybe, but I don't know sh*t about serial connections.
I tried 4800b/s and played a bit with the data bits. Then I just looked at the differences between the boards and the oscillator was my first try.
 

caius

Grand Master
Joined
Nov 21, 2016
Messages
548
Reaction score
899
Location
Italy
The standard procedure will not work on World Rally 2, Thunder hoop 2 and other Gaelco games because you need to send to Dallas MCU further commands, I had this info from the MAME developer who recently found the way to dump the contents of the SRAM connected to the DS5002 MCU.I will post a guide on JAMMArcade ASAP (it's almost finished from some months but didn't find time to complete it)
 
A

Apocalypse

@caius it seems devs are wrong, @Trol managed to reinject the code in the Dallas chip using the same procedure than WR1.
But he had to change the oscillator to get the serial speed to standard.
 

caius

Grand Master
Joined
Nov 21, 2016
Messages
548
Reaction score
899
Location
Italy
No,they are right.Last year I was trying to desucide my Thunder Hoop 2, procedure seemed to be working fine but then game freezed all the time in a specific point.Then I was contacted by a MAME dev (he watched my YouTube video) who explained me how to properly desuicide it.World Rally 1 works with standard procedure because it doesn't need the further commands (then in my guide I will explain in details).Perhaps World Rally 2 doesn't need it too but all other game for sure yes. @Trol , can you play the game to see if it doesn't crash?


EDIT:
I found the video :


Actually board didn't crash but sprites were absent.This is the symptom that board has been not properly desuicided.
 
Last edited:

Trol

Enthusiast
Joined
Jul 11, 2016
Messages
259
Reaction score
140
Location
Netherlands
I played WR2 a few times, I don' t notice anything strange. Haven't pllayed it all the way trough though.
 

Trol

Enthusiast
Joined
Jul 11, 2016
Messages
259
Reaction score
140
Location
Netherlands
Just played trough the entire game, no crashing and no missing sprites :thumbsup:
 

caius

Grand Master
Joined
Nov 21, 2016
Messages
548
Reaction score
899
Location
Italy
OK so World Rally 2 is one of those game that doesn't require the new procedure.I will post a guide ASAP.
 

Nebula

Professional
Joined
Sep 11, 2017
Messages
243
Reaction score
209
Location
Spain
No, the WR2 file is in mame, you just need to make a hex file from it.
Out of curiosity (noob question): how do you make the hex file from the binary one?

I took bin file from wrally2 mame romset and tried to convert it to hex using "xxd" tool from unix:

Code:
xxd -u -p wrally2_ds5002fp_sram.bin > wrally2_ds5002fp_sram.hex
but result generated is something like this:

020200020200000000000002020000000000000202000000000000320000
000000000002010000000000000200400000000000000000000000000000
00000000C082C083C0E0C0D090F830E58754206021E5822401F582E58334
00F58350EC90FC017401F0745575C7AAF5C7E5874402F587D0D0D0E0D083
D08232000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000C082C083C0E0C0D0C0F0209910C2
98E59990F900855482F00554020121C299D221D0F0D0D0D0E0D083D08232
000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000
000075817075C66875D80075C18090FC017400F0C2AF90FC02E0A3F5F0E0
A3F8E5F0F0A3E8E090FC02E0A3F4F5F0E0A3F4F530E0A3B5F0EEE0B530EA
E5874408F587755300755400755100755200D221C222C223C225C224C298
C299759850758D8F53877FC22075892075884075B81875A898755F001205
AB1205DC7443B55B087421B55C030202B91205B8755B43755C2190606C78
127400F0A3D8FA0000000000000000000000000000000000000000000000
0000000000000090606CE0F5F0A3E0F890FDDAE5F0F0A3E8F090606EE0F5
F0A3E0F890FDDCE5F0F0A3E8F0906070E0F5F0A3E0F890FDDEE5F0F0A3E8
F0906072E0F5F0A3E0F890FDE0E5F0F0A3E8F0906074E0F5F0A3E0F890FD
E2E5F0F0A3E8F0906076E0F5F0A3E0F890FDE4E5F0F0A3E8F0906078E0F5
F0A3E0F890FDE6E5F0F0A3E8F090607AE0F5F0A3E0F890FDE8E5F0F0A3E8
F090607CE0F5F0A3E0F890FDEAE5F0F0A3E8F01205FDE553B554030203B1
20221890F900855382E0B41107C2250553020381B41304D225055312044F
A85328F553E554C38553F095F0F5F020240FE5F0C394C05014D224851399
0203B1E5F0C394404005C224851199302303120536E551B552030203CC20
...........

Different to the contents of hex file you provided:

:2000000002020002020000000000000202000000000000020200000000000032000000009E
:2000200000000002010000000000000200400000000000000000000000000000000000007B
:20004000C082C083C0E0C0D090F830E58754206021E5822401F582E5833400F58350EC90EF
:20006000FC017401F0745575C7AAF5C7E5874402F587D0D0D0E0D083D0823200000000005E
:20008000000000000000000000000000000000000000000000000000000000000000000060
:2000A000000000000000000000000000000000000000000000000000000000000000000040
:2000C000000000000000000000000000000000000000000000000000000000000000000020
:2000E000000000000000000000000000000000000000000000000000000000000000000000
:20010000C082C083C0E0C0D0C0F0209910C298E59990F900855482F00554020121C299D25B
:2001200021D0F0D0D0D0E0D083D082320000000000000000000000000000000000000000B7
:2001400000000000000000000000000000000000000000000000000000000000000000009F
:2001600000000000000000000000000000000000000000000000000000000000000000007F
:2001800000000000000000000000000000000000000000000000000000000000000000005F
:2001A00000000000000000000000000000000000000000000000000000000000000000003F
:2001C00000000000000000000000000000000000000000000000000000000000000000001F
:2001E0000000000000000000000000000000000000000000000000000000000000000000FF
:2002000075817075C66875D80075C18090FC017400F0C2AF90FC02E0A3F5F0E0A3F8E5F02A
:20022000F0A3E8E090FC02E0A3F4F5F0E0A3F4F530E0A3B5F0EEE0B530EAE5874408F587E4
:20024000755300755400755100755200D221C222C223C225C224C298C299759850758D8F54
:2002600053877FC22075892075884075B81875A898755F001205AB1205DC7443B55B087422
:2002800021B55C030202B91205B8755B43755C2190606C78127400F0A3D8FA0000000000D9
:2002A0000000000000000000000000000000000000000000000000000090606CE0F5F0A37A
:2002C000E0F890FDDAE5F0F0A3E8F090606EE0F5F0A3E0F890FDDCE5F0F0A3E8F0906070F8
:2002E000E0F5F0A3E0F890FDDEE5F0F0A3E8F0906072E0F5F0A3E0F890FDE0E5F0F0A3E8B4
:20030000F0906074E0F5F0A3E0F890FDE2E5F0F0A3E8F0906076E0F5F0A3E0F890FDE4E59E
:20032000F0F0A3E8F0906078E0F5F0A3E0F890FDE6E5F0F0A3E8F090607AE0F5F0A3E0F85D
:2003400090FDE8E5F0F0A3E8F090607CE0F5F0A3E0F890FDEAE5F0F0A3E8F01205FDE55339
:20036000B554030203B120221890F900855382E0B41107C2250553020381B41304D2250546
:200380005312044FA85328F553E554C38553F095F0F5F020240FE5F0C394C05014D22485EE
:2003A00013990203B1E5F0C394404005C224851199302303120536E551B552030203CC2041
:2003C000250A120599A85128F551808F90FDD8740EF0A37406F090FC0812043390FC0C125D
:2003E000043390FC10E004F0A3E03500F0E090FC15E0B401157400F090FC137400F0120703
.........

They have some similaries but completely different after all..


Whats the proper way to "format" file in that way?

Hope this isn't a dumb question.... :/ X/
 

Tailsnic Retroworks

Enthusiast
Joined
Jan 8, 2019
Messages
230
Reaction score
82
Location
Spain
No,they are right.Last year I was trying to desucide my Thunder Hoop 2, procedure seemed to be working fine but then game freezed all the time in a specific point.Then I was contacted by a MAME dev (he watched my YouTube video) who explained me how to properly desuicide it.World Rally 1 works with standard procedure because it doesn't need the further commands (then in my guide I will explain in details).Perhaps World Rally 2 doesn't need it too but all other game for sure yes. @Trol , can you play the game to see if it doesn't crash?


EDIT:
I found the video :


Actually board didn't crash but sprites were absent.This is the symptom that board has been not properly desuicided.
Hi. Can I know the exact process to desuicide TH Strikes Back?
 

Tailsnic Retroworks

Enthusiast
Joined
Jan 8, 2019
Messages
230
Reaction score
82
Location
Spain
Hi, I have just tried the solution of @Trol. changing the 26mhz oscillator for another 24mhz oscillator from my Thunder Hoop 1 for connecting to the Dallas of a World Rally 2. I archieve to access the sending command, but when I send the file, I have this:

Captura.PNG


The line "E:VERIFY" continues until the infinite. Has it happened to anyone before?
 
Top