ntrteam / flashcart_core

A hopefully reusable component for dealing with flashcart specific behavior.
GNU General Public License v3.0
126 stars 32 forks source link

DSTT: add preliminary support for AMD AM29LV001BT flashchip #121

Closed Wack0 closed 6 years ago

Wack0 commented 6 years ago

This flashchip has support for write-protected sectors, so added functionality to check those (and return unsupported if a sector is write-protected).

On my cart, sector 0 is write-protected, so I haven't actually tested writing to this flashchip (hence, preliminary support). In theory it should work, assuming a DSTT with this flashchip and no write-protected sectors can be found.

Datasheet can be found here: http://www.alldatasheet.com/datasheet-pdf/pdf/55477/AMD/AM29LV001BT-70EC.html

kitlith commented 6 years ago

Well, so long as we don't need to write to sector 0, it should be fine... we just need to fix the ntrboot injection function at some point. >_>