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

Posted on   蓝色星宇  阅读(13743)  评论(0编辑  收藏  举报

在第一次建立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.

编辑推荐:
· 基于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)

随笔 - 54, 文章 - 0, 评论 - 21, 阅读 - 14万

Copyright © 2025 蓝色星宇
Powered by .NET 9.0 on Kubernetes

跟小D每日学口语 跟小D每日学口语
点击右上角即可分享
微信分享提示