[SOLVED] Break on ARM hard fault?

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Break on ARM hard fault?

    Using a TI RM57 (ARM R5F) safety critical CPU.
    Getting a few protection faults; in TI Code Composer, I can set it up to break when the ARM generates a hard fault.
    Is there any way to do this with the Segger? mon commands? I'm using VisualGDB with GCC.

    thanks,
    Mike
  • Hello Mike,

    Thank you for your inquiry.
    To set breakpoints you can either use monitor commands or a JLinkScript which then gets passed to VisualGDB.
    The monitor command you could use here is "setbp". More information can be found in the J-Link user manual.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.