Firmware does not run properly after stop and start
Hi,
I'm currently working with the STM32MP157-DK2.
I built a firmware to run on the Cortex M4.
To load/start/stop the firmware by the A7 I use :
echo -n "firmware_name" > /sys/class/remoteproc/remoteproc0/firmware
echo -n start > /sys/class/remoteproc/remoteproc0/state
echo -n stop > /sys/class/remoteproc/remoteproc0/state
So far it works fine.
If I run the firmware the first time after a reboot all works fine. But if I stop the firmware, load and start again it begins to run and hangs up.
periphery the fw uses: SPI, GPIO, TIM, DMA, DDR, UART
third party: openAMP, FreeRTOS, virtUart, RESMGR_UTILITY
Is it possible to reset M4 and the peripherals without rebooting A7?
thanks in advance
regards
Lukas
