Part Number: TMDSCNCD263P
Other Parts Discussed in Thread: UNIFLASH
Tool/software: MCU_PLUS_SDK 10.01.00.34
Hello,
The latest SBL (sbl_ospi.release.tiimage) expects the application to be flashed at offset 0x81000, i.e. similar to GUI UniFlash:

I want to emulate this with project 'sbl_can_uniflash_am263px-cc_r5fss0-0_nortos_ti-arm-clang'.
However, I make the following change in 'default_sbl_can_uniflash_app.cfg'
--file=myFile.appimage --operation=flash --flash-offset=0x81000
However, when I debug 'sbl_can_uniflash' I can see that the following test is always true in Bootloader_uniflashFlashFile():
if((status == SystemP_SUCCESS) && ((flashOffset % eraseBlockSize) != 0))
{
/* Only flash to offsets which are a multiple of blockSize */
status=SystemP_FAILURE;
}
This is because flashOffset (0x81000) is not a multiple of blockSize. Of course, it works just fine if --flash-offset=0x80000.
<Question>
Can project 'sbl_can_uniflash' be used to flash my application at 0x81000 to match the SBL expected offset? If so, what should be the contents of 'default_sbl_can_uniflash_app.cfg'?
Thank you.


