Hello! I've got a problem. I am working with microcontroller 1986BE91T(ARM Cortex M3). My project is successfully built. But when I try to download code to Flash memory (Flash DownLoad) I get an error window - Flash DownLoad Failed - "Cortex-M3". Below in Build Output window I see - Full Chip Erase Done. Programming Done. Contents Mismatch at: 08000000H (Flash = FFh Required 10H). Contents Mismatch at: 08000001H (Flash = FFh Required 13H). Contents Mismatch at: 08000002H (Flash = FFh Required 00H). Contents Mismatch at: 08000003H (Flash = FFh Required 20H).
There wasn't such a problem earlier and my project was downloaded successfully. And it worked correctly. But now I 've got such a problem. Can you help me with my trouble, please. Any help would be appreciated.
Maybe the problem is a bad condition of microcontroller. Maybe it's damaged. Can it be a real reason of the problem?
Bad flash memory normally gives a few individual bit errors.
Your printout shows the value 0xff, which indicates unprogrammed memory cells.
That's normal when you have the wrong algorithm, or you for some reason have managed to program the wrong memory range. Or if you have a write-protected chip. But "full chip erase" would normally clear any code protection flags.