wince5arm11飞思卡尔31现在是用以太网升级想改用USB或sd下载更新镜像,启动eboot,请大家给建议有参考代码最好了y-h122@163.com

hehe1226 2011-04-26 02:29:07
我们现在是用 ethernet 来更新镜像!老板为了省去DM9000 这样的成本! 所以想用USB升级 或SD卡升级,我们现在是wince 5,用的是eboot cpu 飞思卡尔 Mx31!有什么简单的!比较容易实现的方式!总之是不用网络更新镜像的方式!
如果用USB实现,是不是自己的写个BOOT像三星那样的! 同时还的写一个像三星那样的DNW程序!因为PB5 好像不支持usb更新,在 target device connectivity options 下的 kernel service map 中的 Download 没有 usb这个选项

但是 Transport 中的选项有 USB
我个人觉的USB下载要比sd下载镜像要复杂一些。
...全文
130 12 打赏 收藏 转发到动态 举报
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
hehe1226 2011-05-27
  • 打赏
  • 举报
回复
楼上老兄,我不明白你的意思
starnight1314 2011-05-18
  • 打赏
  • 举报
回复
我们31的BSP 没有usb 下载功能?可以参考一下你的bsp 包吗?我们的eboot 只能用网络下载,我的qq 412724279 邮箱: y-h1226@163.com, 我现在用 atk 通过USB下载 但是下载到flash 里读出来后发现有错误,系统起来, 请求cping1983
帮帮忙!老板催的很急啊!我的天! 谢谢了
hehe1226 2011-05-16
  • 打赏
  • 举报
回复
老兄,听到你说你也是用wince5的这个消息太好了
太好了!如果你的也是wince5的,我方便能参看一下你的wince5的eboot?如果不方便 我就只能自己想办法搞了,感谢你给我回复,实在是太感谢了!非常感谢啊!
我的邮箱 y-h1226@163.com QQ 41272479 msn y-h1226@live.cn

等待着你的帮助!我以前是做三星 linux方面的。飞思卡尔的资料不是那么多!

atk 下载我们的flash 应该没问题, 应该 我们用eboot 网络下载是没问题的,在说 eboot 也可以通过atk下载没问题!
商心国事 2011-05-14
  • 打赏
  • 举报
回复
我用atk 下载,就是在dump 出来有比较发现有错误,


是不是你们硬件FLASH有问题,导致操作FLASH不稳定
商心国事 2011-05-14
  • 打赏
  • 举报
回复
我们WIN CE5.0的BSP也是用过的,是支持USB下载

你这个菜单跟我们有点区别啊。估计是我进公司之前别人就移植好的吧,具体我也不太清楚了。。。。。。

// Show menu
KITLOutputDebugString ( "\r\n\r\nBoot Loader Configuration%s:\r\n\r\n", bCFGChanged ? " (UNSAVED CHANGES)" : "");
KITLOutputDebugString ( "0) IP address: %s\r\n",inet_ntoa(g_EbootCFG.IP));
KITLOutputDebugString ( "1) Subnet Mask: %s\r\n", inet_ntoa(g_EbootCFG.subnetMask));
KITLOutputDebugString ( "2) Boot delay: %d seconds\r\n", g_EbootCFG.delay);
KITLOutputDebugString ( "3) DHCP: %s\r\n", (g_EbootCFG.DHCPEnable == TRUE ? "Enabled" : "Disabled"));
KITLOutputDebugString ( "4) Reset to factory default configuration\r\n");
switch(g_EbootCFG.autoDownloadImage)
{
case EBOOT_CFG_AUTODOWNLOAD_NK_NOR:
KITLOutputDebugString("5) Autoboot: NK from NOR\r\n");
break;
case EBOOT_CFG_AUTODOWNLOAD_NK_NAND:
KITLOutputDebugString("5) Autoboot: NK from NAND\r\n");
break;
case EBOOT_CFG_AUTODOWNLOAD_IPL_NAND:
KITLOutputDebugString("5) Autoboot: IPL from NAND\r\n");
break;
default:
KITLOutputDebugString("5) Autoboot: Disabled\r\n");
break;

}
KITLOutputDebugString ( "6) MAC address: %x-%x-%x-%x-%x-%x\r\n",
g_EbootCFG.mac[0] & 0x00FF, g_EbootCFG.mac[0] >> 8,
g_EbootCFG.mac[1] & 0x00FF, g_EbootCFG.mac[1] >> 8,
g_EbootCFG.mac[2] & 0x00FF, g_EbootCFG.mac[2] >> 8);
KITLOutputDebugString ( "7) Format OS NAND region.\r\n");
KITLOutputDebugString ( "8) Format ALL NAND regions.\r\n");

