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.

DS development > DS games with 4Mbit, 8Mbit, 64Mbit, 256Mbit FLASH memory

#177998 - nocash - Fri Jul 12, 2013 1:59 pm

Hi, I got told that some newer DS games contain as much as 4Mbit, 8Mbit, 64Mbit, or even 256Mbit of FLASH memory for saving game positions.

Does anybody know what chips those games are using? Chip/manufacturer names, datasheets, or their internal 3-byte ID code values?
For example, 2Mbit "ST M45PE20" chips do return ID code "20h,40h,12h".

#178011 - nocash - Mon Jul 15, 2013 6:09 pm

Here's a list that tells which games use which FLASH sizes.
http://www.advanscene.com/offline/datas ... ToolDS.zip
64Mbit and 256Mbit seem to be exotic, but 4Mbit and 8MBit appear to be quite common.

Does anybody have some games with 4MBit/8MBit FLASH (as original retail cartridge), plus tools for running homebrew code on the NDS? Then it should be easy to dump the ID codes for the FLASH chips...

#178018 - Bond697 - Thu Jul 18, 2013 9:35 pm

i have pokemon white and white2, which both have 512k(4mbit) flash for saving, and the equipment to run homebrew. what would you like me to do?

#178024 - sverx - Thu Aug 01, 2013 5:02 pm

I think you have to load the tool and run it with your homebrew cart, then switch to the cart of the game you want to check.

#178032 - nocash - Sat Aug 10, 2013 11:24 am

Yes, run the tool, then eject/insert your retail carts to view the chip IDs.
In case there is no such tool existing, I've made one:
http://nocash.emubase.de/nds-id.zip (nds binary with source, 11kbytes)

NDS-ID displays the cart title, gamecode, ROM chip ID, and Save FLASH chip ID (or some xxFFFFFF value for carts without FLASH). The IDs are shown as "XXXXXXXX-YYYYYYYY", containing the ID and a complement/checksum value (to eliminate typos).

The chip name is displayed underneath of the ID values. If this shows red UNKNOWN, then please post the title/gamecode and rom/save id values in this forum.

Aside from newer games with bigger FLASH chips, the tool might also reveal some unknown IDs for other games (in case nintendo used different chips from different manufacturers). Best run the tool on all NDS carts that you can get hold of.

EDIT (14 Aug 2013): Added another chip-id tool to the above ZIP file.
The new NOR-ID tool is made by normatt, and uses a pass-me header (this may be more compatible with existing flashcarts; seems as if many NDS flashcarts support homebrew code only with pass-me headers, not with real NDS headers... looks as if there are some kinda shocking crappy flashcarts, but well).

Anyways, if NDS-ID doesn't work, please try NOR-ID, it's basically showing the same values, a bit differently arranged, and without the complement/checksum, but it should do the job.

#178036 - nocash - Mon Aug 12, 2013 6:57 pm

Some people tried the tool. Bad news is that it doesn't work with all flashcards (don't know why).

ROM Chip IDs:

