按照keil for arm教程建个工程, 写主函数,操作GPIO,程序写好后编译没有问题,
"at91sam7x.axf" - 0 Error(s), 0 Warning(s).
设置debug为JLINK, 程序下载到flash的时候,
提示 keil之out window窗口提示错误如下: No Algorithm found for: 00100000H - 001004E7H
很是郁闷,咋不行啊,
上百度google了一下搜索"No Algorithm found for: 00100000H - 001004E7H“ 没有搜到任何内容,
因为这个错误没有其他人和我相同的, 于是搜索"No Algorithm found for: 00100000H",
在www.keil.com/forum/docs/thread10485.asp 得到如下答案:
RE: Cannot FLASH AT91SAM7S Hello Example Reinhard Keil
You need to add a Flash algorithm in uVision under Project - Options - Utilities - ULINK Settings. Using the Add button you should add: AT91SAM7 256kB FLash - Address Range: 00100000H-0013FFFFH
大致意思是: Project-> Options->Utilities->ULINK Settings(JLINK Settings) 设置里, 按“ADD”按钮添加AT91SAM7 256kB FLash 到 地址范围: 00100000H-0013FFFFH 添加前如下:
添加后如下:
点ok就可以了 重新下载调试,一切正常了