This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

do not stop at the breakpoint after relocate_code, debug uboot by ccs

hi,everyone.

i meet a question,when i debug uboot (am335x_evm),i do this;

1)load program,and PC shows 0x80800000

2)load symbol in 0x9FF43000 (by gd->relocaddr)

3)make a breakpoint in " board_init_r()" function .Now this is my problem ,it not stop at the breakpoint.

this function is in arch/arm/lib/board.c

make sure it must run this function,because i change the print logs,and then it print it through the debug uart.

I refer the below web,and it says

"In this lab we will be setting a breakpoint AFTER the code has been relocated, so you will have to reload the symbols as instructed below."

but the relocate_code function is no return ,i can't set the breakpoint.

http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_uboot_linux_debug_with_ccsv5

where is my wrong?