Code: Select all

  C2h,07h,00h,00h NDS Macronix 8MB ROM (discovered 8/2013 by normatt) (eg. DS Vision, Puzzler Brain Games)
  C2h,0Fh,00h,00h NDS Macronix 16MB ROM (discovered 2006 by nocash) (eg. Metroid Demo)
  C2h,1Fh,00h,00h NDS Macronix 32MB ROM (discovered 2007 by nocash) (eg. Over the Hedge)
  C2h,1Fh,00h,40h DSi Macronix 32MB ROM (discovered 9/2013 by jimmsu) (eg. Art Academy, TWL-VAAV)
  C2h,3Fh,00h,00h NDS Macronix 64MB ROM (discovered 2007 by nocash) (eg. Ultimate Spiderman)
  80h,7Fh,00h,80h NDS SanDisk  128MB ROM (discovered 9/2013 by jimmsu) (DS Zelda, NTR-AZEP-0)
  C2h,7Fh,00h,80h NDS Macronix 128MB ROM (discovered 9/2013 by jimmsu) (eg. Spirit Tracks, NTR-BKIP)
  C2h,7Fh,00h,C0h DSi Macronix 128MB ROM (discovered 8/2013 by normatt) (eg. Cooking Coach/TWL-VCKE)
  ECh,7Fh,00h,88h NDS Samsung  128MB NAND (discovered 8/2013 by normatt) (eg. Warioware D.I.Y.)
  C2h,FFh,01h,C0h DSi Macronix 256MB ROM+Infrared? (discovered 8/2013 by Bond697) (eg. Pokemon White)
  C2h,FEh,01h,C0h DSi Macronix 512MB ROM+Infrared? (discovered 8/2013 by Bond697) (eg. Pokemon White 2)
  C2h,FEh,00h,90h 3DS Macronix probably 512MB? ROM (discovered 8/2013 by Snailface) (eg. Sims 3)
  45h,FAh,00h,90h 3DS SunDisk? maybe... 1.5GB? ROM (discovered 8/2013 by Snailface) (eg. Starfox)
  C2h,F8h,00h,90h 3DS Macronix maybe... 2GB? ROM (discovered 8/2013 by Snailface) (eg. Kid Icarus)

  80h,3Fh,01h,E0h ?            64MB ROM+Infrared (discovered 9/2013 by jimmsu) (eg. Walk with Me, NTR-IMWP)
  AEh,3Fh,00h,E0h DSi          64MB ROM (discovered 9/2013 by jimmsu) (eg. de Blob 2, TWL-VD2V)
  C2h,3Fh,00h,40h DSi Macronix 64MB ROM (discovered 9/2013 by jimmsu) (eg. Crime Lab, NTR-VAOP)
  80h,7Fh,01h,E0h ?            128MB ROM+Infrared? (discovered 9/2013 by jimmsu) (P-letter, Soul Silver,IPGE)
  ECh,7Fh,01h,88h NDS Samsung? 128MB NAND+What? (discovered 9/2013 by jimmsu) (eg. Jam with the Band, UXBP)
  ECh,7Fh,00h,E8h DSi Samsung? 128MB NAND (discovered 9/2013 by jimmsu) (eg. Face Training, USKV)
  80h,FFh,80h,E0h NDS          256MB ROM (discovered 9/2013 by jimmsu) (Kingdom Hearts - Re-Coded, NTR-BK9P)
  C2h,FFh,00h,80h NDS Macronix 256MB ROM (discovered 9/2013 by jimmsu) (eg. Band Hero, NTR-BGHP)

 +C2h,7Fh,00h,90h 3DS Macronix 128MB ROM CTR-P-AENJ MMinna no Ennichi
 +C2h,FFh,00h,90h 3DS Macronix 256MB ROM CTR-P-AFSJ Pro Yakyuu Famista 2011
 +C2h,FEh,00h,90h 3DS Macronix 512MB ROM CTR-P-AFAJ Real 3D Bass FishingFishOn
 +C2h,FAh,00h,90h 3DS Macronix 1GB ROM CTR-P-ASUJ Hana to Ikimono Rittai Zukan
 +C2h,FAh,02h,90h 3DS Macronix 1GB ROM CTR-P-AGGW Luigis Mansion 2 ASiA CHT
 +C2h,F8h,00h,90h 3DS Macronix 2GB ROM CTR-P-ACFJ Castlevania - Lords of Shadow
 +C2h,F8h,02h,90h 3DS Macronix 2GB ROM CTR-P-AH4J Monster Hunter 4
 +AEh,FAh,00h,90h 3DS          1GB ROM CTR-P-AGKJ Gyakuten Saiban 5
 +AEh,FAh,00h,98h 3DS          1GB NAND CTR-P-EGDJ Tobidase Doubutsu no Mori
 +45h,FAh,00h,90h 3DS          1GB ROM CTR-P-AFLJ Fantasy Life
 +45h,F8h,00h,90h 3DS          2GB ROM CTR-P-AVHJ Senran Kagura Burst - Guren
 +C2h,F0h,00h,90h 3DS Macronix 4GB ROM CTR-P-ABRJ Biohazard Revelations

  FFh,FFh,FFh,FFh None (no cartridge inserted) (discovered by nocash)
