I am developing software for Freescale FRDM-KL25 board. Just upgraded to Keil MDK v5.11a from v5.0.5.15. Download and debug does not work after the upgrade. The error message is: "ERROR 15 during programming! Click Abort to Continue." The same problem occurs with Device Family Pack or Legacy Support Package. The same problem occurs with Windows7 or Windows8.1.
After a day of searching, I found that the file "pemicro_connection_settings.ini" has the device set to K02F128M10. The device on the board is KL25Z128M4 and the device in the project is set to KL25Z128M4.
In the Options for Target, Debug tab, the debugger is set to PEMicro Debugger and the Settings of the debugger has Target CPU Information as K02F128M10. I does not allow me to modify the Target CPU type.
The hardware information: Board Name is: FRDM-KL25Z MicroBoot Kernel Version is: 1.05 Bootloader Version is: 1.11 Installed Application: PEMicro FRDM-KL25Z Mass Storage/Debug App Application Version is: 1.14 DUID is: 74823937-473181D4-3731C807-B678E678 EUID is: 6AE3D036-A84B873A-1832AA1C-948168D6 TUID is: 74823938-473281D4-37862809-B6BAE678 TOA is: 86B6E505-ADDCEB54-41E6B687-E1712CA3 TOA2 is: 86B6E505-6B74FF71-CDE430D7-89E5A119 SUID is: 86B6E505-6C47A61D-37239804-8003EC65
I hand edited the file "pemicro_connection_settings.ini." Replaced all instances of K02F128M10 with KL25Z128M4. The download and debug works fine afterward.
Is this a bug or did I miss some place to set the device type?