微波EDA网,见证研发工程师的成长!
首页 > 硬件设计 > 嵌入式设计 > 执行nand probe 0 提示找不到NAND flash device . 解决办法

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

时间:11-10 来源:互联网 点击:
> 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,

关掉后才能访问里面的寄存器

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top