HW breakpoint is not hit

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

HW breakpoint is not hit

969件の閲覧回数
love_hate_and_repeat
Contributor III

i'm working on P2041RDB and have a codewarrior USB TAP for debugging purpose. i use codewarrior ide.

i want to debug early stage functions of u-boot like board_init_f function  and they reside in flash memory because

of that i can debug it with hardware breakpoint method but hardware breakpoint doesnt work.

even though i put a breakpoint in board_init_f function , u-boot code is running

if i debug a code area which it resides in RAM memory breakpoint is hit.

thanks in advance.

タグ(2)
0 件の賞賛
返信
1 返信

863件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the section "Debugging U-Boot from NOR for e500mc" in the step by step document CodeWarrior U-Boot Debugging.

Please make sure that you have already built u-boot with the debug option enabled. Please make sure that the the image programmed on NOR Flash is from the same build with the ELF imported into CodeWarrior to create the debug project.

Please set PIC load address as 0xfff80000 after attach and reset the target board.

Thanks,

Yiping

0 件の賞賛
返信