The Samsung chip appears to use a slightly different protocol (seems as if it allows to read ROM header and ID only once, or as if it gets confused when reading more than 4 ID bytes, or so) (and of course, the protocol is somehow extended, allowing to write data to the NAND memory).
The official JDEC ID for Samsung would be "CEh", but for some reason, Samsung's NDS chip does spit out "ECh" as Maker ID.
For ID="C2h,7Fh,00h,C0h", unknown if there is also a "normal" variant with ID="C2h,7Fh,00h,00h".

Save Memory Chip IDs (1-byte RDSR, and 3-byte ID):

Code: Select all

  00h, 20h,40h,12h   FLASH 2Mbit (ST M45PE20) (eg. Skateland) (discovered 2007 by nocash) 
  00h, 62h,16h,00h   FLASH 2Mbit (Sanyo LE25FW203T) (eg. Mariokart) (discovered 200X by xxx) 
  00h, 20h,40h,13h   FLASH 4Mbit (ST 45PE40V6) (eg. DS Zelda, NTR-AZEP-0) (discovered 9/2013 by jimmsu)
  00h, 20h,40h,14h   FLASH 8Mbit (ST 45PE80V6) (eg. Spirit Tracks, NTR-BKIP) (discovered 9/2013 by jimmsu)
  00h, C2h,20h,17h   FLASH 64Mbit (Macronix MX25L6445EZNI-10G) (DSi Art Academy only) (discovered 9/2013 by jimmsu)
  00h, C2h,22h,11h   FLASH 1Mbit (Macronix MX25L1021E ?) (eg. 3DS Starfox) (discovered 8/2013 by Snailface)
  00h, C2h,22h,13h   FLASH 4Mbit? (Macronix ...?) (eg. 3DS Kid Icarus, Sims 3) (discovered 8/2013 by Snailface)
  00h, 01h,F0h,00h   Garbage/Infrared on SPI-bus? (eg. Pokemon White) (discovered 8/2013 by Bond697)
  00h, 03h,F8h,00h   Garbage/Infrared on SPI-bus? (eg. Pokemon White 2) (discovered 8/2013 by Bond697)

  00h, 62h,11h,00h   FLASH 4MBIT Sanyo ? (P-Letter Diamond, ADAE)
  00h, 62h,26h,11h   FLASH ?? MBIT Sanyo ? (3DS: CTR-P-AXXJ)
  00h, 62h,26h,13h   FLASH ?? MBIT Sanyo ? (3DS: CTR-P-APDJ)

  0Fh, FFh,FFh,FFh   EEPROM (0.5Kbyte) (discovered 2006 by nocash)
  00h, FFh,FFh,FFh   EEPROM/FRAM (discovered 2006 by nocash)
  FFh, FFh,FFh,FFh   None (discovered 2006 by nocash)
And, below types are used as NDS/iQueDS firmwares
(but unknown if they are also used in GAME cartridges)
  00h, 20h,50h,12h   FLASH 2Mbit (ST M35PE20) (NDS firmware)
  00h, 20h,80h,13h   FLASH 4Mbit (ST M25PE40) (iQue DS firmware)
DS Vision save ID indicates that the cart contains EEPROM/FRAM, is that correct? Does it have both EEPROM/FRAM -and- also the microSD slot?
Warioware D.I.Y. has no SPI-bus Save ID (but contains Save in NAND chip).

I'll be EDITing the above lists when (if) more IDs are discovered.

#178082 - jimmsu - Fri Sep 20, 2013 8:50 pm

rom size :134217728 bytes
rom title :zelda_ds:ph
rom gamecode :azep

NDS-ID

rom id :80007f80-7fff807f
save id :00134020-ffecbfdf

NOR-ID

rom id :0x80007f80
save id :00000000-00204013

NDS BACKUP TOOL

rom id :807f0080
save id :FLASH 4M(512KByte)

http://i40.tinypic.com/1zw0x3p.jpg

#178083 - jimmsu - Fri Sep 20, 2013 8:52 pm

