Skip to content

missing HardFault_Handler() #1483

Closed
Closed
@Fleckz

Description

@Fleckz

When HardFault occures - we end up in WWDG_IRQHandler(), would be great to have custom HardFault_Handler functions to save state for debugging. I am using H743VIT6 in this case, but happens also with F411CEU6

To Reproduce
Call this function in your sketch and debug...:

uint32_t read_from_bad_address(void) {
return *(volatile uint32_t *)0xbadcafe;
}

Result
(gdb) bt
#0 0x08004dc4 in WWDG_IRQHandler ()
#1 <signal handler called>
#2 0x08000372 in read_from_bad_address () at /home/user/Arduino/hf_test/hf_test.ino:14
#3 0x080003b4 in loop () at /home/user/Arduino/hf_test/hf_test.ino:31

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions