PEmicro logo
Cart New Account Login

Logo image
HomeAbout usProductsSupportForumsBlogCustomer Service

by Mika Ichiki-Welches

ARMv7-M devices have the ability to halt when specified exceptions occur. If exception catching is enabled, the processor will halt when a user's code hits the corresponding fault handler. Exception catching serves as an aid to development by alerting users in real-time about exceptions that occur in their code.

When installed in NXP's MCUXpresso IDE, PEmicro's GDB Server plug-ins from v3.96 onward include options for exception catching, and return information about the exceptions that have occurred.

PEmicro Plug-In Support

PEmicro's GDB Server plug-ins from v3.96 onward support exception catching and return fault information in MCUXpresso IDE.

With this plug-in installed, MCUXpresso IDE's Debug Configurations include options to halt on:

  • HardFaults (VC_HARDERR)
  • Exception Entry/Return (VC_INTERR)
  • BusFaults (VC_BUSERR)
  • State Information Errors (VC_STATERR)
  • Checking Errors (VC_CHKERR)
  • No-Coprocessor faults (VC_NOCPERR)
  • MemManage faults (VC_MMERR)
  • Resets (VC_CORERESET)

By default, all exception catching is enabled in MCUXpresso IDE . The developer may personalize these settings in MCUXpresso IDE's Debug Configurations window's Debugger tab.

Each time the processor halts or steps, the PE Debug Console view will return information about all exceptions that have occurred since the last halt or step. BusFaults and MemManage faults will also include information about the location at which the fault occurred.

search in blog posts


Product pages
Cyclone (123)
Cyclone FX (128)
Multilink (82)
Multilink FX (75)
GDB Server (39)
Prog ACMP (44)
Interface Library Routines (7)

ARM (107)
NXP (98)
Microchip (7)
Cypress (7)
Infineon (9)
Maxim (3)
Nordic Semiconductor (3)
Silicon Labs (6)
Silergy Teridian (1)
STMicroelectronics (14)
Texas Instruments (2)
Toshiba (3)
Renesas (17)

Production Programming (127)
Debug (78)
Automated Control (37)
Miscellaneous (41)

© 2023 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement