Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex A15 ARMDS 22.2 Breakpoints not working in C code, only in assembly?

Hello,

Any help here will be appreciated, My target is A15 running threadx code, breakpoints work fine in *.s or Assembly file but don't respond or stuck in *.c file

I am new to ARMDS interface, I did look at this discussion but didnt know where to pass the extra flag/option EL1N:0 in ARMDS 22.2

https://community.arm.com/support-forums/f/armds-forum/47140/breakpoints-not-working-in-c-code-only-in-assembly

 

Parents
  • Hi again

    The "N:0" is an argument for an "add-symbol-file" command, not an argument for the program.

    An "add-symbol-file" command is used to load debug information from a debug .axf into the debugger.
    See developer.arm.com/.../add-symbol-file

    To execute an "add-symbol-file" command, open the "Commands" view.  At the bottom of the "Commands" view is a "Command" field.  
    In the "Command" field, enter:
    add-symbol-file \path\to\your.axf

    If your program switches between security states, you may need both
    add-symbol-file \path\to\your.axf N:0
    and
    add-symbol-file \path\to\your.axf S:0

    These commands can also be added into the Debugger tab of the Debug Configuration, or into a .ds script file, to help automate the process.

    Hope this helps

    Stephen

Reply
  • Hi again

    The "N:0" is an argument for an "add-symbol-file" command, not an argument for the program.

    An "add-symbol-file" command is used to load debug information from a debug .axf into the debugger.
    See developer.arm.com/.../add-symbol-file

    To execute an "add-symbol-file" command, open the "Commands" view.  At the bottom of the "Commands" view is a "Command" field.  
    In the "Command" field, enter:
    add-symbol-file \path\to\your.axf

    If your program switches between security states, you may need both
    add-symbol-file \path\to\your.axf N:0
    and
    add-symbol-file \path\to\your.axf S:0

    These commands can also be added into the Debugger tab of the Debug Configuration, or into a .ds script file, to help automate the process.

    Hope this helps

    Stephen

Children
No data