-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
69 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fa67c82
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might find the research I've done on the S5L8702's FMSS layer to be useful - I assume the M2 FMSS layer also uses some sort of state machine bytecode to do the work of communicating with the flash chip. There might be some differences, but I assume it's closer than what you might have found "published" about other chips (like the H2). I'm working on expanding the NAND flash capability of the iPod Nano 3G which uses the S5L8702, so if you discover something useful about this peripheral and its underlying bytecode, please let me know. I've taken a break on that project but I want to get back into it and study it more.
https://github.com/lemonjesus/S5L8702-FMISS-Tools
fa67c82
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lemonjesus thank you so much for linking this! It's indeed the M2 that I'm targeting as this is also referenced in the decompiled code. I already reverse-engineered a few registers here and there, but your documentation might be very helpful in further understanding its architecture.
Having said that, I haven't looked that deep into the specific meanings of every register yet and mostly hacked some things together on a lazy Sunday afternoon 😅. It looks however that the higher levels (the FTL/VFL layer) are similar to what I already reverse-engineered for the iPod Touch 1G, and I do have full source code for these aspects. 👍