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.

AM3352: How to set breakpoints

Part Number: AM3352

Hi, everyone.

    I'm using am3352, my board communicate with my pc software, my pc application has a breakpoint function(pc software like a compiler), when the target execute to the breakpoint code, 

i need am3352 trigger a interrupt.

    I read many docs about arm's interrupt(ti & arm), i know the cp14 coprocessor is for debug use. but i  when i read "CP14_DEBUG_ROM_ADDRESS" and "CP14_DEBUG_SELF_ADDRESS_OFFSET" with MRC

instruction, i got 0. then i don't know how to continue with this method.

Cp14ReadRomAddr:
MRC p14, #0, r0, c2, c0, #0
BX lr

Cp14ReadStatusAndCtrl:
MRC p14, #0, r0, c0, c1, #0
BX lr

    is there any wrong with my use? or Can i implement my demand with "SWI" or "BKPT" instruction?

    Any help or suggestions would be greatly appreciated.

    thank you.