天嵌 ARM开发社区

 找回密码
 注册
查看: 2487|回复: 1

wince启动过程中程序丢失,Invalid MBR。急救!

[复制链接]
yubsh 发表于 2013-6-1 10:42:30 | 显示全部楼层 |阅读模式
2440核心板,自制的底板,10.4TFT LCD,使用命令e、9、u下载天嵌提供的wince6.0。之前基本没问题,并做好了应用程序。现场供电使用安全栅供电,间或有启动不了的现象,表现为wince启动过程中停止在第二个LOGO画面,串口调试显示下列信息:

Initiating image launch in 0 seconds.
Launching image from boot media ...
OEMPlatformInit: IMAGE_TYPE_RAMIMAGE
+=OEMVerifyMemory+ dwStartAddr:0x80200000  dwLength:0x4
RAM image 0xa 0x80200003
+=OEMVerifyMemory+ dwStartAddr:0x80201000  dwLength:0x4
RAM image 0xa 0x80201003
OpenPartition: Invalid MBR.  Cannot open existing partition 0x21.
ERROR: ReadOSImageFromBootMedia: Failed to open existing partition.
OEMPlatformInit ERROR: Failed to load kernel region into RAM.

重写wince之后,会有改善。但随着测试次数的增加,目前的情况越来越严重,基本每次都启动不了了。恢复到室内供电,也是这种情况。

我分析的情况如下:
1,自制底板有缺陷
2,系统供电功率不足
3,核心板FLASH等出现问题

我的问题是,这种情况是怎样产生的,如何得以解决。谢谢
 楼主| yubsh 发表于 2013-6-1 10:46:16 | 显示全部楼层
在NAND启动方式下,选择低级格式化,显示出现坏块。
在NOR启动方式下,选择格式[9] Format the Nand Flash,显示:
Enter your selection: 9

NAND scrub: device 0 whole chip
Warning: scrub option will erase all factory set bad blocks!
         There is no reliable way to recover them.
         Use this command only for testing purposes if you
         are sure of what you are doing!

Really scrub this NAND flash? <y/N> : y
Erasing at 0xcc0000 --   5% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5, bad block at 0x00d40000.
Erasing at 0xa660000 --  65% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5, bad block at 0x0a8c0000.
Erasing at 0xffe0000 -- 100% complete.
OK

问下,我这个FLASH是不是翘了?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-3-28 17:22 , Processed in 1.046875 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表