<whitequark>
the pages are rotated but page 2 matches the A connector orientation
<whitequark>
ground/power on the outside
<puck>
awesome, thanks! i'll be attempting to run the NAND flash reading code on the OTP memory tomorrow. reading the datasheet it seems like everything should Just Work but i'll probably hit some fun issues either way
<puck>
liking the revb so far tho
<whitequark>
nice :3
<whitequark>
don't forget the pullup on R/B
<puck>
yeah, i saw
<whitequark>
oh, i put that in the help text? cool
<puck>
also as far as i can tell the matrix OTP is also not ONFI compliant, but uses the same values
<whitequark>
i have literally never seen an ONFI compliant chip
<whitequark>
i've bought an actual bag of USB flashes to disassemble
<whitequark>
I haven't yet checked them all but I've put every single NAND flash I desoldered in the socket and none of them were ONFI complian
<puck>
oh i might have to play around a bit with the address calculations
<puck>
i think read1 and read2 just start at 256 bytes offset
<whitequark>
I swear this was made for SmartMedia
<puck>
and read3 reads only the extras
<puck>
no clue
<whitequark>
yes
<puck>
i found one of these chips inside like a really obscure game console's cartridge
<puck>
from my shitty flash memory reading attempts (using either bitbanging on a raspi or a beaglebone PRU, neither to proper success) it actually contains u-boot and linux
<puck>
the three cartridges i have are: a hybrid of Winx Club (tv show) plus like. some atari classics, one cartridge that is just full of a tv show, and one that is Rayman 3
<puck>
i'm going to end up making like. a full pcb to connect glasgow to a digiblast cartridge, if i don't watch out
<whitequark>
ha
<whitequark>
puck: yeah, you'll need to implement a different read mode
<whitequark>
i'd be interested in this being upstreamed
<whitequark>
because i see this in smartmedia as well
<puck>
well
<puck>
looking at page 14, "sequential row read operation"
<puck>
that /should/ cover just sequentially reading an entire chip
<puck>
but yeah, arbitrarily seeking to a specific point would require a small amount of patching, shouldn't be too hard
<puck>
pretty sure i understand how the code works
<whitequark>
ah, i think it's even easier
<whitequark>
if you treat this device as one 512+16, then you can seek to any page with Cmd 00
<whitequark>
the only thing you need to change is to make reads use Cmd 00 instead of Cmd 00 + Cmd 30
<puck>
yup
<_whitenotifier-c>
[whitequark/Glasgow] whitequark pushed 1 commit to master [+8/-0/±1] https://git.io/fh9TO