2022-12-15 01:15 AM
Hi,
We want to boot cortex M4 from cortex A7 in baremetal in RETRAM. We have followed below steps
1.we are setting BOOT MCU bit in RCC global control register(Offset :0x10C).
2.I am restting MCURST bit in RCC global reset control set register(offset:0x404).
3.setting MCU Boot enable bit in RCC boot control register.
am i doing in correct way or not? if not can you tell the procedure of waking up the cortex M4 from cortex A7 in RETRAM.
2022-12-20 05:46 AM
Hi @Srikanth
you should have a sequence similar to:
Regards,
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
2022-12-23 03:28 AM
Thanks for reply
we will check and let you know.
2023-01-04 05:24 AM
Follow up seems in this post: https://community.st.com/s/question/0D53W0000216LZ7SAM/waking-up-cortex-m4-from-cortex-a70-in-stm32mp1-for-bare-metal
If related to same topic, better in future to stick to one post.
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
2023-01-05 05:43 AM
Hello @PatrickF
Thanks for the reply.
We followed as per your suggestion.
In uboot we followed below steps.
1.rproc init
2.we copied image to RETRAM(0x38000000) manually.
3.Instead of rproc start command we written BOOT_MCU bit to set manually.
It is working fine.
In bare metal we followed step2 and 3 in above uboot sequence.
We have one quarries,
1.In rproc init command what is happening? Can you just help us in this regards?
2.how can we keep MCU in Csleep mode?
3.How can we reset the MCU?
4.How do we know whether reset is asserted or not?
Regards
Srikanth
2023-01-06 04:35 AM
Hi,
Regards.