# This is a failure-log from trying to read a single page from NAND Flash through JTAG in SAFE-Mode # mdw reads a DWORD, mww writes a DWORD # First try: mdw: 0x2038000c: ffff0000 -> mww 0x203C0000 0x07 # Flash-Command: 7=ReadPage, 6=WritePage, 0x10=WriteByteValue, 0x11=ReadByteValue -> mww 0x203C0004 0x11 # ? -> mww 0x203C0008 0x89 # ? -> mww 0x203C0054 0x7 # Phyiscal Block And Page Number -> mww 0x203C0058 0xFFFF # Bitmask for which blocks should be read/written -> mww 0x203C005C 0x85833000 # RAM Memory address -> mww 0x85833000 0x7964 # Indicator which gets overwritten to signal whether the page has been read -> mww 0x20380000 0x30 # CmdBuf -> mww 0x20380004 0x0701 # Zone + Command + unknown bit mdw: 0x2038000c: ffff0000 # FLASH is ready mdw: 0x2038012C: 00000000 # Special Status: OK -> mww 0x20380014 1 # Start transaction mdw: 0x2038000c: fffe0001 # FLASH is running 1 command and has an interrupt to be acknowledged mdw: 0x2038012C: 20000000 # Special Status: ERROR mdw: 0x20380014: 00000000 mdw: 0x2038000c: fffe0001 mdw: 0x2038000c: fffe0001 -> mww 0x2038000C 0xFFFE0001 # Acknowledging Interrupt mdw: 0x2038000c: ffff0000 # FLASH is ready again mdw: 0x20380000: 00000030 -> mww 0x20380000 0x130 # Trying to acknowledge the transaction # The page was loaded correctly, and the status register 0xffff0000 also seems as if everything is fine: # Second try: mdw: 0x2038000c: ffff0000 -> mww 0x203C0000 0x07 -> mww 0x203C0004 0x11 -> mww 0x203C0008 0x89 -> mww 0x203C0054 0x7 -> mww 0x203C0058 0xFFFF -> mww 0x203C005C 0x85833000 -> mww 0x85833000 0x7964 -> mww 0x20380000 48 -> mww 0x20380004 0x0701 mdw: 0x2038000c: ffff0000 # Until here still everything looks good mdw: 0x2038012C: 20000000 # Special Status: ERROR -> mww 0x20380014 1 mdw: 0x2038000c: fffe0000 # But here the interrupt bit is missing, therefore the interrupt cannot be cleared mdw: 0x2038012C: 20000000 # Special Status: ERROR mdw: 0x20380014: 00000000 mdw: 0x2038000c: fffe0000 mdw: 0x2038000c: fffe0000 mdw: 0x2038000c: fffe0000 mdw: 0x2038000c: fffe0000 mdw: 0x2038000c: fffe0000 mdw: 0x2038000c: fffe0000 mdw: 0x2038000c: fffe0000 mdw: 0x2038000c: fffe0000 mdw: 0x2038000c: fffe0000 mdw: 0x2038000c: fffe0000 # And the second try never results in data being read, the READ-FAILURE indicator is still there