hi i am getting address mismatch error while starting debug session and the program cannot be downloaded to the flash memory. I am using MCP2140 as the target board. The messege is as mentioned underneath
Memory Mismatch Address = 0x00000000 Value = 0xFF Expected = 0x18
Give me a solution to the problem
That does not look like an address mismatch problem.
It looks like a failure to write to the flash - the programmer wrote the value 0x18 and then read back the value 0xff.
Does the MCP2140 have any memory at address 0?
By the way - are you sure that you use an MCP2140?
That is a Pic processor, and you claim to be working with Arm...