cancel
Showing results for 
Search instead for 
Did you mean: 

IAC exceptions when launching M33 core

nielsenni101
Associate III

Hello,

I am trying to load an .elf file on the M33 core on my stm32mp257f processor. When I launch the remote core using remoteproc I get the following errors.

 

 

 

root@stm32mp257f-hydra-mx:~# echo -n /home/root > /sys/module/firmware_class/parameters/path
root@stm32mp257f-hydra-mx:~# echo Sparta.elf > /sys/class/remoteproc/remoteproc0/firmware
root@stm32mp257f-hydra-mx:~# echo start > /sys/class/remoteproc/remoteproc0/state
[ 119.336297] remoteproc remoteproc0: powering up m33
[ 119.511444] remoteproc remoteproc0: Booting fw image Sparta.elf, size 6237772
[ 119.513130] remoteproc remoteproc0: unsupported fw ver: 0
[ 119.518401] remoteproc remoteproc0: no resource table found for this firmware
E/TC:0 stm32_iac_itr:192 IAC exceptions [159:128]: 0x200
E/TC:0 stm32_iac_itr:197 IAC exception ID: 137
E/TC:0 stm32_risaf_dump_erroneous_data:256

DUMPING DATA FOR risaf@420d0000
E/TC:0 stm32_risaf_dump_erroneous_data:257 =====================================================
E/TC:0 stm32_risaf_dump_erroneous_data:258 Status register (IAESR0): 0x91
E/TC:0 stm32_risaf_dump_erroneous_data:266 -----------------------------------------------------
E/TC:0 stm32_risaf_dump_erroneous_data:268 Faulty address (IADDR0): 0x80000000
E/TC:0 stm32_risaf_dump_erroneous_data:287 =====================================================
E/TC:1 stm32_iac_itr:192 IAC exceptions [159:128]: 0x200
[ 119.587786] remoteproc remoteproc0: unsupported fw ver: 0
[ 119.592833] remoteproc remoteproc0: remote processor m33 is now up
root@stm32mp257f-hydra-mx:~# E/TC:1 stm32_iac_itr:197 IAC exception ID: 137
E/TC:1 stm32_iac_itr:197 IAC exception ID: 132
E/TC:1 stm32_risaf_dump_erroneous_data:256

DUMPING DATA FOR risaf@420d0000
E/TC:1 stm32_risaf_dump_erroneous_data:257 =====================================================
E/TC:1 stm32_risaf_dump_erroneous_data:258 Status register (IAESR0): 0x91
E/TC:1 stm32_risaf_dump_erroneous_data:266 -----------------------------------------------------
E/TC:1 stm32_risaf_dump_erroneous_data:268 Faulty address (IADDR0): 0x80000080
E/TC:1 stm32_risaf_dump_erroneous_data:287 =====================================================
E/TC:1 stm32_risab_dump_erroneous_data:146

DUMPING DATA FOR risab@42130000
E/TC:1 stm32_risab_dump_erroneous_data:147 =====================================================
E/TC:1 stm32_risab_dump_erroneous_data:148 Status register (IAESR): 0x12
E/TC:1 stm32_risab_dump_erroneous_data:150 -----------------------------------------------------
E/TC:1 stm32_risab_dump_erroneous_data:151 Faulty address (IADDR): 0xa080004
E/TC:1 stm32_risab_dump_erroneous_data:154 =====================================================

 

 

 

 Any suggestions?

10 REPLIES 10
hey currently i am working on stm32mp257dak3 on myir myc-ld257 board  in which i want to access RCC of gpiog for i2c3,  but i am enable to access it as soon as i try to access without resource manager it shows me "root@myd-ld25x:~# echo start > /sys/class/remoteproc/remoteproc0/state
E/TC:1   stm32_iac_itr:192 IAC exceptions [159:128]: 0x10000000
E/TC:1   stm32_iac_itr:197 IAC exception ID: 156
E/TC:1   Panic at /usr/src/debug/optee-os-stm32mp/4.0.0-stm32mp-r1/core/drivers/firewall/stm32_iac.c:212 <stm32_iac_itr>
E/TC:1   TEE load address @ 0x82000000
E/TC:1   Call stack:
E/TC:1    0x82007ed8
E/TC:1    0x8203bb8c
E/TC:1    0x82026308
E/TC:1    0x820396c0
E/TC:1    0x82013c0c
E/TC:1    0x820017dc
I/TC: Halting CPU 0" this error and my linux gets crash (on board linux not in my laptop)
 
but when i uses resource manager " if (ResMgr_Request(RESMGR_RESOURCE_RIF_RCC, RESMGR_RCC_RESOURCE(96))
== RESMGR_STATUS_ACCESS_OK) {
__HAL_RCC_GPIOG_CLK_ENABLE();
}" this condition not gets true and i came out of if() and ultimately rcc is not enable
so tell me how to solve this problem?