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.

TDA4VM: How to add support for new Flash Device in RTOS SBL SDK8.6

Part Number: TDA4VM

Hi

We used the new flash on TDA4 to replace the original MT35XU512ABA,

I made the following changes on the RTOS, 

1.psdkra\pdk_jacinto_08_06_00_31\packages\ti\board\src\flash\nor\device\m35xu512.h

Modified NOR_MANF_ID and NOR_DEVICE_ID to match the new flash

Modified NOR_BLOCK_SIZE and NOR_SECTOR_SIZE to match the new flash

2.psdkra\pdk_jacinto_08_06_00_31\packages\ti\board\src\flash\include\board_flash.h

Modify BOARD_FLASH_ID_MT35XU512ABA1G12 to match the new flash

3.psdkra/pdk_jacinto_08_06_00_31/packages/ti/drv/spi/soc/j721e/SPI_soc.c b/psdkra/pdk_jacinto_08_06_00_31/packages/ti/drv/spi/soc/j721e/SPI_soc.c

Modify ospiInitCfg device block size to match the new flash

---------------------------------------------------------------------------------

After the above changes, the flash opens successfully, but when the Sciclient_loadFirmware function is executed, it prints "TIFS load... FAILED \n"

I checked the function SBL_ReadSysfwImage, after opening the flash device, I executed SBL_SysFwLoad(should copy the ospi.tifs.bin firmware from flash),

I printed the pBuffer locally and found that it was not copied correctly to the firmware.

May I ask if there is any omission in the above modification for the replacement of flash? Please help to analyze it. Thank you very much.