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
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.
Are you sure this isn't an EXTERNAL flash part? What board is this?
0x1C000000 memories "M29W640FB Dual Flash" "S29GL064N Dual Flash"
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"
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"
Problem solved! THe problem was the file "flash.ini"