Hi,
I am developing SBL with USB DFU download.
I used sbl_uart example project, I removed all serial download code, and I added USB download code. It created the tiboot3.bin file and I copied this file to SD card.
I am using AM243x-EVM hardware with SD boot mode. When turn power on the board, it starts the USB module and waits for the downloading image from PC.
I created a downloadable image with hello_world project. It created hello_world_am243x-evm_r5fss0-0_nortos_ti-arm-clang.appimage file after building project. I downloaded this .appimage file via USB.
My SBL USB successfully downloaded .appimage via USB. It calls below bootloader APIs without errors.
1. Bootloader_parseMultiCoreAppImage()
2. Bootloader_loadSelfCpu() for both Core0 and Core 1
Finally, it calls Bootloader_runSelfCpu() but bootloader doesn't run downloaded hello_world application.
Here is debug log for your reference:
USB download status=0, fileSize=38000
INFO: Bootloader_loadSelfCpu:203: CPU r5f0-0 is initialized to 800000000 Hz !!!
INFO: Bootloader_loadSelfCpu:203: CPU r5f0-1 is initialized to 800000000 Hz !!!
Calling Bootloader_runSelfCpu()
INFO: Bootloader_runSelfCpu:213: All done, reseting self ...
Please help to debug why bootloader is not running downloaded application.