打印
[Atmel]

SAML21 Xplained Pro固件刷死的解决办法

[复制链接]
752|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
本帖最后由 ddllxxrr 于 2015-7-1 14:13 编辑


我开始高高兴兴地编写第一个程序,我只是选ASF编程,系统默认我一个闪LED的程序,就编译后就下载。

这块我以前用过D21我很小心,如下图:



我放下一切活,我开始死盯着屏幕:点升级


我晕,居然提示我升级失败。我不敢相信:

我断电插到上边,这时两灯一起闪唉,完蛋了。

我找出我以前在别的论坛发的解决D21刷死的帖子载入如下:



今天很高兴上次升级固件时把板子刷死的的故障解决了。

解决的方法如下:

我首先在国外网站搜索突然发现这样的一个贴子:

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板子。


只是我照做后,说找不到指定程序,我试了N次,我**眼了。我把那个ZIP直接考到目录下,我又打命令,还是找不到文件,

我仔细地看了,**,原来edbg,我打成了debg。好了,问题解决了,以下是成功的截图:




相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:http://shop34182318.taobao.com/ http://shop562064536.taobao.com

2398

主题

6950

帖子

67

粉丝