cancel
Showing results for 
Search instead for 
Did you mean: 

IAC exceptions when launching M33 core

nielsenni101
Associate II

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?

1 REPLY 1
Olivier GALLIEN
ST Employee

Hi @nielsenni101 ,

Seems you are trying to start an unsigned .elf while by default OpenSTLinux requires a signed binary. 

Note also that running M33 firmware requires appropriate Riff configuration. 

In Starter package you might use m33-exemples flavor of tsv. 

Please check Wiki : 

Modify, rebuild and reload the firmware - stm32mpu

Hope it help 

Olivier 

 

 

 

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.