今天很高兴上次升级固件时把板子刷死的的故障解决了。
解决的方法如下:
我首先在国外网站搜索突然发现这样的一个贴子:
Hi, I just installed the SAMD21 xplained board and Atmel studio 6.2. Towards the end of the install it decided to update the debug firmware from 1.12 to 1.18 (if memory serves correct) but stopped with a timeout before it had finished. I could see the EDBG debug tool before the upgrade, but now I can't see it. Any way to restart the firmware upgrade? Regards, Alan
这个同我的毛病一样。
外国有一个回答:
Known issue with the beta. Go to Tools|Command Prompt and write atfw -h
Full command to force upgrade is something like (given only 1 edbg connected)
atfw -t edbg -a \tools\EDBG\edbg_fw.zip
但是我到我的安装目录下确没有找到这个命令:atfw
这时我又找到一个贴子:
从上面不难发现那个命令在哪里了。
我总结一下哈: 首先把升级坏了的D21板子插到电脑上。
其次:在c:\Program Files\Atmel\Atmel Studio 6.2\atbackend>执行atfw命令
第三参数一定要写对,EDBG是在c:\Program Files\Atmel\Atmel Studio 6.2\tools\EDBG
以下是截图:
我想这种方法同样适用于其它XPlained板子。 |