nand_get_flash_type: second ID read did not match 0e,ec against 0b,0b
2014-05-07 23:44
387 查看
NAND: nand_get_flash_type: second ID read did not match 0e,ec against 0b,0b
No NAND device found!!!
0 MiB
我确定硬件没有问题,因为别的u-boot,不会出现这个问题!而且nandflash
能读写正常
//这种情况可能是NFCONF NFCONT没有配置好的原因.
//我的板子上对应:
twrph0 = 4;
//这个根据芯片手册设置,韦东山用的010
twrph1 = 2;
tacls = 0;
cfg = 0;
cfg |= S3C2410_NFCONF_TACLS(tacls - 1);
cfg |= S3C2410_NFCONF_TWRPH0(twrph0 - 1);
cfg |= S3C2410_NFCONF_TWRPH1(twrph1 - 1);
writel(cfg, &nand_reg->NFCONF);
//这个是配置寄存器,时序.
cfg = (0<<13)|(0<<12)|(0<<10)|(0<<9)|(0<<8)|(0<<6)|(0<<5)|(1<<4)|(0<<1)|(1<<0);
writel(cfg, &nand_reg->NFCONT);
No NAND device found!!!
0 MiB
我确定硬件没有问题,因为别的u-boot,不会出现这个问题!而且nandflash
能读写正常
//这种情况可能是NFCONF NFCONT没有配置好的原因.
//我的板子上对应:
twrph0 = 4;
//这个根据芯片手册设置,韦东山用的010
twrph1 = 2;
tacls = 0;
cfg = 0;
cfg |= S3C2410_NFCONF_TACLS(tacls - 1);
cfg |= S3C2410_NFCONF_TWRPH0(twrph0 - 1);
cfg |= S3C2410_NFCONF_TWRPH1(twrph1 - 1);
writel(cfg, &nand_reg->NFCONF);
//这个是配置寄存器,时序.
cfg = (0<<13)|(0<<12)|(0<<10)|(0<<9)|(0<<8)|(0<<6)|(0<<5)|(1<<4)|(0<<1)|(1<<0);
writel(cfg, &nand_reg->NFCONT);
相关文章推荐
- H-JTAG:flash id does not match
- Flash id does not match. Please make sure that the right flash device is selected
- Error 40000: Object (" ") did not match the required type `Hash'
- 使用H-Flasher下载出错:error:Flash ID does not match 解决办法 嵌入式家园贺工
- INFO[org.hibernate.type.SerializableType] - could not read column value from result set: srulaaaId13_; could not deserialize
- Parameter value [Fri Nov 11 00:00:00 CST 2016] did not match expected type [java.util.Date (未解决 求评论
- mini2440 H-flasher Flash id does not match问题的解决
- The idcode read from the device does not match the idcode in the bsdl File.
- org.springframework.dao.InvalidDataAccessApiUsageException: Parameter value [41] did not match expected type [java.lang.Integer (n/a)];
- Description Resource Path Location Type Java compiler level does not match the version of the instal
- Git无法删除文件问题:fatal: pathspec 'readme.txt' did not match any files
- 上传时报错:The Bundle ID xxx defined in your Xcode Project does not match the Bundle ID that you
- Could not get the value for parameter compilerId for plugin execution default-compile
- 当编写Servlet时出现type Status report message HTTP method GET is not supported by this URL description The
- aop.AopInvocationException: null return value from advice does not match primitive return type for
- CoreException: Could not get the value for parameter compilerId for plugin execution default-compile: PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1
- 追查Could not get a databaseId from dataSource
- The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collectio
- Description Resource Path Location Type Java compiler level does not match the version of the in解决方法
- PRVE-10167 : I/O Completion Ports (IOCP) device status did not match the required value on node "nod