Contiki 3.x
Functions
fault-handlers.c File Reference

    Implementation of debugging fault handlers for ARM Cortex M3/M4 CPUs.
More...

#include <stdint.h>
#include <stdio.h>
#include "K60.h"

Go to the source code of this file.

Functions

void hard_fault_handler_c (uint32_t *hardfault_args)
 Hard fault handler (C part) More...
 

Detailed Description

    Implementation of debugging fault handlers for ARM Cortex M3/M4 CPUs.
Author
Joakim Gebart joaki.nosp@m.m.ge.nosp@m.bart@.nosp@m.eist.nosp@m.ec.se

Definition in file fault-handlers.c.

Function Documentation

void hard_fault_handler_c ( uint32_t *  hardfault_args)

Hard fault handler (C part)

This is basically a copy and paste of the hardfault handler originally written by Joseph Yiu and published on various forums around the web.

Author: Joseph Yiu

See Also
Cortex-M4 Devices Generic User Guide, ARM, 2010
The Definitive Guide to ARM® Cortex®-M3 and Cortex®-M4 Processors, Third Edition, ISBN-978-0124080829
Parameters
hardfault_argsA pointer to the stack area where the hardfault parameters are located.
Note
This function should never return.

Definition at line 28 of file fault-handlers.c.

References DEBUGGER_BREAK.