Lines Matching refs:printf
91 printf("MXC_ASSERT %s #%d: (%s)\n", file, line, expr); in mxc_assert()
202 printf("\n\n[Hard fault handler - all numbers in hex]\n"); in FaultISR_C()
203 printf("R0 = 0x%08x\n", stacked_r0); in FaultISR_C()
204 printf("R1 = 0x%08x\n", stacked_r1); in FaultISR_C()
205 printf("R2 = 0x%08x\n", stacked_r2); in FaultISR_C()
206 printf("R3 = 0x%08x\n", stacked_r3); in FaultISR_C()
207 printf("R12 = 0x%08x\n", stacked_r12); in FaultISR_C()
208 printf("LR [R14] = 0x%08x subroutine call return address\n", stacked_lr); in FaultISR_C()
209 printf("PC [R15] = 0x%08x program counter address\n", stacked_pc); in FaultISR_C()
210 printf("PSR = 0x%08x\n", stacked_psr); in FaultISR_C()
211 …printf("MMAR = 0x%08x memory manage fault address\n", (*((volatile unsigned int *) (0xE000ED34)))… in FaultISR_C()
212 printf("BFAR = 0x%08x bus fault address\n", (*((volatile unsigned int *) (0xE000ED38)))); in FaultISR_C()
224 printf("MMSR = 0x%02x ", mmsr); in FaultISR_C()
226 printf("MMARVALID: MMAR is valid "); in FaultISR_C()
228 printf("MSTKERR: Stacking error\n"); in FaultISR_C()
230 printf("MUNSTKERR: Unstacking error\n"); in FaultISR_C()
232 printf("DACCVIOL: Data access violation\n"); in FaultISR_C()
234 printf("IACCVIOL: Instruction access violation\n"); in FaultISR_C()
236 printf("\n"); in FaultISR_C()
249 printf("BFSR = 0x%02x ", bfsr); in FaultISR_C()
251 printf("BFARVALID: BFAR is valid "); in FaultISR_C()
253 printf("STKERR: Stacking error\n"); in FaultISR_C()
255 printf("UNSTKERR: Unstacking error\n"); in FaultISR_C()
257 printf("IMPREISERR: Imprecise data access violation\n"); in FaultISR_C()
259 printf("PRECISERR: Precise data access violation\n"); in FaultISR_C()
261 printf("IBUSERR: Instruction access violation\n"); in FaultISR_C()
263 printf("\n"); in FaultISR_C()
276 printf("UFSR = 0x%04x ", ufsr); in FaultISR_C()
278 printf("DIVBYZERO: Divide by zero will take place\n"); in FaultISR_C()
280 printf("UNALIGNED: Unaligned access will take place\n"); in FaultISR_C()
282 printf("NOCP: Attempt to execute a coprocessor instruction\n"); in FaultISR_C()
284 printf("INVPC: Attempt to do exception with bad value\n"); in FaultISR_C()
286 printf("INVSTATE: Attempt to switch to invalid state\n"); in FaultISR_C()
288 printf("UNDEFINSTR: Attempt to execute an undefined instruction\n"); in FaultISR_C()
290 printf("\n"); in FaultISR_C()
300 printf("HFSR = 0x%08x ", hfsr); in FaultISR_C()
302 printf("DEBUGEVT: Hard fault caused by debug event\n"); in FaultISR_C()
304 printf("FORCED: Hard fault caused by bus/memory management/usage fault\n"); in FaultISR_C()
306 printf("VECTBL: Hard fault caused by failed vector fetch\n"); in FaultISR_C()
308 printf("\n"); in FaultISR_C()
310 printf ("AFSR = 0x%08x\n", (*((volatile unsigned int *)(0xE000ED3C)))); in FaultISR_C()
311 printf ("SCB_SHCSR = %x\n", SCB->SHCSR); in FaultISR_C()
328 printf("HardFault_Handler! (main)\n"); in HardFault_Handler()