Hi
I'm want to test the SBL multicore mailbox example under "ti_components\drivers\pdk_01_08_00_16\packages\ti\boot\sbl_auto\examples\sbl_multicore_mbx\tda2xx"
I generated a AppImage combined with A15 and EVE1 output file by "MulticoreImageGen_tda2xx.bat".
The result is good:
Multicore Mailbox app - MPU-Core0 Master core
EVE1 boot-up successfully
But after reading the src file "sbl_mbx_mpu_cpu0.c" i found that both "Multicore Mailbox app - MPU-Core0 Master core" and " EVE1 boot-up successfully" are output from A15, and EVE1 just send a message to A15 in its main function with output nothing to UART.
My question is how to output logs from EVE directly?
I have tested the following ways, but there are not work:
1 C language's printf
in the "sbl_mbx_eve1.c"
void main(void) {
uint32_t msg = 'D'
printf("EVE1 main\n");
/* Wait for message from MPU */
while (MESSAGE_INVALID ==
MailboxGetMessage(SOC_MAILBOX2_BASE, MAILBOX_QUEUE_6, &msg)) ;
/* Send ack message to MPU */
MailboxSendMessage(SOC_MAILBOX9_BASE, MAILBOX_QUEUE_0, 0xAA55FF00);
while (1) ;
}
here, no output logs from printf function.
2 UARTConfigPuts()
Just like "sbl_mbx_mpu_cpu0.c", i add UARTConfigPuts() in the "sbl_mbx_eve1.c":
void main(void) {
uint32_t msg = 'D';
UARTConfigPuts(uartBaseAddr,"\r\nEVE1 main UARTConfigPuts\r\n ", -1);
/* Wait for message from MPU */
while (MESSAGE_INVALID ==
MailboxGetMessage(SOC_MAILBOX2_BASE, MAILBOX_QUEUE_6, &msg)) ;
/* Send ack message to MPU */
MailboxSendMessage(SOC_MAILBOX9_BASE, MAILBOX_QUEUE_0, 0xAA55FF00);
while (1) ;
}
But, UARTConfigPuts also did not work.
So, how to output logs from EVE directly?
Thanks
xuanbo