Debugging U-Boot in Flash Memory After the  MMU is Enabled is not working

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

Debugging U-Boot in Flash Memory After the  MMU is Enabled is not working

466 Views
subramanyan
Contributor I

After following previous steps we are doing attach to process and stopping debugging and in symbolic window in board.c file for the function board_init_f, hardware break point is set


after that we are doing following steps

Debug > EPPC > Hard Reset and

  Project > Run

  and expected result => When execution reaches the hardware breakpoint, the debugger halts execution

  but that is not happening


in debugger window it says u-boot is executing , stop running to debug 

Labels (1)
0 Kudos
1 Reply

306 Views
subramanyan
Contributor I

continuing the query...


please find the attachment of ccs log which I got during this..


in debugger window it says as follows

debug_sw2_1_off.png

please find the following of ccs log which I got during this..

MBIST: core is RUNNING!

CCS: 0000    :    ccs_stop_core

CCS:        :        coreh = [serverh:0;cc_index:0;chain_pos:0]

CCS:        :    ccs_stop_core; ccs_error = 0

CCS: 0000    :    ccs_write_reg

CCS:        :        coreh = [serverh:0;cc_index:0;chain_pos:0]

CCS:        :        index = 309

CCS:        :        count = 1

CCS:        :        value: (size = 1)

CCS:        :             0000000000

CCS:        :    ccs_write_reg; ccs_error = 0; duration=10 ms

CCS: 0000    :    ccs_write_reg

CCS:        :        coreh = [serverh:0;cc_index:0;chain_pos:0]

CCS:        :        index = 1010

CCS:        :        count = 1

CCS:        :        value: (size = 1)

CCS:        :             0000000000

CCS:        :    ccs_write_reg; ccs_error = 0; duration=0 ms

CCS: 0000    :    ccs_run_core

CCS:        :        coreh = [serverh:0;cc_index:0;chain_pos:0]

CCS:        :    ccs_run_core; ccs_error = 0

CCS: 0000    :    ccs_stop_core

CCS:        :        coreh = [serverh:0;cc_index:0;chain_pos:0]

CCS:        :    ccs_stop_core; ccs_error = 0

CCS: 0000    :    ccs_run_core

CCS:        :        coreh = [serverh:0;cc_index:0;chain_pos:0]

CCS:        :    ccs_run_core; ccs_error = 0

CCS: 0000    :    ccs_get_messages

CCS:        :        coreh = [serverh:0;cc_index:0;chain_pos:0]

CCS:        :        message: (size = 0)

CCS:        :    ccs_get_messages; ccs_error = 0

CCS: 0000    :    ccs_delete_cc

CCS:        :        serverh = 0

CCS:        :        count = 0

CCS:        :    ccs_delete_cc; ccs_error = 0

CCS: 0000    :    ccs_kill_server

CCS:        :        serverh = 0

CCS:        :    ccs_kill_server; ccs_error = 0

0 Kudos