KDS Debug Error

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

KDS Debug Error

Jump to solution
612 Views
johns_chuang
Contributor III

Dear

I am using TRK-KEA8 with KDSv3.2.0.

The original Debug mode was normal, but when I created a new subroutine, I couldn't enter the Debug mode normally.

The following message appears repeatedly in the console:

Error setting BP @5d2
Error setting BP @5d4
Error setting BP @71c
Error setting BP @792
Error setting BP @966
Warning - Not all breakpoints could be written.
Error removing BP @5d2
Error removing BP @5d4
Error removing BP @71c
Error removing BP @792
Error removing BP @966

 

 

The program can flash TRK-KEA8 normally, but it cannot be used in Debug mode.

Has anyone encountered a similar problem?

 

johns_chuang_0-1672909966121.png

johns_chuang_1-1672910170916.png

 

/* ===================Console========================*/

Connection from "127.0.0.1" via 127.0.0.1
Copyright 2012 P&E Microcomputer Systems,Inc.
Command Line :C:\Freescale\KDS_v3\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.3.6.201602211227\win32\pegdbserver_console -device=NXP_KEx_S9KEAZN8M4 -startserver -singlesession -serverport=7224 -interface=OPENSDA -speed=5000 -port=USB1 -configfile=C:/?


CMD>RE


Initializing.
Target has been RESET and is active.
CMD>CM C:\Freescale\KDS_v3\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.3.6.201602211227\win32\gdi\P&E\supportFiles_ARM\NXP\KEx\freescale_s9keazn8m4_pflash.arp


Initializing.
Initialized.


;version 1.00, 07/19/2013, Copyright 2013 P&E Microcomputer Systems, Inc. All rights reserved. www.pemicro.com [ke_8k_pflash_m0]


;device freescale, s9keazn8m4, pflash


;begin_cs device=$00000000, length=$00002000, ram=$20000000


Loading programming algorithm ...
Done.
CMD>EM


Erasing.
Module has been erased.
Reloading programming algorithm ...
done.
CMD>PM


Programming.
Processing Object File Data ...

.
Programmed.
CMD>VC
Verifying object file CRC-16 to device ranges ...
block 00000000-000000BF ...
Ok.

block 00000400-00001783 ...
Ok.

Checksum Verification Successful. (Cumulative CRC-16=$C418)

 

CMD>RE


Initializing.
Target has been RESET and is active.


WARNING - NO RESET SCRIPT FILE HAS BEEN CONFIGURED TO RUN!!!

TO MODIFY THE RESET SCRIPT SETTINGS, USE THE FOLLOWING MENU OPTION:

CONFIGURATION -> AUTOMATED SCRIPT OPTIONS

 

Error setting BP @5d2
Error setting BP @5d4
Error setting BP @71c
Error setting BP @792
Error setting BP @966
Warning - Not all breakpoints could be written.
Error removing BP @5d2
Error removing BP @5d4
Error removing BP @71c
Error removing BP @792
Error removing BP @966

 

0 Kudos
Reply
1 Solution
594 Views
johns_chuang
Contributor III
0 Kudos
Reply
1 Reply
595 Views
johns_chuang
Contributor III

I think, I have found the answer.

region "m_text" overflowed ____ bytes

 

0 Kudos
Reply