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.

MCU-PLUS-SDK-AM243X: Enable TCMA and TCMB with 64 KB each or SingleCore-application

Part Number: MCU-PLUS-SDK-AM243X


Hallo,

as once asked in the related question We want to use the 64KBs of TCMA and TCMB each. For this Sri Vidya already showed a possible solution.

Since we had no time to care about this till now the solution seemed appropriate for that time. But now we want to use the SDK for multiple different products, also ones which use more than one core so modifying the bootloader_soc.c is not a solution for us, since this means all products building on the sdk are then configured single core.

We may workaround this with replacing the function for single-core-builds via symbol-redefinition.

As also mentioned in the mentioned thread by prasad: https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1118671/am2634-how-to-enable-r5f0-0-r5f0-1-with-qspi-boot-mode/4146851#4146851

Sri wrote: "The SBL will switch to Dual core or continue in lock step mode depending on whether App Image loaded by SBL contains the R5 Core 1 image or not."

Since I need to modify the bootloader-source-code for AM243-SDK according to Sri, I guess this does not work for the AM243? We need a solution that is applicaple without modifying the SDK-code.

Also since we have some devices without a bootloader on it, we need to be able to load the single-core application, and so with 64KB filled code and data in TCMA and TCMB, via CCS. So a gel-script or js must be capable of configuring the SoC to Single-Core-Mode. in the related thread Sri mentions that this is not possible.

But is there in fact the possibility for a solution for this?

The current status is, that I can set the MPUs to see 64KB instead of 32 for each TCM and also inside the linker script the memory is correct assigned in size. But the load cia CCS fails as soon as it wants to load into the TCMs greater than the 32 KB.

it states:

So it will be good to have a soluation here.

Best regards

Felix