Catching exceptions with EDBG (find my faulty C code-line) ?

All design tool related questions: compiler, assembler, linker. Embedded programming questions: assembler, C code.

Moderator: nferre

terbo
Posts: 26
Joined: Sun Oct 06, 2013 11:04 pm

Catching exceptions with EDBG (find my faulty C code-line) ?

Mon Jun 30, 2014 4:31 pm

Hi.
I got me a nasty bug somewere and the HardFault_Handler is constantly executing

Code: Select all

void HardFault_Handler(void)
{
	while (1) {
		/* Infinite loop if CPU exception is detected */
		Assert(false);
	}
}
Is there an easy way to find the reason for this when I only use/have the EDBG on my XplainedPro board (for my SAMD20)?
Is there a way to "(back-) track the execution" (find my faulty code-line) for this interrupt (catching interrupts and exceptions)?
best regards Terje Bohler

Return to “Development Tools”

Who is online

Users browsing this forum: No registered users and 1 guest