Keil MDK Giving Error During flash download: No Algorithm found for: 00000000H - 000008D7H

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Keil MDK Giving Error During flash download: No Algorithm found for: 00000000H - 000008D7H

1,479 Views
bodhayannandi
Contributor II

Hi I am trying to build and download and assembly code for a hello world project into the IMXRT 1176 microcontroller its giving the error: No Algorithm found for: 00000000H - 000008D7H.

I have only one source file in the project. project folder attached (zip file).

 

Also please find attached the following screenshots of the settings (docx file): 

1. Error Log

2. Runtime environment settings screenshot.

3. Target settings tab

4. Debug Settings Tab

5. Since I am using CMSIS-DAP debugger to program the chip hence attached the settings tab of that (filename: debug_settings_2.png)

6. The flash download settings tab of the CMSIS-DAP settings

 

Please let me know, what is it that I am doing wrong and what configurations I am missing.

Labels (1)
0 Kudos
3 Replies

1,422 Views
bodhayannandi
Contributor II

Hi @CarlosGarabito  thanks for providing these resources.

Sorry for the late response as I was unable to access my PC in which keil was installed.

I have installed keil latest version as I just started working on this project (2 weeks back) and used the pack installer to install the latest NXP:MIMXRT1176_DFP.

ARM::CMSIS & ARM::CMSIS-DRIVER was up to date by default.

please find below the screenshot for the same:

bodhayannandi_0-1665249698599.png

bodhayannandi_1-1665249914026.png

As you can see from the screenshot Keil::iMXRT1176_Development board is not available.

My goal was to try building and loading a simple assembly language project (which is already attached in my initial post) hence only installed the DFP packs. I was planning on proceeding if I succeed in doing this as a first step. The examples tab also appear empty.

bodhayannandi_2-1665250184792.png

 

I understand that flash 0x0 cannot be programmed. The default settings of the target tab and linker tab are shown in screenshot. I am assuming that these should work to download the code in the chip as I am not getting any compiler error. The error that I am getting is during flashing of the code. So not sure what needs to be done.

bodhayannandi_3-1665250601539.png  

bodhayannandi_7-1665250797232.png

Lastly, I am not much experienced in using keil. But, the question that I am having is that from, where is keil getting the idea that it needs to write to the location 0x0 through 0x8D7 (this is the error message in the error log screenshot that I have shared earlier in the doc file in my initial post).

 

 

0 Kudos

1,439 Views
CarlosGarabito
NXP TechSupport
NXP TechSupport

Hi @bodhayannandi 

 

What version of keil are you using?

Did you upgrade the libraries?

 

You can use as a reference this article may better explain how the flash algorithms work in MDK v5:

http://www.keil.com/support/docs/3656.htm

 

The Pack Installer in Keil helps you find the most up to date Packs and examples for your device:

http://www.keil.com/mdk5/packinstaller

http://www.keil.com/support/man/docs/uv4/uv4_ca_packinstaller.htm

 

For your MIMXRT11176 device, search for it in the pack installer, and make sure you have the latest MXP::iMXRT_DFP and Keil::iMXRT1176_Development board packs

 

For that device there is a DemoApp Hello World example.

 

In that example, it appears that address 0x0 is RAM space, not Flash. So there will not be a flash programming algorithm.

 

Here are some links to help you set up your program to debug out of RAM, not flash:

http://www.keil.com/support/docs/3990.htm

http://www.keil.com/support/docs/3156.htm

http://www.keil.com/forum/17931/

http://www.keil.com/support/docs/3146.htm

http://www.keil.com/forum/59369/

 

 

I hope this will help you

Have a good day

 

0 Kudos

1,416 Views
bodhayannandi
Contributor II

@CarlosGarabito  Additionally, forgot to mention the keil version. 

The version of keil i see is: 5.37 (as per the below screenshot):

bodhayannandi_0-1665287120127.png

 

0 Kudos