Just trying to debug on a STM32F746 and I keep getting verification errors after the elf is loaded.
Interestingly it has a pattern, it programmes the 1st 752 bytes correctly in every 1024 where the bytes between 752 ad 1023 are incorrect then move on to the next 1024 bytes and the same pattern is repeated, the 1st 752 correct then the next 272 are incorrect.
This occurs every 1K bytes.
Have tested on separate boards of different designs but both use the same device, same problem.
Have created a simple new project and again same byte areas and counts fail.
Finally tried to eliminate the crossworks tools and used an ST programming tool and it programmes and verifies all bytes from the same elf correctly so its something to do with setup on the device prior to programming?, may be!
I did add a line to the flash reset function in the STM32_Target.js file to poke a couple of wait states into the FLASH_ACR register but that did not fix or change the problem.
Anyone seen this issue and if so is there a fix.
Please sign in to leave a comment.