Keil Logo

No Algorithm found for: 1C000000H - 1C007A57H

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
Cristobal ChPi
Posted
24-Feb-2015 13:12 GMT
Toolset
ARM
New! No Algorithm found for: 1C000000H - 1C007A57H

I am doing project on LPC4357 controller, but when I am trying to download executable file using JLINK it fails with:

compiling main.c...
"main.c" - 0 Error(s), 0 Warning(s).
Load
....
...

No Algorithm found for: 1C000000H - 1C007A57H
Erase skipped!
Error: Flash Download failed - "Cortex-M4"
Flash Load finished at 13:52:57

Read-Only
Author
Hessam Hedieh
Posted
24-Feb-2015 13:23 GMT
Toolset
ARM
New! RE: No Algorithm found for: 1C000000H - 1C007A57H

Hi
I had a very same problem with cortex-M3,do the following
1-right click on project name and choose "Option for target 'your project's name'";
2-go to Utilities tab
3-click on "setting"
4-under the programming algorithm, choose your MCU name and click "Remove"(make sure you remember description of MCU in case you dont know what it is.)
5-now click add and add your MCU back.
6-hit "ok" and enjoy.

Read-Only
Author
Cristobal ChPi
Posted
24-Feb-2015 13:32 GMT
Toolset
ARM
New! RE: No Algorithm found for: 1C000000H - 1C007A57H

Hi,

I followed your advice, but I continue with the same error

Read-Only
Author
Westonsupermare Pier
Posted
24-Feb-2015 14:21 GMT
Toolset
ARM
New! RE: No Algorithm found for: 1C000000H - 1C007A57H

Is this flash memory? When you select the algorithm does it have the right address parameters that match the range being complained about, OR NOT!?

Perhaps you need to provide more specific details for this to get solved?

Read-Only
Author
Westonsupermare Pier
Posted
24-Feb-2015 14:43 GMT
Toolset
ARM
New! RE: No Algorithm found for: 1C000000H - 1C007A57H

You have a couple of choices:

You pick the FLASH algorithm for the MEMORY RANGE you are currently using.

You compile/link your code with a different address range that IS SUPPORTED.

You compile for a RAM address, and then don't use the flash download method, and instead deselect the download to target option, and instead use a debugger script to "LOAD %L" your code into RAM.

Then there is always RTFM(s) and Keil Support

Read-Only
Author
Cristobal ChPi
Posted
25-Feb-2015 06:56 GMT
Toolset
ARM
New! RE: No Algorithm found for: 1C000000H - 1C007A57H

Yes, I tried to boot the OS from the flash memory, to be more exact below I show all the details of my flash setup:

Flash Download:
-Download function: *Erase sectors -Program -verify
-Ram for Algorithm: -start: 0x00000000 -size:0x3800

-Programing algorithm:
C:\Keil_v5\ARM\PACK\Keil\LPC4300_DFP\2.2.0\Flash\LPC18xx43xx_512_BA.FLM ->0x1A000000 -0x00080000
C:\Keil_v5\ARM\PACK\Keil\LPC4300_DFP\2.2.0\Flash\LPC18xx43xx_512_BB.FLM ->0x1B000000 -0x00080000

In relation to upload the image directly into RAM, I want to do that but I think that I have no images to send to the RAM directly.
Besides, could you said better the method of send images to the RAM

Read-Only
Author
Cristobal ChPi
Posted
25-Feb-2015 10:47 GMT
Toolset
ARM
New! RE: No Algorithm found for: 1C000000H - 1C007A57H

I intalled some drivers for Cortex-M and now the error is a little bit different...

_sleep_(100);
// Just set up the memory interface to enable the correct access to the external
// flash memory on CS0.
emc_setup();

No Algorithm found for: 1C000000H - 1C006977H
Erase skipped!
Error: Flash Download failed - "Cortex-M4"

Read-Only
Author
Westonsupermare Pier
Posted
25-Feb-2015 16:55 GMT
Toolset
ARM
New! RE: No Algorithm found for: 1C000000H - 1C007A57H

Ok, so you had two flash algorithms for 0x1a000000 and 0x1b000000, but not one for 0x1c000000, and thus it complains.

I'm not terribly familiar with your part, seem to recall it's a multicore part, perhaps the memory addresses are different depending on which core is being targeted. May be you need to discuss your problem with Keil support or an NXP FAE, or find some worked examples.

If your RAM is situated at 0x00000000, then you need to change your target dialog, or scatter file, to build your code for that location, as I said turn off the flash downloading, and use a debugger script (.INI).

I learned to use these tools and other chips by reading the documentation, and looking at how other examples tackled similar problems, it's a method you might also find effective.

Read-Only
Author
Westonsupermare Pier
Posted
25-Feb-2015 17:09 GMT
Toolset
ARM
New! RE: No Algorithm found for: 1C000000H - 1C007A57H

Are you sure this isn't an EXTERNAL flash part? What board is this?

0x1C000000 memories
"M29W640FB Dual Flash"
"S29GL064N Dual Flash"

Read-Only
Author
Cristobal ChPi
Posted
26-Feb-2015 08:07 GMT
Toolset
ARM
New! RE: No Algorithm found for: 1C000000H - 1C007A57H

Exactly, you're right!
I was wrong with the internal flash. I have verified that the examples work when I set the internal flash. But when I try to boot the OS from the external flash does not work.

The on-board is a kit for developers called "LPC4357 DEVELOPER'S KIT"

Read-Only
Author
Cristobal ChPi
Posted
26-Feb-2015 08:49 GMT
Toolset
ARM
New! RE: No Algorithm found for: 1C000000H - 1C007A57H

Only if I select the "S229GL064N Dual flash" try to program memory but without success:

emc_setup();

Erase Done.
Programming Done.
Contents mismatch at: 1C000000H (Flash=FFH Required=D0H) !
...............-----****--------*****.................
Contents mismatch at: 1C000064H (Flash=FFH Required=15H) !
Too many errors to display !
Error: Flash Download failed - "Cortex-M4"

Read-Only
Author
Cristobal ChPi
Posted
26-Feb-2015 13:12 GMT
Toolset
ARM
New! RE: No Algorithm found for: 1C000000H - 1C007A57H

Problem solved! THe problem was the file "flash.ini"

Read-Only
Author
shreyansh shukla
Posted
8-Mar-2018 11:33 GMT
Toolset
ARM
New! RE: No Algorithm found for: 1C000000H - 1C007A57H

thanks a lot for this worked for me

Next Thread | Thread List | Previous Thread Start a Thread | Settings

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.