Hi I am trying to flash mk64fn1m0vll12 (http://www.keil.com/dd2/freescale/mk64fn1m0vll12) this is available as a board by name Freedom-K64F
When I try to flash the board using KEIL I get the following error
Spend a lot of time searching on web but no success. Can someone help me
Contents mismatch at: 0000001FH (Flash=00H Required=DFH) ! Verify Failed! Error: Flash Download failed - "Cortex-M4"
More details:
Target info: ------------ Device: MK64FN1M0VLL12 VTarget = 3.300V State of Pins: TCK: 0, TDI: 0, TDO: 0, TMS: 0, TRES: 0, TRST: 1 Hardware-Breakpoints: 6 Software-Breakpoints: 8192 Watchpoints: 4 JTAG speed: 1429 kHz
Full Chip Erase Done. Programming Done. Contents mismatch at: 0000001CH (Flash=00H Required=C4H) ! Contents mismatch at: 0000001DH (Flash=00H Required=DCH) ! Contents mismatch at: 0000001EH (Flash=00H Required=FCH) ! Contents mismatch at: 0000001FH (Flash=00H Required=DFH) ! Verify Failed! Error: Flash Download failed - "Cortex-M4" Flash Load finished at 13:07:59
2 reasons
1. Wrong flash algorithm in Options for target -> Debug -> Settings -> Flash download
2. Wrong memory area assigned in Options for target -> Target tab
Hi, I do not find a problem with Algorithm in Options for target -> Debug -> Settings -> Flash download
Or with Wrong memory area assigned in Options for target -> Target tab
These are automatically assigned by the demo. I had followed the exact instructions Given by
Freescale FRDM-K64F: Using MDK Middleware MDK Version 5 Tutorial AN271, March 2015, V 1.10
This is available as PDF at the location http://www.keil.com/appnotes/docs/apnt_271.asp
Still why this error is coming can you help me?
Did you setup the J-LINK properly with OpenSDA V2, not V2.1?
Have you discussed with the people who sold you the board, NXP, or forums related to this specific board/part, that might have some more insight into your issues?
With OpenSDA V2, I need to check with the person who supplied the board
Regards Girish
Hello, the same situation with STM32F746VET6 processors (already tested 10 CPUs), works well only if check "Erase Full Chip", but with option "Erase sectors" just hangs on verifying. Also tried with STM32 STlink utility - works like a charm, so I think there is bug in keil....
Best Regards, Vaidas