This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/TM4C123BE6PZ: HardFault_Handler

Part Number: TM4C123BE6PZ

Tool/software: TI C/C++ Compiler

Conducting an experiment in UART6 communication and using KEIL software for simulation.
when I single-step ran to
and entered into
 GPIODirModeSet(uint32_t ui32Port, uint8_t ui8Pins, uint32_t ui32PinIO);
then the program stucked at
 HWREG(ui32Port + GPIO_O_DIR) = ((ui32PinIO & 1) ?(HWREG(ui32Port + GPIO_O_DIR) |ui8Pins):(HWREG(ui32Port + GPIO_O_DIR) & ~(ui8Pins)));
and entered into

What causes the problem?