Author Topic: Game console - security ic ???  (Read 26332 times)

0 Members and 1 Guest are viewing this topic.

Offline NoopyTopic starter

  • Super Contributor
  • ***
  • Posts: 1886
  • Country: de
    • Richis-Lab
Game console - security ic ???
« on: December 29, 2019, 09:46:37 pm »

Hi all,


just out of curiosity I did a teardown of a low-cost game console (15€, "Tchibo Retro-Mini-Spielekonsole").
Most parts were no suprise. Unfortunately I wasn´t able to identify the controller.
But one thing really puzzeld me: It seems that there is a kind of security chip on the board. Why the hell would a 15€-console need a security chip?  :-//


Perhaps some experts can give me a hint:
- What kind of controller works in this console?
- What might the unknown chip do?
- What kind of chip might the unkown chip be?


And now pictures:






The upper SO-8 is a 25Q32 4MB-Flash.
The blob in the middle contains the controller.
The lower SO-8 is the interesting chip. Supply, ground and three "logic lines".




The mystery chip.




Backside of the mystery chip.




So what´s happening here?




After startup the controller fetches 8kB from the flash.
1,3s later the mystery chip is adressed for the first time.
Then there is a lot of data between flash and controller.
Every 95ms (in the menu) or 63ms (in a game) the Controller talks to the mystery chip. Every time only one short "hello".




Clock for the flash is 16MHz. Clock to the mystery chip seems to be 33kHz.
First communication contains "two impulses", all the other communications contain only "one impulse" always at the same location.
Without the chip the game is dead.




Controller-Die




B1056  :-//




The mystery-chip-die.


And here everything on my hompage (in german):
https://www.richis-lab.de/tcm_rg.htm


Any ideas?


Greetings,

Richard

 
The following users thanked this post: thm_w, D Straney

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 2332
  • Country: 00
Re: Game console - security ic ???
« Reply #1 on: December 30, 2019, 12:16:29 am »
What about a realtime clock ?
 

Offline Prehistoricman

  • Regular Contributor
  • *
  • Posts: 216
  • Country: gb
Re: Game console - security ic ???
« Reply #2 on: December 30, 2019, 02:43:30 am »
What about a realtime clock ?
Unlikely IMO. It's being accessed very often for that, and doesn't have its own clock or battery backup. And there's this:
Quote
First communication contains "two impulses", all the other communications contain only "one impulse" always at the same location.


Do you still have a working one? It would be interesting to know which of those 3 signals are outputs or inputs.

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22398
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Game console - security ic ???
« Reply #3 on: December 30, 2019, 03:49:24 am »
No idea, but I just want to say that was an awful lot more work than I was expecting. :clap:

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline NoopyTopic starter

  • Super Contributor
  • ***
  • Posts: 1886
  • Country: de
    • Richis-Lab
Re: Game console - security ic ???
« Reply #4 on: December 30, 2019, 06:45:04 am »

Thanks for your replys!  :-+


What about a realtime clock ?
Me neither. No battery, no reason for a unnamed chip and as far as I tested the game no need for a realtime clock.


Do you still have a working one? It would be interesting to know which of those 3 signals are outputs or inputs.
There is still one left.
Hm... What´s the best way to check the data direction... ???

No idea, but I just want to say that was an awful lot more work than I was expecting. :clap:
Just out of curiosity...  ;D

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8402
Re: Game console - security ic ???
« Reply #5 on: December 30, 2019, 08:51:23 pm »
The main IC may be from Sunplus/Generalplus or one of the more obscure high-volume companies that make COB MCUs.

Mystery chip could be an EEPROM for things like saved games/high scores?
 

Offline NoopyTopic starter

  • Super Contributor
  • ***
  • Posts: 1886
  • Country: de
    • Richis-Lab
Re: Game console - security ic ???
« Reply #6 on: December 30, 2019, 09:03:21 pm »
Mystery chip could be an EEPROM for things like saved games/high scores?

Hm... Good idea...
But the communication is extreme slow...
And the die doesn´t look like a memory...

Unfortunately I didn´t really play the games but I think there was nothing like saved games or high score. Veeeery low-cost...  ;D


Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16362
  • Country: za
Re: Game console - security ic ???
« Reply #7 on: December 30, 2019, 09:17:35 pm »
Looks like an EEprom, with that load of glue logic, one monster of an on die capacitor and 8 blocks of what could be flash, and with a pretty beefy set of transistors to generate the erase and program voltages. Probably writing game state regularly as it is limited in RAM, storing the scores between game sessions, or put there as a deliberate way to fail the game when the EEPROM wears out, and get the punters to buy a new one with the new games on it.
 