rom size :134217728 bytes
rom title :Spirittracks
rom gamecode :bkip

NDS-ID

rom id :80007fc2-7fff803d
save id :00144020-ffebbfdf

NOR-ID

rom id :0x80007fc2
save id :00000000-00204014

NDS BACKUP TOOL

rom id :c27f0080
save id :FLASH 8M(1025KByte)

http://i40.tinypic.com/14nmjqb.jpg

#178084 - jimmsu - Fri Sep 20, 2013 9:03 pm

This is a DSI game


rom size :33554432 bytes
rom title :artacademyrt
rom gamecode :vaav

NDS-ID

rom id :40001fc2-bfffe03d
save id :001720c2-ffe8df3d

NOR-ID

rom id :0x40001fc2
save id :00000000-00c22017

NDS BACKUP TOOL

rom id :c21f0040
save id :Unknown - (FLASH 64Mbit)


http://i44.tinypic.com/72zp5x.jpg

#178086 - jimmsu - Sat Sep 21, 2013 9:38 pm

here wario diy europe

rom size :134217728 bytes
rom title :dsm10
rom gamecode :uorp

NDS-ID

rom id :garbage
save id :garbage

NOR-ID

rom id :0x88007fec
save id :000000ff-00ffffff

NDS BACKUP TOOL

rom id :ec7f0088
save id :0 (not provide)

#178087 - jimmsu - Sat Sep 21, 2013 9:40 pm

here the game Jam With The Band Europe

rom size :134217728 bytes
rom title :bandbros dx
rom gamecode :uxbp

NDS-ID

rom id :garbage
save id :garbage

NOR-ID

rom id :0x88017fec
save id :000000ff-00ffffff

NDS BACKUP TOOL

rom id :ec7f0188
save id :0 (not provide)

#178088 - jimmsu - Sat Sep 21, 2013 10:06 pm

Here the dsi only game Face Training

rom size :134217728 bytes
rom title :kaotoreo
rom gamecode :uskv

NDS-ID

rom id :garbage
save id :garbage

NOR-ID

rom id :0xe8007fec
save id :000000ff-00ffffff

NDS BACKUP TOOL

rom id :ec7f00e8
save id :0 (not provide)

#178089 - jimmsu - Sat Sep 21, 2013 10:09 pm

Have now done 3 games with NAND

And one thing i see is that NOR ID can detect it as 000000ff-00ffffff

So think when this code is ther game will have NAND

#178090 - jimmsu - Sat Sep 21, 2013 10:15 pm

here the game Walk With Me
Game has infrared



rom size :67108864 bytes
rom title :seikaturizum
rom gamecode :IMWP

NDS-ID

rom id :e0013f80-1ffec07f
save id :garbage

NOR-ID

rom id :0xe0013f80
save id :00000000-0007e000

NDS BACKUP TOOL

rom id :803f01e0
save id :Unknown


Wooddumper r85


card: e0013f80

save:
status: 00000000

id: 0001f000

#178091 - jimmsu - Sat Sep 21, 2013 10:55 pm

game band hero

rom size :268435456 bytes
rom title :Bandhero
rom gamecode :bghp

NDS-ID

rom id :8000ffc2-7fff003d
save id :f0ffffff-0f000000 - EEPROM (0.5K)

NOR-ID

rom id :0x8000ffc2
save id :000000f0-00ffffff

NDS BACKUP TOOL

rom id :c2ff0080
save id :EEPROM 4K(512Byte)

#178092 - jimmsu - Sat Sep 21, 2013 10:59 pm

game Kingdom Hearts RE-Coded



rom size :268435456 bytes
rom title :kh re:coded
rom gamecode :bk9p

NDS-ID

rom id :e080ff80-1f7f007f
save id :00ffffff-ff000000 - EEPROM/FRAM

NOR-ID

rom id :0xe080ff80
save id :00000000-00ffffff

NDS BACKUP TOOL

rom id :80ff80e0
save id :EEPROM 512(64KByte)

#178093 - jimmsu - Sat Sep 21, 2013 11:14 pm

game de blob2



