I am generating a bus fault with the code
static struct cloud_channel_data *ccd=0;
int i = ccd->type;
I wish to run the program under SEGGER debugger or any other debugger you recommend, and locate where the bus fault occurred. However, when I trace the code path in fault.c, in function fault_handle(), the type of the fault that occurs is not bus fault, but rather secure_fault(). The board will reboot and never give me the chance to get information on the bus fault. Please help show me the debugging techniques that will overcome this limitation. Thank you very much. FYI, I do this in v1.3.0 asset_tracker code near the start of main().