调试错误:No Algorithm found for(转载)

在第一次建立STM32F103C8内核的Keil工程时,选择了j-link作为调试器,当点击

2011年04月27日 - Neo - 时间记录器debug->start/stop debug session,开始调试时,出现如下错误

*** error 10: Syntax error
No Algorithm found for: 08000000H - 0800150FH

Erase skipped!

解决方法如下:

2011年04月27日 - Neo - 时间记录器

在下面的窗口中点击Add

2011年04月27日 - Neo - 时间记录器

在列表中选中容量范围,点击 Add

2011年04月27日 - Neo - 时间记录器

返回前一个窗口,可以看见已经多了一个选项了,点击 OK,大功告成。

2011年04月27日 - Neo - 时间记录器
详情请看:

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka10850.html

摘录如下:

NO ALGORITHM FOUND FOR ADDRESS

Applies to: ULINK USB-JTAG Debugger


Information in this article applies to:


>ULINK USB-JTAG Adapter
>ULINK2 USB-JTAG Adapter
>Keil Development Suite for ARM any Version



QUESTION

I am trying to download my project into Flash via ULINK. ULINK seems to connect to the device, but a Message Box pops up and tells me:

No Algorithm found for Address 0x0000000  


ANSWER

This error usually indicates that an appropriate algorithm was not chosen for the flash device. To add one in the Target configuration:


1、Open Options for Target - Utilities.
2、Choose the ULINK ARM Debugger and press Settings.
3、Press Add and choose the algorithm that fits your device. In case that the Address Range for the device is wrong select the algortihm and correct the Start and Size information.
4、Define the address spaces RAM for Algorithm and the Flash ROM area valid for the algorithm with Start and Size.

Note: you cannot use the command Flash - Download for RAM areas in your application. The RAM content will be downloaded when you start the debugger.

原文地址:https://www.cnblogs.com/glguan/p/2451101.html