TA的每日心情 | 擦汗 2013-1-23 10:31 |
---|
签到天数: 14 天 连续签到: 1 天 [LV.3]偶尔看看II
|
本帖最后由 CodeMonkey 于 2013-1-7 18:36 编辑
刚拿到手时候,比想象中还要小...
因为它比我的名片还小...神啊...
我们驱动他,要下载这个东西:
http://www.atmel.com/tools/SAM4S-XPLD.aspx?tab=documents
其实在我的Windows 8 x64上本身没有识别障碍.
不过那个文件还是要下载的,因为里面有个开发板演示程序,为什么我的板子LED刚拿回来不会闪啊...
进入Setting up目录,安装SAM-BA,有用的啦.
安装完还会打开一个指导页面升级USB驱动...
还要打上一个Patch- How to Apply SAM4S Patch for SAM-BA v2.11
- - Create a backup 'tcl_lib' and 'drv' directory in SAM-BA v2.11 before starting.
- - Unpack the patch in an empty folder.
- - Copy the new 'tcl_lib' directory to overwrite the old one.
- - Copy the new 'applets' directory to overwrite the old one.
- - Copy the new 'drv' directory to update Segger driver(JLinkARM.dll) if needed.
- - After the copying is finished, the patch is finished.
- Note:
- 1. In this patch, it contains Segger driver JLinkARM.dll V4.36e. For latest vesion, please visit: http://www.segger.com/cms/jlink-software.html
- Version History:
- V0.1
- ---
- 1. First release.
- 2. Known issue: Flash "Erase all" command will be timeout with COM connection.
复制代码
这个时候,电脑不知不觉已经多了好多软件...
.首先擦除Flash。跳线J25短接时,上电后自动擦除SAM4S16C Flash中内容。短接跳线J25和J7,连接micro USB JTAG口,等待3~5秒钟完成擦除。
执行SAM4S_XPLD_DEMO_Programming写入个demo,在recovery目录.
然后等啊等...
原来出错了....- -I- Waiting ...
- -I- TCL platform : Windows NT
- -I- SAM-BA 2.11 on : windows
- -I- Retrieved arguments from command line :
- -I- argv 0 : \jlink\ARM0
- -I- argv 1 : at91sam4s16-ek
- -I- argv 2 : SAM4S_XPLD_Programming.tcl
- 0
- \jlink\ARM0
- -I- Connection : \jlink\ARM0 (target(comType) = 2)
- -I- Board : at91sam4s16-ek
- -I- Traces Level : 4
- -I- target(handle) : 128284312
- Read device Chip ID at 0x400e0640 --- get 0x00000000
- Read device Chip ID at 0x400e0740 --- get 0x28ac0ce0
- -I- Found processor : at91sam4s16 (Chip ID : 0x28ac0ce0)
- sourcing device file C:/Program Files (x86)/ATMEL Corporation/sam-ba_2.11/sam-ba.exe/../tcl_lib/devices/at91sam4s16.tcl
- sourcing board description file C:/Program Files (x86)/ATMEL Corporation/sam-ba_2.11/sam-ba.exe/../tcl_lib/at91sam4s16-ek/at91sam4s16-ek.tcl
- -I- Loading applet applet-lowlevelinit-sam4s16.bin at address 0x20000800
- -I- Memory Size : 0x2 bytes
- -I- Buffer address : 0x4
- -I- Buffer size: 0x0 bytes
- -I- Applet initialization done
- -I- Low level initialized
- -I- Loading applet applet-flash-sam4s16.bin at address 0x20000800
- -I- Memory Size : 0x100000 bytes
- -I- Buffer address : 0x20002054
- -I- Buffer size: 0x1DA00 bytes
- -I- Applet initialization done
- -I- FLASH initialized
- -I- Command line mode : Execute script file : SAM4S_XPLD_Programming.tcl
- -E- Script File SAM4S_XPLD_Programming.tcl returned error : couldn't read file "SAM4S_XPLD_Programming.tcl": no such file or directory - couldn't read file "SAM4S_XPLD_Programming.tcl": no such file or directory
- while executing
- "source $scriptFile"
复制代码 找不到文件,怀疑是路径太深了,所以大家要注意,不能随便桌面解压哦...
然后换一下地址,就可以写了.... 接下来的...慢慢研究...
如果实在不行,还能直接打开SAM-BA...
|
|