Hi Mark,
Are you absolutely sure about that?
I run these lines of code to trigger the exception:
CLOCK_ControlGate(kCLOCK_Gpio1,kCLOCK_ClockNotNeeded);
volatile uint32_t t = GPIO1->DR; // will trigger an exception
My hardfault handler is pretty low rent (and I have tested it fires 'U's out of the UART by just calling it):
HardFault_Handler
movs r0, #0x55
ldr r1, =0x4018401c ;LPUART1->DATA
ldr r2, =0x40184014 ;LPUART1->STAT
HardFault_loop
str r0,[r1] ; send 'U' out of the uart
Hardfault_wait
ldr r3, [r0]
lsls r3, r3, #9
bpl.n Hardfault_wait
b HardFault_loop
I would expect to see lots of U's when I trigger the exception, but I see none!
Word of warning - if you put the trigger code at the top of your project, you'll brick your board unless you still have access to the Serial Downloader. Because it throws the debugger off, each time the debugger resets the board to download new code, it gets thrown off again.
Chris.