1886468_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

1886468_en-US

1886468_en-US

Bus fault investigate

Hi NXP team,

now I encounter a problem about Bus fault as below, I use the S32K148 MCU.

linton_0-1718241235058.png

how can I find this Bus fault address so that I go on investigate the root cause.

Re: Bus fault investigate

The address 0x805FFE55 is not implemented, any access there is invalid, refer to S32K1xx_Memory_Map.xlsx that is attached to the RM.

Since the bus fault is precise, you can find the program counter address of the instruction that accesses the address on the Stack.

Then, locate the program counter address in the disassembly window, it is probably a Load or Store instruction.


Thanks,

Daniel



Re: Bus fault investigate

Hi Daniel,

the possible Bus fault location 0x805FFE55.

Could you give me a hint what does this address(0x805FFE55) means? 

Thanks

Re: Bus fault investigate

Hi @linton,

This is a precise bus fault exception.

Probably the program runs away and accesses this unimplemented memory.

Stack overflow can be a possible root cause.

You can find the PC address of the fault instruction on the Stack, follow this document:

https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447


Regards,

Daniel



Re: Bus fault investigate

the photo is not clear before, please see this:

linton_0-1718241498682.png


Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 09:50 PM
Updated by: