cancel
Showing results for 
Search instead for 
Did you mean: 

RCC is not working on stm32mp257dak3 on custom SoM

RJL
Visitor
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?

Currently i am trying to run my code on m33 and at a35 i have my linux image flashed 
0 REPLIES 0