|
|||||||||||
Technical Support Support Resources
Product Information |
ARM: Verify Errors when Flashing NXP LPC Device with ST-LinkInformation in this knowledgebase article applies to:
SYMPTOMI'm using an NXP LPC device and try to download the software with the ST-LINK debug adapter. In the beginning, everything seems to be fine, but at the end, some content is not fitting: Erase Done. Programming Done. Contents mismatch at: 0000001CH (Flash=4FH Required=00H) ! Contents mismatch at: 0000001DH (Flash=EFH Required=00H) ! Contents mismatch at: 0000001EH (Flash=FFH Required=00H) ! Contents mismatch at: 0000001FH (Flash=EFH Required=00H) ! Verify Failed! What is the problem here? CAUSEFor many NXP LPC devices, the exception vector location 7 (offset 0x0000001C in the vector table) contains the 2’s complement of the checksum of table entries 0 through 6. This is a very NXP specific feature. The flashloader generates this checksum on the fly while programming. This causes the flashed content to be actually different at those locations compared to the programmed image. So, it is normal, that the ST-Link driver, that will never be aware of that, reports verify errors. RESOLUTIONThe are two primary resolutions.
Flashing the resulting image should not give verify errors. Note: these commands use Key Sequences for Tool Parameters. MORE INFORMATION
Last Reviewed: Thursday, November 12, 2020 | ||||||||||
|
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.