This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I built examples provided in MCUSW for SPI master(MCU 1_0 and slave(MCU 2_1) and merged using below command
MulticoreImageGen LE 55 app 4 mcspi_app_mcu1_0_release.rprc 7 mcspi_app_mcu2_1_release.rprc (Let me know if this command is correct or not)
But when I tried running from SD card, I am getting below error.
Also, I tried examples (MC SPI Slave mode ) provided in PDK (8.4.0.21). But they are not building.
Let me know how to resolve this
Hello,
I built examples provided in MCUSW for SPI master(MCU 1_0 and slave(MCU 2_1) and merged using below command
Can you please provide the command you used to build this demo? I want to verify the app that you built for each core.
MulticoreImageGen LE 55 app 4 mcspi_app_mcu1_0_release.rprc 7 mcspi_app_mcu2_1_release.rprc (Let me know if this command is correct or not)
If you are using SDK 8.4, you will need to use the following CORE IDs for the your MulticoreImageGen script:
13 # MCU1_CPU0_ID : 8
14 # MCU1_CPU1_ID : 9
15 # MCU2_CPU0_ID : 10
16 # MCU2_CPU1_ID : 11
17 # MCU3_CPU0_ID : 12
18 # MCU3_CPU1_ID : 13
19 # MCU4_CPU0_ID : 14
20 # MCU4_CPU1_ID : 15
You can find these in the following folder: ti-processor-sdk-rtos-j721e-evm-08_04_00_06/pdk_jacinto_08_04_00_21/packages/ti/boot/sbl/tools/scripts/K3ImageGen.sh
So your modified command would look like this:
MulticoreImageGen LE 55 app 8 mcspi_app_mcu1_0_release.rprc 11 mcspi_app_mcu2_1_release.rprc
Regards,
Erick
Hello Erik,
Thanks.
After changing MulticoreImageGen command, I am not getting that issue. But still demo is not running. It is stuck as shown in below picture.
Please find the commands used to build demo application.
gmake -s mcspi_app CORE=mcu2_1
and
gmake -s mcspi_app
One more update.
I used only MCU2_1 binary and it is trying to transmit. But it is stuck at Async transmit in progress as shown in below figure.
As per code it is waiting for Job or sequence to complete and stuck in infinite loop. Can you let me know why this could be happening and how to resolve?
I debugged further in SBL and found that while setting ATCM with 0xff for Core 11 (MCU 2_1) it is stuck there and not coming out.
Please check the image below for UART logs.
What could be the reason to get stuck while setting memory?
Hi Ajay,
Can you also try running the MCU1_0 binary individually and see if it is coming up. We need to confirm if it's issue with multi core image or with the mcu1_0 app itself.
Regards,
Parth