You are here

CE218541 - PSoC 6 MCU Fault-Handling Basics | Cypress Semiconductor

CE218541 - PSoC 6 MCU Fault-Handling Basics

Last Updated: 
Jul 06, 2020
Version: 
*B
This code example demonstrates how to find a fault location using the PDL SysLib and the ARM® exception handler. The example has three different faults: ARM® Cortex® M0+ Hard Fault, Cortex M4 Usage Fault, and a Cortex M4 (CM4) Bus Fault. The example uses a UART to display information for debugging.

This code example demonstrates how to find a fault location using the PDL SysLib and the Arm® exception handler. The example has three different faults: Arm® Cortex® M0+ Hard Fault, Cortex M4 Usage Fault, and a Cortex M4 (CM4) Bus Fault. The example uses a UART to display information for debugging.

This example works with PSoC Creator. To run code examples in PSoC Creator, download and unzip the code example package, run PSoC Creator, go to File > Open > Project/Workspace, then browse to and select the .cywrk file. For documentation and collateral regarding PSoC Creator, please visit the PSoC Creator SW page to learn more. To see code examples available for PSoC Creator, go here.

This example may be available for ModusToolbox™ v2.x. To see code examples for ModusToolbox, go here. Use the Eclipse IDE for ModusToolbox New Application wizard to create the example. Refer to the Quick Start Guide, "Create New Application" chapter for details. You can also export the example to another IDE, such as VS Code, IAR, or μVision. Refer to the ModusToolbox User Guide “Export to IDEs” chapter.