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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

732 Views
Wilgaced
Contributor II

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

0 Kudos
2 Replies

71 Views
miduo
NXP Employee
NXP Employee

Hi,

Please make reference from this post:FRDM-KW24D512 non-responsive after bootload .

0 Kudos

71 Views
Wilgaced
Contributor II

Hi Fang LI

It didnt bootload. i test it in:

  1. IAR
  2. KDS
  3. CW

Updating. I download from OpenSDA Serial and Debug Adapter|NXP

  1. the Latest firmware application. dont work! Result Brick 1 of 4
  2. P&E dont have OpenSDA for FRDM-KW24D.! try with TWR-KW24D Result Brick 2 of 4 TWR-KW24D 199 KB too big
  3. Segger dont have OpenSDA for FRDM-KW24D first try stop suddenly result Brick 3 of 4

So looking https://mcuoneclipse.com/ how to recovery find and do like i say in this post FRDM-KW24D512 OpenSDA not responding

Note: all previous in Windows 7.

Trying again and trying ................ 1) Default firmware application 2) Latest firmware application 3)P&E Any OpenSDA for KW

Brick and unbrick process

*

*

Eureca from Sagger TWR-KW24D512 It Work. remeber this process most be done from Windos 7 or XP

0 Kudos