No virtual UART device is generated & M4 gets stuck while initializing openamp
Hello,
previously, I had no problem setting up the virtual UARTs in the the Ac6 IDE using STM32CubeMX 5.3.0. With the new 5.4.0, the OpenAMP initialization change a bit so, obviously I enabled in the openamp_conf.h the UART HAL module driver (virt_uart.c).
With the generated code (Cube 5.4.0) the openamp initalization hangs the M4 when executing MX_OPENAMP_Init(). :
/* MCU Configuration--------------------------------------------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
/* USER CODE BEGIN Init */
__HAL_RCC_HSEM_CLK_ENABLE();
/* USER CODE END Init */
/* Configure the system clock */
SystemClock_Config();
/* IPCC initialisation */
MX_IPCC_Init();
/* OpenAmp initialisation ---------------------------------*/
MX_OPENAMP_Init(RPMSG_REMOTE, NULL);
What are the possibilities to debug this? I suspect, the CM4 cannot connect to the CA7. Thank you very much.
Thread #1 (Suspended : Signal : SIGINT:Interrupt)
metal_io_read() at io.h:223 0x10009a88
rproc_virtio_get_status() at remoteproc_virtio.c:66 0x10009c6e
rproc_virtio_wait_remote_ready() at remoteproc_virtio.c:326 0x10009f40
MX_OPENAMP_Init() at openamp.c:120 0x1000b7f6
main() at main.c:113 0x10000aa8
Reset_Handler() at startup_stm32mp157cacx.s:98 0x1000ccde