rom size :67108864 bytes
rom title :deblob2
rom gamecode :vd2v

NDS-ID

rom id :e0003fae-1fffc051
save id :f0ffffff-0f000000 EEPROM (0.5K)

NOR-ID

rom id :0xe0003fae
save id :000000f0-00ffffff

NDS BACKUP TOOL

rom id :ae3f00e0
save id :EEPROM 4K(512Byte)

#178095 - jimmsu - Sun Sep 22, 2013 9:34 pm

game is crime lab


rom size :67108864 bytes
rom title :crimelab
rom gamecode :vaop

NDS-ID

rom id :40003fc2-bfffc03d
save id :f0ffffff-0f000000 EEPROM (0.5K)

NOR-ID

rom id :0x40003fc2
save id :000000f0-00ffffff

NDS BACKUP TOOL

rom id :c23f0040
save id :EEPROM 4K(512Byte)

#178096 - jimmsu - Sun Sep 22, 2013 10:12 pm

game pokemon diamond



rom size :67108864 bytes
rom title :pokemon d
rom gamecode :adae

NDS-ID

rom id :00003fc2-ffffc03d
save id :00001162-ffffee9d

NOR-ID

rom id :0x3fc2
save id :00000000-00621100

NDS BACKUP TOOL

rom id :c23f0000
save id :FLASh 4M(512KByte)

#178097 - jimmsu - Sun Sep 22, 2013 10:25 pm

game pokemon soul silver



rom size :134217728 bytes
rom title :pokemon ss
rom gamecode :ipge

NDS-ID

rom id :e0017f80-1ffe807f
save id :garbage

NOR-ID

rom id :0xe0017f80
save id :00000000-0003f800

NDS BACKUP TOOL

rom id :807f01e0
save id :unknow



< SAVE Information >
SAVE Type : No Support 4M
FLASH ID : 80 00 7F

woodumper r85

save:
status: 00000000

id: 0007f000




only did get differnt save id with all programs used

#178108 - jimmsu - Wed Oct 09, 2013 11:34 pm

Here some 3ds chip id i found.


GAME CHIP: C2 7F 00 90 - 128MB ROM CTR-P-AENJ MMinna no Ennichi JPN
GAME CHIP: C2 FF 00 90 - 256MB ROM CTR-P-AFSJ Pro Yakyuu Famista 2011 JPN
GAME CHIP: C2 FE 00 90 - 512MB ROM CTR-P-AFAJ Real 3D Bass Fishing Fish On JPN
GAME CHIP: C2 FA 00 90 - 1GB ROM CTR-P-ASUJ Hana to Ikimono Rittai Zukan JPN
GAME CHIP: C2 FA 02 90 - 1GB ROM CTR-P-AGGW Luigis Mansion 2 ASiA CHT
GAME CHIP: C2 F8 00 90 - 2GB ROM CTR-P-ACFJ Castlevania - Lords of Shadow - Mirror of Fate JPN
GAME CHIP: C2 F8 02 90 - 2GB ROM CTR-P-AH4J Monster Hunter 4
GAME CHIP: AE FA 00 90 - 1GB ROM CTR-P-AGKJ Gyakuten Saiban 5 JPN
GAME CHIP: AE FA 00 98 - 1GB ROM CTR-P-EGDJ Tobidase Doubutsu no Mori JPN
GAME CHIP: 45 FA 00 90 - 1GB ROM CTR-P-AFLJ Fantasy Life JPN
GAME CHIP: 45 F8 00 90 - 2GB ROM CTR-P-AVHJ Senran Kagura Burst - Guren no ShoujotachI JPN
GAME CHIP: C2 F0 00 90 - 4GB ROM CTR-P-ABRJ Biohazard Revelations JPN

SAVE CHIP: C2 22 13
SAVE CHIP: C2 22 11
SAVE CHIP: 62 26 13 - CTR-P-APDJ
SAVE CHIP: 62 26 11 - CTR-P-AXXJ

#178110 - Jhon591 - Fri Oct 18, 2013 4:33 pm

Thanks very much for the contribution Jimmsu , weldone .

Hope this is help full to nocash .