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.

AM263P4: ROM bootloader is not copying SBL from FLASH to RAM at 0x70002000

Part Number: AM263P4
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

Hello Team,

We are working on customized SBL, SBL is working from RAM with out any issue.

But it is not copying to RAM, when it is flashed to external flash.

-> MCAL_AM263P_09.02.00, SDK -> mcu_plus_sdk_am263px_09_02_00_56

We are using below command to create TI image for our SBL, referring SDK examples make files.

python TI_Image/mcu_rom_image_gen.py --image-bin ../output/bin/ARM_AM263PX_BootManager.bin --core R5 --swrv 1 --loadaddr 0x70002000 --sign-key TI_Image/mcu_gpkey.pem --out-image ARM_AM263PX_BootManager0.tiimage --debug DBG_SOC_DEFAULT

Following script(sbl_ospi.cfg) used to flash it onto OSPI external flash.

# First point to sbl_uart_uniflash binary, which function's as a server to flash one or more files
--flash-writer=TI_Boot/sbl_uart_uniflash.release.tiimage

# When sending bootloader make sure to flash at offset 0x0. ROM expects bootloader at offset 0x0
--file=ARM_AM263PX_BootManager.tiimage --operation=flash --flash-offset=0x0

Following command for flashing

python TI_Boot/uart_uniflash.py -p %COM_PORT% --cfg=TI_Boot/sbl_ospi.cfg

Flashing data is visible at 0x60000000(referred as 0x0)

I have tried same process with Pre-Built SBL images(sbl_ospi.release.tiimage) in SDK, and not working

I am stuck here from last two weeks.

Could you please provide me any inputs to debug the issue.

Kind regards,

Hari krishna Kaki