BMXCHIP>
+***************(C) COPYRIGHT 2012 MXCHIP corporation************+
| EMW316x Common Bootloader (Version 4.0.1_WDG) |
+ command ----------------+ function ----_-----------------------+
| 1:FWUPDATE <-a> | update the firmware from UART using Ymodem|
| 2:FWERASE | erase the current firmware and settings |
| 3:BOOT | excute the current firmware |
| 4:REBOOT | Reboot |
| ?:HELP | displays this help |
+--------------------+-------------------------------------------+
| By William Xu from MXCHIP M2M Team |
+----------------------------------------------------------------+
用JTAG下载后,将三个开关放在不同位置(八种情况)启动,只有BOOT放在“L”位置时,串口有提示:
BMXCHIP>
+***************(C) COPYRIGHT 2012 MXCHIP corporation************+
| EMW316x Common Bootloader (Version 4.0.1_WDG) |
+ command ----------------+ function ----_-----------------------+
| 1:FWUPDATE <-a> | update the firmware from UART using Ymodem|
| 2:FWERASE | erase the current firmware and settings |
| 3:BOOT | excute the current firmware |
| 4:REBOOT | Reboot |
| ?:HELP | displays this help |
+--------------------+-------------------------------------------+
| By William Xu from MXCHIP M2M Team |
+----------------------------------------------------------------+
MXCHIP>
用JTAG调试时,程序进入mxchipInit();就不再往下进行了,
查看其汇编语言为:
0x080001DE C808 LDM r0!,{r3}
0x080001E0 1F12 SUBS r2,r2,#4
0x080001E2 C108 STM r1!,{r3}
0x080001E4 2A00 CMP r2,#0x00
0x080001E6 D1FA BNE 0x080001DE
程序只在0x080001DE至0x080001E6间来转空圈。
因为程序下载后没有任何反应,所以才试着使用BOOTLOARD下载的。
一周热门 更多>