AnsweredAssumed Answered

Kinetis SDK with IAR EWARM using CMSIS-DAP to FRDM-K64F

Question asked by aaronledger on Jan 18, 2016
Latest reply on Jan 20, 2016 by Alice_Yang

I am getting an error "Failed to load flash loader" in IAR EWARM v7.40.3.8938 when I attempt to download the sample KSDK IAR version of the Hello World example application (I've tried KSDK 1.1 and 1.3 with same result). I am using the OpenSDAv2 (CMSIS-DAP)  interface. There is not an issue with the hardware/connection/drivers as I can build the project and load it successfully using the KDS version of the example. I have investigated the project debugger settings in IAR and they appear correct.

 

The IAR Debug Log is as follows:

 

Mon Jan 18, 2016 11:32:05: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.2\arm\config\debugger\Freescale\Kxx.dmac

Mon Jan 18, 2016 11:32:05: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.2\arm\config\flashloader\Freescale\FlashK60Xxxx128K.mac

Mon Jan 18, 2016 11:32:06: Loading the CMSIS-DAP driver

Mon Jan 18, 2016 11:32:06: Unloaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.2\arm\config\flashloader\Freescale\FlashK60Xxxx128K.mac

Mon Jan 18, 2016 11:32:06: Failed to load flash loader: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.2\arm\config\flashloader\Freescale\FlashK64Fxxx128K.flash

Mon Jan 18, 2016 11:32:15: Loading the CMSIS-DAP driver

 

 

 

Any guidance on this matter would be appreciated.

Outcomes