KITLOutputDebugString ( "I) Kitl interrupt mode: %s\r\n", (g_EbootCFG.dwConfigFlags & CONFIG_FLAGS_KITL_INT? "Enable": "Disable"));
KITLOutputDebugString ( "P) Kitl passive mode: %s\r\n", (g_EbootCFG.dwConfigFlags & CONFIG_FLAGS_KITL_PASSIVE? "Enable": "Disable"));
KITLOutputDebugString ( "C) L2 cache enable: %s\r\n", (g_EbootCFG.dwConfigFlags & CONFIG_FLAGS_L2CACHE_ENABLE? "Enable": "Disable"));
KITLOutputDebugString ( "W) L2 cache mode: %s\r\n", (g_EbootCFG.dwConfigFlags & CONFIG_FLAGS_L2CACHE_WT? "WriteThrough": "WriteBack"));
KITLOutputDebugString ( "B) AHB Clock freq: %s\r\n", (g_EbootCFG.dwConfigFlags & CONFIG_FLAGS_AHBCLK? "133M": "66.5M"));
KITLOutputDebugString ( "A) ARM Clock freq: %s\r\n", (g_EbootCFG.dwConfigFlags & CONFIG_FLAGS_ARMCLK? "532M": "266M"));
KITLOutputDebugString ( "T) DPTC mode: %s\r\n", (g_EbootCFG.dwConfigFlags & CONFIG_FLAGS_DPTC? "Enable": "Disable"));
KITLOutputDebugString ( "F) DVFS mode: %s\r\n", (g_EbootCFG.dwConfigFlags & CONFIG_FLAGS_DVFS? "Enable": "Disable"));
KITLOutputDebugString ( "V) SW2 Voltage: %s\r\n", (g_EbootCFG.dwConfigFlags & CONFIG_FLAGS_SW2? "1.8V": "1.7V"));
KITLOutputDebugString ( "X) PowerPolicy: %s\r\n", (g_EbootCFG.dwConfigFlags & CONFIG_FLAGS_PMX? "Enable": "Disable"));
KITLOutputDebugString ( "R) USB KITL: %s\r\n", (g_EbootCFG.dwConfigFlags & CONFIG_FLAGS_USBKITL? "Enable": "Disable"));

KITLOutputDebugString ( "S) Save configuration\r\n");
KITLOutputDebugString ( "D) Download image from ethernet now\r\n");
KITLOutputDebugString ( "U) Download image from USB now\r\n");
KITLOutputDebugString ( "L) Launch existing flash resident image now\r\n");
KITLOutputDebugString ( "Z) Show image version.\r\n");
KITLOutputDebugString ( "\r\n\r\nEnter your selection: ");
商心国事 2011-05-12
  • 打赏
  • 举报
回复
atk 通过USB下载 应该也是没问题的吧

官方BSP就支持啊 可能没设置好吧

很少来论坛 不知道你弄好没,公司不能上网也不能发送附件邮件。
hehe1226 2011-05-12
  • 打赏
  • 举报
回复
0) IP address: 192.168.0.55
1) Subnet Mask: 255.255.255.0
2) Boot delay: 3 seconds
3) DHCP: Disabled
4) Reset to factory default configuration
5) Autoboot: NK from NAND
6) MAC address: 0-11-22-33-44-55
7) Format OS NAND region.
8) Format ALL NAND regions.
I) Kitl interrupt mode: Enable
P) Kitl passive mode: Enable
C) L2 cache enable: Enable
W) L2 cache mode: WriteThrough
B) AHB Clock freq: 133M
A) ARM Clock freq: 532M
T) DPTC mode: Disable
F) DVFS mode: Disable
V) SW2 Voltage: 1.8V
X) PowerPolicy: Disable
S) Save configuration
D) Download image now
L) Launch existing flash resident image now
E) LCD test

这是我们下载的交互菜单,就没有 通过usb下载的选项, 还有 就是pb那边也没有
hehe1226 2011-05-12
  • 打赏
  • 举报
回复
感谢 cping1983 !多谢你了,
现在 我用atk 下载,就是在dump 出来有比较发现有错误, 我用的是wince5, 官方的wince6的bsp 我看是好像支持usb 下载!可能你用的就是wince6?
hehe1226 2011-05-10
  • 打赏
  • 举报
回复
我们31的BSP 没有usb 下载功能?可以参考一下你的bsp 包吗?我们的eboot 只能用网络下载,我的qq 412724279 邮箱: y-h1226@163.com, 我现在用 atk 通过USB下载 但是下载到flash 里读出来后发现有错误,系统起来, 请求cping1983
帮帮忙!老板催的很急啊!我的天! 谢谢了
商心国事 2011-05-04
  • 打赏
  • 举报
回复
31的BSP不是自己带USB下载功能???

我们一直都在用的
hehe1226 2011-04-27
  • 打赏
  • 举报
回复
在网上也找了一些!不过还是有很多问题!
当我遇上-你 2011-04-26
  • 打赏
  • 举报
回复
LZ看下网上很多这方面的代码的,自己google下,很多板子都有

19,502

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 嵌入开发(WinCE)
社区管理员
  • 嵌入开发(WinCE)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