PEmicro | Experts in Embedded tools for Flash Programming and Development
Cart New Account Login

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

Tags

Product pages
Cyclone (51)
Cyclone FX (52)
Multilink (26)
Multilink FX (21)
GDB Server (12)
Prog ACMP (10)
Interface Library Routines (5)


Manufacturer
ARM (47)
NXP (52)
Microchip (6)
Cypress (6)
Infineon (2)
Maxim (3)
Nordic Semiconductor (3)
Silicon Labs (5)
Silergy Teridian (1)
STMicroelectronics (7)
Texas Instruments (2)
Toshiba (3)
Renesas (6)


Categories
Production Programming (61)
Debug (31)
Automated Control (17)
Miscellaneous (36)



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