7回答

0收藏

SAM-4S 完全测试指南

其他 其他 3072 人阅读 | 7 人回复 | 2013-01-07

首先,短接JP25,清空程序区.

下载以下文件... 也可以官方下载测试包,然后删掉EARSE_ALL的操作.

test.tar.gz (21.6 KB, 下载次数: 19)


然后运行批处理.

得到结果,如果不是,回帖吧.
  1. -I- Waiting ...
  2. -I- TCL platform : Windows NT
  3. -I- SAM-BA 2.11  on : windows
  4. -I- Retrieved arguments from command line :
  5. -I- argv 0 : \jlink\ARM0
  6. -I- argv 1 : at91sam4s16-ek
  7. -I- argv 2 : SAM4S_XPLD_Programming.tcl
  8. 0
  9. \jlink\ARM0
  10. -I- Connection : \jlink\ARM0 (target(comType) = 2)
  11. -I- Board : at91sam4s16-ek
  12. -I- Traces Level : 4
  13. -I- target(handle) : 117169184
  14. Read device Chip ID at 0x400e0640 --- get 0x00000000
  15. Read device Chip ID at 0x400e0740 --- get 0x28ac0ce0
  16. -I- Found processor : at91sam4s16 (Chip ID : 0x28ac0ce0)
  17. sourcing device file C:/Program Files (x86)/ATMEL Corporation/sam-ba_2.11/sam-ba.exe/../tcl_lib/devices/at91sam4s16.tcl
  18. sourcing board description file C:/Program Files (x86)/ATMEL Corporation/sam-ba_2.11/sam-ba.exe/../tcl_lib/at91sam4s16-ek/at91sam4s16-ek.tcl
  19. -I- Loading applet applet-lowlevelinit-sam4s16.bin at address 0x20000800
  20. -I- Memory Size : 0x2 bytes
  21. -I- Buffer address : 0x4
  22. -I- Buffer size: 0x0 bytes
  23. -I- Applet initialization done
  24. -I- Low level initialized
  25. -I- Loading applet applet-flash-sam4s16.bin at address 0x20000800
  26. -I- Memory Size : 0x100000 bytes
  27. -I- Buffer address : 0x20002054
  28. -I- Buffer size: 0x1DA00 bytes
  29. -I- Applet initialization done
  30. -I- FLASH initialized
  31. -I- Command line mode : Execute script file : SAM4S_XPLD_Programming.tcl
  32. -I- === SAM4S-xplained software Programming ===
  33. -I- === Init internal Flash ===
  34. -I- Loading applet applet-flash-sam4s16.bin at address 0x20000800
  35. -I- Memory Size : 0x100000 bytes
  36. -I- Buffer address : 0x20002054
  37. -I- Buffer size: 0x1DA00 bytes
  38. -I- Applet initialization done
  39. -I- === Erase internal Flash ===
  40. -I- === Send executable bin into Flash ===
  41. -I- Send File ./SAM4S-XPLD_REVB.bin at address 0x400000
  42. first_sector 0 last_sector 3
  43. -I- Complete 0%
  44. -I-         Writing: 0x7BF0 bytes at 0x0 (buffer addr : 0x20002054)
  45. -I-         0x7BF0 bytes written by applet
  46. -I- === Chang GPNVM to Boot from Flash ===
  47. -I- GPNVM1 set
  48. -I- === End of Flash programming ===
复制代码
下载Putty...

http://www.putty.org/

输入相关信息,Open~



按一下硬件RST按钮.



测试程序来了,我想大家都是程序员,都知道接下来怎么了吧.
Blog:http://www.lijingquan.net/
分享到:
回复

使用道具 举报

回答|共 7 个

倒序浏览

沙发

绶带

发表于 2013-1-7 20:43:24 | 只看该作者

板凳~                  
板凳

绶带

发表于 2013-1-7 20:43:58 | 只看该作者

……                  
地板

小菜儿

发表于 2013-1-7 20:44:04 | 只看该作者

我要板凳!!!哈哈哈~~~
5#

xiaopaohu123

发表于 2013-1-7 20:53:50 | 只看该作者

我在地板之下
6#

CodeMonkey

发表于 2013-1-7 20:55:15 | 只看该作者

xinxincaijq 发表于 2013-1-7 20:44
我要板凳!!!哈哈哈~~~

欢迎版主路过
Blog:http://www.lijingquan.net/
7#

ming1006

发表于 2013-1-7 22:38:06 | 只看该作者

竟然是dos界面
8#

噗噗熊

发表于 2013-1-9 16:08:22 | 只看该作者

清晰易懂,顶起!
您需要登录后才可以回帖 注册/登录

本版积分规则

关闭

站长推荐上一条 /3 下一条