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.

LP-AM243: Multi partition bootloader

Part Number: LP-AM243

Hello,

On AM243x LP when IPC example it worked but when trying to use multi partition bootloader on multi core project the terminal output is as following

What the causes of such problem and how to fix it ?

  • Hello Ahd Borham,

    I am looking at your queries and you may expect reply by today .

    Regards,

    S.Anil.

  • Hello Ahd Borham,

    Sorry for the delayed response.

    I am trying to understand what the procedure was done here.

    You put the Hw in UART boot mode and send the default app images of uart un*iflash, sbl multi partition app image and all application images.

    Did you modify any applications ? Or are you trying to flash all the default applications ?

    So, based on the above image, SBL is trying to read the app image of R5F1-1 with DMA from OSPI at the 0x60200720 location is creating the issue.

    So, please share the above details to debug the issue further.

    Do Power ON Reset and try to send same app images through UART boot mode and see if you have an issue or not.

    Regards,

    S.Anil.

  • Hello S.Anil,

    I followed the steps here file:///C:/ti/mcu_plus_sdk_am243x_09_01_00_41/docs/api_guide_am243x/EXAMPLES_DRIVERS_SBL_OSPI_MULTI_PARTITION.html for the IPC example and it worked as expected, then I changed the app images for the 5 cores with my project (which is a modified empty example) and refollowed the steps again and this error has appeared.

    I already boot using UART boot mode and this is the error 

  • Hello Ahd Borham,

    Is it possible to share your project to debug the issue ?

    As of now, I don't have any idea why your SBL is facing problems with R5F1_0 Application loading in the DMA  side ?

    Along with share your sbl_ospi_multipartion .cfg file ?

    Regards,

    S.Anil.

  • Hello S.Anil,

    How can I share the project with you ?

    Thank you

  • Hello S.Anil,

    Those are the zip files for the project and SBL image

    sbl.zip7635.Project.zip

  • Hello Ahd Borham,

    I have downloaded your projects and give me today time and I can try to provide reply by tomorrow.

    Regards,

    Anil.

  • Hello Ahd Borham,

    I am able to reproduce the issue, and it is purely issues with the SBL multi parttion example cfg and SBL multi partittion cfg files.

    Please try the SBL app image below in your application and I have confirmed at my side, and it is working fine.

    I have enabled DMA and PHY mode and operating frequency to 166Mhz, which are used in the ospi sbl application and the same settings should be used for sbl ospi  multipartition as well . I assume that this was the missed in sbl ospi multipartition. As of now you can take cfg settings the in your application and see if you are able to run all applications. 

    Meanwhile, I can discuss with the development team and will raise the defect if these changes are missed to take in the sbl ospi multipartition app image.

    sbl_ospi_multi_partition.Debug.hs_fs.tiimage

    Regards,

    S.Anil.

  • Hello Anil, 

    This system configuration changes is in the project or in the SBL, and if in the SBL shall I use the SBL image you sent or what ?

    when I made the changes you told on the default_sbl_ospi_multi_partition.cfg and used the sbl image you sent the following has produced 

  • To note down, in the sbl image I've sent to you, the DMA and PHY mode was enabled , and when I tried it with IPC example it worked well, but when used it with my project it didn't, while when I used the sbl image that you sent to me gives the same output for the two projects (IPC and My project) were the same as the last snap I've sent to you.

  • To note down, in the sbl image I've sent to you, the DMA and PHY mode was enabled ,

    Hello Ahd Borham,

    Actually, with your SBL app image and by default, SBL ospi multi-partiton image which is available in MCU+SDK, then SBL itself gets stuck and is not able to jump to the application.

    Then I looked at the SBL OSPI Multipartition code and updated DMA and PHY enables and added PHY app image in the cfg file.

    After that, I am able to run all your empty examples.

    In the above I have verifed with updated SBL plus your changes which is working .

    I have attached my OSPI multi partion project for your reference.

    sbl_ospi_multi_partition_am243x-evm_r5fss0-0_nortos_ti-arm-clang.zip

    Please confirm one more time with the above SBL plus your application changes.

    Add phy tuning image to the cfg file as well.

    Regards,

    Anil.