Debugging error: No algorithm found

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
5 posts / 0 new
Last post
vmore
Offline
Last seen:6 months 2 days ago
Joined:2018-03-01十八22
Debugging error: No algorithm found

Hello!

I am working off of a custom board that has eeprom connected to it. I am trying to get debugging enabled on this board but am hitting some roadblocks. Hope you can help me out.
I erased my eeprom. Followed the same steps outlined in the document to start debugging but I see these errors:

Target info:
------------
Device: ARMCM0
VTarget = 2.995V
State of Pins:
TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1
Hardware-Breakpoints: 4
Software-Breakpoints: 8192
Watchpoints: 2
JTAG speed: 2000 kHz
No Algorithm found for: 20000000H - 2000009FH
No Algorithm found for: 20000160H - 20000323H
No Algorithm found for: 20000340H - 200003E3H
No Algorithm found for: 20000440H - 20005CDFH
Erase skipped!
Error: Flash Download failed - "Cortex-M0"

I am able to debug the sample example(proximity reporter) on my custom board after erasing eeprom and the scatter files I use are the same. So I am not very sure what is missing here. I scanned the project options and all configurations are the same for my app vs an example app. I dont why the debugger is trying to hit 20000000H when according to the scatterfile its supposed to be 20008000H. Any hints?

Device:
PM_Dialog
Offline
Last seen:1 day 11 hours ago
Staff
Joined:2018-02-08 11:03
Hi vmore,

Hi vmore,

Regarding the error that you see is because you haven't specified in Keil that you will "Use External Tool for Flash Programming. In keil, go to the "Options for Target" in the "Utilities" tab and uncheck the "Use Target Driver for Flash programming" and check the "Use External Tool for flash programming".

Thanks, PM_Dialog

vmore
Offline
Last seen:6 months 2 days ago
Joined:2018-03-01十八22
Ah, good catch!

Ah, good catch!

MarkJBina
Offline
Last seen:2 years 5 months ago
Joined:2018-09-28 13:14
OK... I understand. The

OK... I understand. The error goes away if you select "Use External Tool..."

Can you please provide details as to what that external tool should be?
My initial guess is it would be something from the folder ~\SEGGER\JLink_v512e\ There are 20-something .EXE files in that folder.
外部工具应该规范ified, and what command-line parameters (if any)?

Should this have been included in the project setup?

PM_Dialog
Offline
Last seen:1 day 11 hours ago
Staff
Joined:2018-02-08 11:03
Hi MarkJBina,

Hi MarkJBina,

According to Keil environment, the Use External Tool for Flash Programming configuration is to enter options for third-party command-line based utilities that are not in the list of target drivers. Be aware that you will not be able to program our chips using Keil, so I am not able to suggest you any external tools. For programming either an internal or external SPI flash, it is highly recommended to use Smart Snippets toolbox and you can download it from our support page. Could you please clarify if you have designed a custom board with DA14580 or you are using any of our development kits?

Thanks, PM_Dialog