Offline NoopyTopic starter

  • Super Contributor
  • ***
  • Posts: 1886
  • Country: de
    • Richis-Lab
Re: Game console - security ic ???
« Reply #8 on: December 30, 2019, 09:39:48 pm »
Hm, perhaps I´m wrong...
Haven´t seen such an EEPROM. But I haven´t seen so much of them.  ::)

Still the communication is curious slow in my view and why no marking?  :-//

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16362
  • Country: za
Re: Game console - security ic ???
« Reply #9 on: December 30, 2019, 10:00:41 pm »
It is a custom chip, with all that unused area, and all the unused cells of logic in it, but it is definitely programmable, and there is a lot of EEprom there. Might be doing some decryption key for the main chip to prevent cloners from cloning a cheap game, or just doing some housekeeping, but I do not really know. A key for each section of the game is likely, so the manufacturer protects the IP of their game ( probably "borrowed" from a big player in part or entirely) from being similarly appropriated.
 
The following users thanked this post: Noopy

Offline NoopyTopic starter

  • Super Contributor
  • ***
  • Posts: 1886
  • Country: de
    • Richis-Lab
Re: Game console - security ic ???
« Reply #10 on: December 30, 2019, 10:17:24 pm »
Sounds convincing.

Thanks!  :-+

Where do you see the big capacitor which you descriped earlier? The big plate in the middle? I thought that´s only a screen to shield something, perhaps a secret logic block...
Looks like a face...  ;D

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8402
Re: Game console - security ic ???
« Reply #11 on: December 31, 2019, 12:55:28 am »
You can dump the flash and see if people recognise the CPU/instruction set. There might be some useful text strings in there too. There are other forums exclusively for discussing game console electronics, possibly someone there might even recognise this unit and/or the CPU in it.
 

Offline NoopyTopic starter

  • Super Contributor
  • ***
  • Posts: 1886
  • Country: de
    • Richis-Lab
Re: Game console - security ic ???
« Reply #12 on: December 31, 2019, 10:26:10 am »
You can dump the flash and see if people recognise the CPU/instruction set. There might be some useful text strings in there too.

I already tried to dump the flash.

I thought "Hey I have a expensive GALEP-5, that should be no Problem!"



Well no.
The Galep knows 25Q32BV, 25Q32DW and 25Q32V but no 25Q32JV|O

I know it´s no big problem to dump such a flash but I don´t like programming, so I have to look for the easiest way to get the data.


There are other forums exclusively for discussing game console electronics, possibly someone there might even recognise this unit and/or the CPU in it.

Do you have a recommendation for me?

Offline Bicurico

  • Super Contributor
  • ***
  • Posts: 1770
  • Country: pt
    • VMA's Satellite Blog
Re: Game console - security ic ???
« Reply #13 on: December 31, 2019, 11:34:31 am »
My guess is that it is indeed some crypto-chip to protect the games on the flash.

There seems to be an industry in China for low cost development of low cost 8-bit alike games to be legally used in cheap retro-consoles.

You can find those mini arcades in consumer electronics stores: there are two kind: those that cost around 30 Euro offering one single game like Galaga and which effectively use an emulator and original ROM's and those that cost around 20 Euro and offer 200 games, all of which are a piece of crap!

I think that the company/companies that develop these crap games need to protect them, so that they are not just copied. I tried to find some web links, but as usual it is very difficult to find the chinese manufacturer at the origin of any product...

Emulation can only be used if royalties have been paid, otherwise the consumer electronics stores won't be able to sell them - they would be quickly confiscated.

As a funny note: the better retro  arcade consoles can be hacked: while they do come with just one game, the flash contains several, as the board is the same for all models. One can open the case and change something on the PCB (cannnot remember what it was) to play different games.

Regards,
Vitor

Offline NoopyTopic starter

  • Super Contributor
  • ***
  • Posts: 1886
  • Country: de
    • Richis-Lab
Re: Game console - security ic ???
« Reply #14 on: December 31, 2019, 01:47:47 pm »
and those that cost around 20 Euro and offer 200 games, all of which are a piece of crap!

It is definitely one of this!  ;D

Thanks for your input!  :-+

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6720
  • Country: ro
Re: Game console - security ic ???
« Reply #15 on: December 31, 2019, 02:16:44 pm »
The wires from pins 7 and 8 in the photo looks like they are switched between them when connected to the ZIF socket.  7 seems to be going to 8, and 8 to 7.  Is this intentional?

