AnsweredAssumed Answered

FRDM-KW24D out of the box trying to Download and Debug  Failed to connect to CPU

Question asked by Wilkins Cedano on Jun 24, 2016
Latest reply on Jul 6, 2016 by Wilkins Cedano

Host PC: windows 10 OS Build 10586.420

IAR Ver: IAR Embedded Workbench for ARM 7.70.1.1

Board: FRDM-KW24D

CMSIS-DAP Drivers instaled: Windows serial configuration - Handbook | mbed

so i got this

Devices.PNG

Lounch IAR

open workspace:

C:\Freescale\Kinetis_BeeStack_5.0.0\examples\zigbee_HaDimmableLight_OtaClient\kw2x\frdmkw24\freertos\iar

zigbee_HaDimmableLight_OtaClient_frdmkw24_freertos_Zed_Rs.eww

Note: here there is one that by default come wiht J-Link in the debug configuration i use that come with CMSIS-DAP by default it compile without error or warnings.

 

Then Click on: Donwload and debug

iar_state.PNG

 

D1 on board (FRDM-KW24D green led) start flash fast and took around 5 minuts to have thist result:result.PNG

Fri Jun 24, 2016 13:14:35: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.5\arm\config\debugger\NXP\KW2xD.dmac(103,17): Error: Operation error. 

Fri Jun 24, 2016 13:14:35: Error while calling macro execUserCoreConnect

Fri Jun 24, 2016 13:15:31: Fatal error: Failed to connect to CPU   Session aborted!

Fri Jun 24, 2016 13:15:31: IAR Embedded Workbench 7.70.1 (armproc.dll)

Fri Jun 24, 2016 13:15:31: Loading the CMSIS-DAP driver

I try this with 4 diferent board FRDM-KW24D with the same results.

then i try change systematic all params check box on

-project

     - options

     - Debugger

debugger.PNGcmsis.PNG

                                                                                                                    and CMSIS DAP

 

always with the same results

Outcomes