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
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"