在第一次建立STM32F103C8内核的Keil工程时,选择了j-link作为调试器,当点击
debug->start/stop debug session,开始调试时,出现如下错误
*** error 10: Syntax error
No Algorithm found for: 08000000H - 0800150FH
Erase skipped!
解决方法如下:

在下面的窗口中点击Add

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

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

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.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 上周热点回顾(3.3-3.9)