执行nand probe 0 提示找不到NAND flash device . 解决办法
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,
关掉后才能访问里面的寄存器
nandprobeNANDflashdevic 相关文章:
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)
- Windows CE 进程、线程和内存管理(二)(11-09)