2024年1月7日发(作者:)

执行nand probe 0 提示找不到NAND flash device . 解决办法> halttarget state: haltedtarget halted in ARM state due to debug-request, current

mode: Abortcpsr: 0x400001d7 pc: 0x00000010> nand probe 0unknown NAND flash

device found, manufacturer id: 0x18 device id: 0x18in procedure nand上述提示错误信息为找不到NAND flash 器件。解决办法如下:::> arm mcr 15 0 1 0 0 0>

step 0target state: haltedtarget halted in ARM state due to single-step, current mode:

Abortcpsr: 0x400001d7 pc: 0x00000004> nand probe 0unknown NAND flash device

found, manufacturer id: 0x0c device id: 0x0cin procedure nand> step 1target state:

haltedtarget halted in ARM state due to single-step, current mode: Abortcpsr:

0x400001d7 pc: 0x00000004> step 4target state: haltedtarget halted in ARM state

due to single-step, current mode: Abortcpsr: 0x400001d7 pc: 0x00000008> step

8target state: haltedtarget halted in ARM state due to single-step, current mode:

Abortcpsr: 0x400001d7 pc: 0x0000000c> step 88target state: haltedtarget halted in

ARM state due to single-step, current mode: Abortcpsr: 0x400001d7 pc: 0x000000b0>

step 999target state: haltedtarget halted in ARM state due to single-step, current mode:

Abortcpsr: 0x400001d7 pc: 0x00000410> step 111111target state: haltedtarget halted

in ARM state due to single-step, current mode: Abortcpsr: 0x400001d7 pc:

0x0001b208> nand probe 0NAND flash device K9GAG08 2GB NAND 3.3V x8

MLC 2b/cell (Samsung) found> nand erase 0 0 0x100000s3c2440_read_block_data:

reading data: 0x8a2f268, 0xbfdc5efa, 6erased blocks 0 to 1 on NAND flash device #0

K9GAG08 2GB NAND 3.3V x8 MLC 2b/cell这种命令的目的是要关闭MMU,关掉后才能访问里面的寄存器tips:感谢大家的阅读,本文由我司收集整编。仅