Offline NoopyTopic starter

  • Super Contributor
  • ***
  • Posts: 1886
  • Country: de
    • Richis-Lab
Re: Game console - security ic ???
« Reply #16 on: December 31, 2019, 02:28:41 pm »
You are right, it looks like it´s switched but the high-res-photo shows that the connection was right.

Moreover the Galep was able to read the id but wasn´t happy with the numbers...  :(

Offline Prehistoricman

  • Regular Contributor
  • *
  • Posts: 216
  • Country: gb
Re: Game console - security ic ???
« Reply #17 on: December 31, 2019, 06:20:27 pm »
There is still one left.
Hm... What´s the best way to check the data direction... ???

Desolder the chip and see what lines are still active  :D

Offline NoopyTopic starter

  • Super Contributor
  • ***
  • Posts: 1886
  • Country: de
    • Richis-Lab
Re: Game console - security ic ???
« Reply #18 on: January 01, 2020, 09:54:00 am »
There is still one left.
Hm... What´s the best way to check the data direction... ???

Desolder the chip and see what lines are still active  :D

That´s convincing if the Pins can source and sink.
Otherwise (Lowsider on the one side, Pull-Up on the other side) the measurement would be misleading.
But ok, probably it is a push-pull-output...
I will do that.

Offline wraper

  • Supporter
  • ****
  • Posts: 17582
  • Country: lv
Re: Game console - security ic ???
« Reply #19 on: January 01, 2020, 10:16:01 am »
Well no.
The Galep knows 25Q32BV, 25Q32DW and 25Q32V but no 25Q32JV|O
Quickly looking into datasheets I see no reason why it 25Q32JV cannot be dumped with 25Q32V selected.
 

Offline NoopyTopic starter

  • Super Contributor
  • ***
  • Posts: 1886
  • Country: de
    • Richis-Lab
Re: Game console - security ic ???
« Reply #20 on: January 01, 2020, 02:13:12 pm »
Well no.
The Galep knows 25Q32BV, 25Q32DW and 25Q32V but no 25Q32JV|O
Quickly looking into datasheets I see no reason why it 25Q32JV cannot be dumped with 25Q32V selected.

The software got an slightly differerent device id than expected for the 25Q32V.
My read is that it would have been no problem to dump the data anyway but the Galep didn´t want to.


I did some measurements at the unmarked chip:
Pin 2 seems to be an output
Pin 3 seems to be an Input
Pin 4 could be anything (without connection there is nothing to see)

Offline wraper

  • Supporter
  • ****
  • Posts: 17582
  • Country: lv
Re: Game console - security ic ???
« Reply #21 on: January 01, 2020, 02:48:35 pm »
My read is that it would have been no problem to dump the data anyway but the Galep didn´t want to.
Isn't there any setting to ignore device ID?
 

Offline NoopyTopic starter

  • Super Contributor
  • ***
  • Posts: 1886
  • Country: de
    • Richis-Lab
Re: Game console - security ic ???
« Reply #22 on: January 01, 2020, 10:36:57 pm »
My read is that it would have been no problem to dump the data anyway but the Galep didn´t want to.
Isn't there any setting to ignore device ID?

Unfortunately not...  :--

Offline wraper

  • Supporter
  • ****
  • Posts: 17582
  • Country: lv
Re: Game console - security ic ???
« Reply #23 on: January 01, 2020, 10:53:13 pm »
Unfortunately not...  :--
That's some bullshit software then. Especially just for reading purposes as even if there are significant differences, EPROM or FLASH usually can still be read as other similar device. In my Wellon programmer software device ID check checkbox is not even checked by default. Even when programming, there were cases when newer lower voltage version of FLASH was not supported. I simply selected different IC and lowered voltage in settings.
BTW I suggest ordering cheap ZIF socket from China. Will save you a lot of time wasted on soldering spider legs. https://www.ebay.com/itm/150mil-SOP8-Socket-Adapter-Universal-IC-ZIF-Programmer-Converter-For-PCB/152059011073?hash=item23676c6001:g:KHsAAOSwqbZXFJub They are actually quite good and durable.
« Last Edit: January 01, 2020, 11:01:18 pm by wraper »
 

Offline Prehistoricman

  • Regular Contributor
  • *
  • Posts: 216
  • Country: gb
Re: Game console - security ic ???
« Reply #24 on: January 02, 2020, 11:43:09 am »
Unfortunately not...  :--

Hack it :) if you know how to use Cheat Engine and x86 assembly.


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf