FRDMKL25Z Not able to debug

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FRDMKL25Z Not able to debug

1,627 Views
abicash
Contributor III

Hello

I got this board a couple of days back.I am trying to debug applications with the native OpenSDA port on the native KL25

What i can do

1)Load different configurations a)Bootloader 2)MSD

2)Load srec files and run applications

3)Run bootloader and Load DEBUG-APP_Pemicro_v106.SDA

But i run in trouble whenever i try to debug a project via DebugI have read many posts describing solutions but none work for me.

I have attached 2 pictures.One is my configuration for debug and the other what error it spits.

The debugging progress bar stops at 61% and displays the error message.

Someone please help

0 Kudos
Reply
8 Replies

1,279 Views
BlackNight
NXP Employee
NXP Employee

Hello,

First, you need to have the Debug-App loaded on your FRDM-KL25Z board. This seems to be the case, as otherwise it would not be recognized in the debugger settings.

"Error creating session" sounds like it cannot start the debugger. Is your firewall blocking the debugger process? Can you run Eclipse as administrator to see if this makes a difference?

I hope this helps.

0 Kudos
Reply

1,279 Views
abicash
Contributor III

Hello Erich

Thanks for the prompt reply.Much appreciated :smileyhappy:

As you can see in my OP, i have loaded DEBUG-APP_Pemicro_v106.SDA in BOOTLOADER mode.

I disabled firewall, still no go.

Whenever i am loading the debug SDA, i copy it and then paste it in Windows explorer to the BOOTLOADER drive.

Can you help?

0 Kudos
Reply

1,279 Views
santiago_gonzal
NXP Employee
NXP Employee

Hello,

As Erich mentions before, the problem doesn't seem to be the OpenSDA itself, because it's correctly detected by CodeWarrior as I can see in your first screenshot.

Can you try in other PC or running CodeWarrior as Administrator?

0 Kudos
Reply

1,279 Views
abicash
Contributor III

Hello

I am running as Administrator :smileysad:

0 Kudos
Reply

1,279 Views
BlackNight
NXP Employee
NXP Employee

Where is your software installed? In C:\Freescale?

And: what operating system are you using? Windows7 64bit or 32bit?

I ask because if you might run a virtual machine, this might cause issues.

The other (maybe unlikely) reason could be that somehow your installation is corrupted or not complete.

1,279 Views
abicash
Contributor III

Hi

I have WindowsXP 32bit and software is on C:\Freescale

Are you suggesting , i reinstall CW?

0 Kudos
Reply

1,279 Views
BlackNight
NXP Employee
NXP Employee

Hello,

re-installation is the last resort. Maybe something went wrong with the driver installation. I have never seen that particular error message.

You do not need to un-install CodeWarrior. What I would do is to install it into a different folder again, e.g. into c:\freescale\cw for MCU10.4_second

I hope this helps.

0 Kudos
Reply

1,279 Views
abicash
Contributor III

Hello

I re-installed CW but still there are many problems.

I am a newbie to eclipse so i don't understand so many things.

I am posting my errors from the window.

_______________________________________________________________

**** Build of configuration FLASH for project accelerometer_demo ****

C:\Freescale\CW MCU v10.4\gnu\bin\mingw32-make -j6 all

'Building file: ../Sources/Events.c'

'Building file: ../Sources/ProcessorExpert.c'

'Building file: ../Project_Settings/Startup_Code/__arm_end.c'

'Building file: ../Project_Settings/Startup_Code/__arm_start.c'

'Building file: ../Generated_Code/Cpu.c'

'Building file: ../Generated_Code/CsIO1.c'

'Executing target #1 ../Sources/Events.c'

'Executing target #2 ../Sources/ProcessorExpert.c'

'Executing target #3 ../Project_Settings/Startup_Code/__arm_end.c'

'Executing target #4 ../Project_Settings/Startup_Code/__arm_start.c'

'Executing target #5 ../Generated_Code/Cpu.c'

'Executing target #6 ../Generated_Code/CsIO1.c'

'Invoking: ARM Ltd Windows GCC C Compiler'

'Invoking: ARM Ltd Windows GCC C Compiler'

'Invoking: ARM Ltd Windows GCC C Compiler'

'Invoking: ARM Ltd Windows GCC C Compiler'

'Invoking: ARM Ltd Windows GCC C Compiler'

"C:/Freescale/CW MCU v10.4/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc" "../Sources/Events.c" @"Sources/Events.args" -Wa,-adhlns="Sources/Events.o.lst" -MMD -MP -MF"Sources/Events.d" -o"Sources/Events.o"

'Invoking: ARM Ltd Windows GCC C Compiler'

"C:/Freescale/CW MCU v10.4/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc" "../Sources/ProcessorExpert.c" @"Sources/ProcessorExpert.args" -Wa,-adhlns="Sources/ProcessorExpert.o.lst" -MMD -MP -MF"Sources/ProcessorExpert.d" -o"Sources/ProcessorExpert.o"

"C:/Freescale/CW MCU v10.4/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc" "../Project_Settings/Startup_Code/__arm_end.c" @"Project_Settings/Startup_Code/__arm_end.args" -Wa,-adhlns="Project_Settings/Startup_Code/__arm_end.o.lst" -MMD -MP -MF"Project_Settings/Startup_Code/__arm_end.d" -o"Project_Settings/Startup_Code/__arm_end.o"

The system cannot find the path specified.

"C:/Freescale/CW MCU v10.4/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc" "../Project_Settings/Startup_Code/__arm_start.c" @"Project_Settings/Startup_Code/__arm_start.args" -Wa,-adhlns="Project_Settings/Startup_Code/__arm_start.o.lst" -MMD -MP -MF"Project_Settings/Startup_Code/__arm_start.d" -o"Project_Settings/Startup_Code/__arm_start.o"

The system cannot find the path specified.

The system cannot find the path specified.

The system cannot find the path specified.

The system cannot find the path specified.

"C:/Freescale/CW MCU v10.4/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc" "../Generated_Code/Cpu.c" @"Generated_Code/Cpu.args" -Wa,-adhlns="Generated_Code/Cpu.o.lst" -MMD -MP -MF"Generated_Code/Cpu.d" -o"Generated_Code/Cpu.o"

mingw32-make: *** [Sources/Events.o] Error 1

mingw32-make: *** Waiting for unfinished jobs....

mingw32-make: *** [Sources/ProcessorExpert.o] Error 1

mingw32-make: *** [Project_Settings/Startup_Code/__arm_end.o] Error 1

mingw32-make: *** [Project_Settings/Startup_Code/__arm_start.o] Error 1

mingw32-make: *** [Generated_Code/Cpu.o] Error 1

The system cannot find the path specified.

mingw32-make: *** [Generated_Code/CsIO1.o] Error 1

"C:/Freescale/CW MCU v10.4/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc" "../Generated_Code/CsIO1.c" @"Generated_Code/CsIO1.args" -Wa,-adhlns="Generated_Code/CsIO1.o.lst" -MMD -MP -MF"Generated_Code/CsIO1.d" -o"Generated_Code/CsIO1.o"

__________________________________________________________________________________________________

I checked these websites and did all that is mentioned there

Link1

Link2

0 Kudos
Reply