×
嵌入式 > 嵌入式开发 > 详情

执行nand probe 0 提示找不到NAND flash device . 解决办法

发布时间:2020-08-19 发布时间:
|
> halt
target state: halted
target halted in ARM state due to debug-request, current mode: Abort
cpsr: 0x400001d7 pc: 0x00000010
> nand probe 0
unknown NAND flash device found, manufacturer id: 0x18 device id: 0x18
in procedure nand
上述提示错误信息为找不到NAND flash 器件。解决办法如下:::
> arm mcr 15 0 1 0 0 0
> step 0
target state: halted
target halted in ARM state due to single-step, current mode: Abort
cpsr: 0x400001d7 pc: 0x00000004
> nand probe 0
unknown NAND flash device found, manufacturer id: 0x0c device id: 0x0c
in procedure nand
> step 1
target state: halted
target halted in ARM state due to single-step, current mode: Abort
cpsr: 0x400001d7 pc: 0x00000004
> step 4
target state: halted
target halted in ARM state due to single-step, current mode: Abort
cpsr: 0x400001d7 pc: 0x00000008
> step 8
target state: halted
target halted in ARM state due to single-step, current mode: Abort
cpsr: 0x400001d7 pc: 0x0000000c
> step 88
target state: halted
target halted in ARM state due to single-step, current mode: Abort
cpsr: 0x400001d7 pc: 0x000000b0
> step 999
target state: halted
target halted in ARM state due to single-step, current mode: Abort
cpsr: 0x400001d7 pc: 0x00000410
> step 111111
target state: halted
target halted in ARM state due to single-step, current mode: Abort
cpsr: 0x400001d7 pc: 0x0001b208
> nand probe 0
NAND flash device K9GAG08 2GB NAND 3.3V x8 MLC 2b/cell (Samsung) found
> nand erase 0 0 0x100000
s3c2440_read_block_data: reading data: 0x8a2f268, 0xbfdc5efa, 6
erased blocks 0 to 1 on NAND flash device #0 K9GAG08 2GB NAND 3.3V x8 MLC 2b/cell
这种命令的目的是要关闭MMU,
关掉后才能访问里面的寄存器


『本文转载自网络,版权归原作者所有,如有侵权请联系删除』

热门文章 更多
ST Bluetooth®5.2认证系统芯片问市.延长电池续航