qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exception return


From: Philippe Mathieu-Daudé
Subject: Re: Exception return
Date: Thu, 16 Dec 2021 18:44:27 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0

Cc'ing qemu-arm developers.

On 12/16/21 18:31, abhijeet inamdar wrote:
> Hi,
> 
> I was running my .elf file on my custom machine(CM3) and was hit with
> this error when debugging and had the required -d flags and single stepping.
> 
> IN: Hal_MemFault
> 0x7004e794:  4770       bx       lr
> 
> Trace 0: 0x7f4faa471100 [00000000/7004e794/0x312000c1]  Hal_MemFault
> R00=7004938d R01=00000000 R02=7004938c R03=ffffffff
> R04=7005e410 R05=10020000 R06=e000eda0 R07=00000000
> R08=00000010 R09=1003f8e0 R10=e000ed94 R11=00000000
> R12=ffffffff R13=1003dbe0 R14=fffffff9 R15=7004e794
> XPSR=01000003 ---- T handler
> Taking exception 8 [QEMU v7M exception exit]
> Exception return: magic PC fffffff9 previous exception 3
> M profile return from interrupt with misaligned PC is UNPREDICTABLE on v7M
> ...successful exception return
> DRBAR[6]: 0xa0000000 misaligned to DRSR region size, mask = 0x3fffffff
> Taking exception 3 [Prefetch Abort]
> ...with CFSR.IACCVIOL
> ...taking pending nonsecure exception 3
> 
> I even check the CFSR its 0x1 by doing p/x *(uint32_t *) 0xE000ED28
> which gives me 0x1
> 
> Any help appreciated.
> 
> BR.
> Abhijeet.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]