Wednesday, March 21st 2018, 2:22am UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.



Date of registration: Jan 3rd 2018

Posts: 1


Sunday, February 18th 2018, 10:25pm

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.



Super Moderator

Date of registration: Jan 2nd 2017

Posts: 821


Monday, February 19th 2018, 11:48am

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,