Writing the flash on the NeoMyth cart
Posted: Wed Apr 11, 2012 2:07 am
Rather than continue to hijack superjoebob's thread, I'm splitting this off into a separate thread.
The issue: 1 - Writing the flash via the PC client can be "troublesome" - many people have problems with the USB timing out, and blocks randomly reporting as bad when trying to write games. The longer the game, the more likely a random bad block will crop up. 2 - Most people don't have the V5 or newer Myth needed to run SMS games from the SD card; they HAVE to be written to flash and run from there.
The solution: Writing the flash from the menu on the console. Avoid the PC client altogether. At least, that's what we're hoping.
This involves two carts: the Neo2-SD, and the Neo2-Pro. They are the carts that have game flash and an SD card interface. We wish to load the game from the SD card and burn it to flash.
Neo2-SD:
This cart has an ST M36DR432A chip for the menu flash and save ram, and two Intel 4050L0YTQ2 chips for the game flash and zip ram.
Neo2-Pro:
This cart has an ST M36DR432A chip for the menu flash and save ram, and two Intel 4455LLYBQ1 chips for the game flash and zip ram.
ST and Intel have slightly different NOR operations, so we need two sets of code to deal with writing menu flash versus writing game flash. I have successfully read the manufacturer and device IDs via CFI Query on both menu and game flash on the Neo2-SD. I'll check the Pro later.
NOR flash operations involve doing specific writes to specific locations, followed by more writes and reads. We have a datasheet for the M36DR432, but not the Intel chips. However, Intel chips all seem to use the same NOR operations, so I think we can get by with a datasheet for a similar chip from Intel.
M36DR432.pdf
Intel Flash datasheet
EDIT:
Datasheet on larger Intel Flash
I've tried reading the flash man/dev id on the Neo2-SD and Neo2-Pro on a V1, V4, and V5 Myth. The game flash (Intel memory) returns a proper ID on all carts for both the SD and Pro, however, the menu flash (ST memory) seems to not respond to commands on V1 and V4 carts. Only the V5 hardware seems to be able to do flash operations on the menu flash. I was thinking of having the info about what was written to the game flash saved to the SD card anyway.
The issue: 1 - Writing the flash via the PC client can be "troublesome" - many people have problems with the USB timing out, and blocks randomly reporting as bad when trying to write games. The longer the game, the more likely a random bad block will crop up. 2 - Most people don't have the V5 or newer Myth needed to run SMS games from the SD card; they HAVE to be written to flash and run from there.
The solution: Writing the flash from the menu on the console. Avoid the PC client altogether. At least, that's what we're hoping.
This involves two carts: the Neo2-SD, and the Neo2-Pro. They are the carts that have game flash and an SD card interface. We wish to load the game from the SD card and burn it to flash.
Neo2-SD:
This cart has an ST M36DR432A chip for the menu flash and save ram, and two Intel 4050L0YTQ2 chips for the game flash and zip ram.
Neo2-Pro:
This cart has an ST M36DR432A chip for the menu flash and save ram, and two Intel 4455LLYBQ1 chips for the game flash and zip ram.
ST and Intel have slightly different NOR operations, so we need two sets of code to deal with writing menu flash versus writing game flash. I have successfully read the manufacturer and device IDs via CFI Query on both menu and game flash on the Neo2-SD. I'll check the Pro later.
NOR flash operations involve doing specific writes to specific locations, followed by more writes and reads. We have a datasheet for the M36DR432, but not the Intel chips. However, Intel chips all seem to use the same NOR operations, so I think we can get by with a datasheet for a similar chip from Intel.
M36DR432.pdf
Intel Flash datasheet
EDIT:
Datasheet on larger Intel Flash
I've tried reading the flash man/dev id on the Neo2-SD and Neo2-Pro on a V1, V4, and V5 Myth. The game flash (Intel memory) returns a proper ID on all carts for both the SD and Pro, however, the menu flash (ST memory) seems to not respond to commands on V1 and V4 carts. Only the V5 hardware seems to be able to do flash operations on the menu flash. I was thinking of having the info about what was written to the game flash saved to the SD card anyway.