This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC1517 SWD Flash Programming Failure

Hi,
Using uvision 4.70 and Ulink2 (fw 2.02) fail to flash LPC1517 with :
"Error: flash Download failed - Cortex-M3" only at those addreses :
Programming Done.
Contents mismatch at: 0000001CH (Flash=86H Required=00H) !
Contents mismatch at: 0000001DH (Flash=F6H Required=00H) !
Contents mismatch at: 0000001EH (Flash=FFH Required=00H) !
Contents mismatch at: 0000001FH (Flash=FDH Required=00H) !
Verify Failed!

Checked the device with FlashMagic and it is programmed correctly
(the flashmagic verification is passed and indicated bytes are "00h") ;
seems that is only the ULINK2 verify that fails !

I've seen that exactly the same problem has been reported for a LPC1114 :
http://www.keil.com/forum/19901/lpc1114-flash-programming-failure/
but no solution has been reported.

I'm looking for a solution.

Tanks and Best Regards,
Andrea.

  • As we already discussed in your support case, the MDK version 4.70 does not contain support for the NXP LPC1500 device family. Because of this, the wrong flash algorithm was selected and you get these error messages during the Flash download.
    MDK version 4.74 and version 5.x support these devices, so you just need to update your MDK.

    Regards,

    Hans Schneebauer
    Technical Support Team Germany