AM261-SOM-EVM: AM261x-LP SBL OSPI multicore ELF example not booting (Uniflash)

Part Number: AM261-SOM-EVM
Other Parts Discussed in Thread: UNIFLASH, SYSCONFIG

Hello TI support team,

I’m trying to customize the sbl_ospi_multicore_elf bootloader for a custom board. I modified the SDK example from:
C:\ti\mcu_plus_sdk_am261x_11_00_00_29\examples\drivers\boot\sbl_ospi_multicore_elf\am261x-lp
but it doesn’t boot.

To isolate the issue, I tested first on the AM261x-LP LaunchPad. I built the unmodified example (also tested in Debug). It generates:
sbl_ospi_multicore_elf_am261x-lp_r5fss0-0_nortos_ti-arm-clang.tiimage

Using TI UniFlash, I flashed the generated sbl_ospi_*.tiimage and the hello_world_*.mcelf while the board was in DEVBOOT pin configuration (screenshot attached). After switching the boot pins to OSPIBOOT, I no longer see any output on the serial console.

image.png

Note: If I flash the prebuiltsbl_ospi_*.tiimage from TI, OSPI boot works correctly. Only the SBL image I build from the SDK example fails. 

Could you please advise what could be missing/misconfigured (boot mode, OSPI settings, image format/alignment, UniFlash steps, etc.) and why the TI example build might not boot on AM261x-LP?

 

  • Hi Parag, Let me get back on this.

  • Hello Nilabh,

    is there any update on this issue? 

  • Hi Parag,

    I checked this and was able to verify this, this looks like a sdk bug, let me raise this jira internally. It will be fixed in next sdk release.

    Allow me to get a root cuase for this and get you an working patch to get you unblocked.

  • Hello Nilabh,

    Thank you for your reply.

    I have downloaded the new mcu_plus_sdk_am261x_26_00_00_06 and I am currently working on the custom flasher and custom OSPI SBL.

    I worked on the following:

    1. OSPI_Flash_diag
      Path: C:\ti\mcu_plus_sdk_am261x_26_00_00_06\examples\drivers\ospi\ospi_flash_diag

      • Collected the SFDP data
      • Created the corresponding .json file
    2. Custom Flasher
      Path: C:\ti\mcu_plus_sdk_am261x_26_00_00_06\tools\flasher\jtag_uniflash\am261x-lp

      • Working with the 1s-1s-1s protocol on our custom board
      • Not working with the 8d-8d-8d protocol on our custom board
    3. Custom OSPI SBL
      Path: C:\ti\mcu_plus_sdk_am261x_26_00_00_06\examples\drivers\boot\sbl_ospi_multicore_elf\am261x-lp

    I first tested the flasher and OSPI SBL examples on the AM261x-LP evaluation board, and they work perfectly. Then I configured SysConfig according to the IS25LX512M flash, but it is still not working on our custom board.

    I am not sure what is missing or misconfigured. I think I need diagnostic support from your side.

    I look forward to your reply.