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