Other Parts Discussed in Thread: SYSCONFIG, UNIFLASH
Tool/software:
Hi experts,
Our customer ran into boot issue on custom board. The SDK is 11.0. Below is the details:
1. The EVM board can boot via SBL_UART and SBL_SD methods.
SD Boot: The tiboot3.bin used is built from the AWE SDK project shown below.
UART Boot:
After successful connection, JTAG can connect to all cores.
2. When replacing the SD card’s tiboot3.bin with sbl_null.release.hs_fs.tiimage from: freertos_sdk_am275x_11_00_00_16\tools\boot\sbl_prebuilt\am275x-evm, initialization logs are visible via the WAKEUP-COM port in TI EVM.
However, with the similar implementation, no logs observed on the WAKEUP core COM port in custom board.
JTAG connects only to the WAKEUP R5F core (other cores inaccessible) at this time.
After debugging sbl_null_am275x-evm_wkup-r5fss0-0_freertos_ti-arm-clang project, it stalls during SciClient initialization.
When using the tiboot3.bin
from the AWE SDK project, JTAG connects only to the WAKEUP R5F core. ospi_flash_diag_am275x-evm_wkup-r5fss0-0_freertos_ti-arm-clang can run normally
However, sbl_null still stalls at Sciclient_WaitforbootNotification.
3. The JSON configuration file from OSPI Diag fails to load in CCS SysConfig.
Json file is as below. Please help to check
{ "flashSize": 67108864, "flashPageSize": 256, "flashManfId": "0x9D", "flashDeviceId": "0x601A", "flashBlockSize": 65536, "flashSectorSize": 4096, "cmdBlockErase3B": "0xD8", "cmdBlockErase4B": "0xDC", "cmdSectorErase3B": "0x20", "cmdSectorErase4B": "0x21", "protos": { "p111": { "isDtr": false, "cmdRd": "0x03", "cmdWr": "0x02", "modeClksCmd": 0, "modeClksRd": 0, "dummyClksCmd": 0, "dummyClksRd": 0, "enableType": "0", "enableSeq": "0x00", "dummyCfg": null, "protoCfg": null, "strDtrCfg": null }, "p112": { "isDtr": false, "cmdRd": "0x3C", "cmdWr": "0x02", "modeClksCmd": 0, "modeClksRd": 0, "dummyClksCmd": 0, "dummyClksRd": 8, "enableType": "0", "enableSeq": "0x00", "dummyCfg": null, "protoCfg": null, "strDtrCfg": null }, "p114": { "isDtr": false, "cmdRd": "0x6C", "cmdWr": "0x34", "modeClksCmd": 0, "modeClksRd": 0, "dummyClksCmd": 0, "dummyClksRd": 8, "enableType": "2", "enableSeq": "0x00", "dummyCfg": null, "protoCfg": null, "strDtrCfg": null }, "p118": { "isDtr": false, "cmdRd": "0x7C", "cmdWr": "0x84", "modeClksCmd": 0, "modeClksRd": 0, "dummyClksCmd": 0, "dummyClksRd": 0, "enableType": "255", "enableSeq": "0x00", "dummyCfg": null, "protoCfg": null, "strDtrCfg": null }, "p444s": { "isDtr": false, "cmdRd": "0xEB", "cmdWr": "0x02", "modeClksCmd": 0, "modeClksRd": 2, "dummyClksCmd": 0, "dummyClksRd": 4, "enableType": "2", "enableSeq": "0x04", "dummyCfg": { "isAddrReg": false, "cmdRegRd": "0x00", "cmdRegWr": "0x00", "cfgReg": "0x00000000", "shift": 0, "mask": "0x00", "bitP": 0 }, "protoCfg": { "isAddrReg": false, "cmdRegRd": "0x00", "cmdRegWr": "0x00", "cfgReg": "0x00000000", "shift": 0, "mask": "0x00", "bitP": 0 }, "strDtrCfg": { "isAddrReg": false, "cmdRegRd": "0x00", "cmdRegWr": "0x00", "cfgReg": "0x00000000", "shift": 0, "mask": "0x00", "bitP": 0 } }, "p444d": { "isDtr": false, "cmdRd": "0xEB", "cmdWr": "0x02", "modeClksCmd": 0, "modeClksRd": 2, "dummyClksCmd": 0, "dummyClksRd": 4, "enableType": "2", "enableSeq": "0x04", "dummyCfg": { "isAddrReg": false, "cmdRegRd": "0x00", "cmdRegWr": "0x00", "cfgReg": "0x00000000", "shift": 0, "mask": "0x00", "bitP": 0 }, "protoCfg": { "isAddrReg": false, "cmdRegRd": "0x00", "cmdRegWr": "0x00", "cfgReg": "0x00000000", "shift": 0, "mask": "0x00", "bitP": 0 }, "strDtrCfg": { "isAddrReg": false, "cmdRegRd": "0x00", "cmdRegWr": "0x00", "cfgReg": "0x00000000", "shift": 0, "mask": "0x00", "bitP": 0 } }, "p888s": null, "p888d": null, "pCustom": { "fxn": null } }, "addrByteSupport": "1", "fourByteAddrEnSeq": "0xA9", "cmdExtType": "NONE", "resetType": "0x30", "deviceBusyType": "1", "cmdWren": "0x06", "cmdRdsr": "0x05", "srWip": 0, "srWel": 1, "cmdChipErase": "0xC7", "rdIdSettings": { "cmd": "0x9F", "numBytes": 5, "dummy4": 0, "dummy8": 0 }, "xspiWipRdCmd": "0x00", "xspiWipReg": "0x00000000", "xspiWipBit": 0, "flashDeviceBusyTimeout": 80000000, "flashPageProgTimeout": 320 }
Best Regards,
Xingyu Zhu