hi @lukaszadrapa ,
Current configuration -
1. custom boot loader is flashed from the address - 0x00000000
2. linker files of the application code is modified to write it to the FlexNVM location from 0x10000000.
While debugging further I had a few observations, which I would like to state here.
I saw this particular statement "FTFx_FSTAT |= FTFx_FSTAT_CCIF_MASK;" in the function definition
"flash_drv_status_t FlashCommandSequence(const flash_ssd_config_t * pSSDConfig)", which sets the CCIF flag before the operations in the flash.
1. If the above statement is commented, even if all the functions for flash write are executed, actual write to the memory doesn't happen. I verified that the write does not happen using the jtag debugger by checking the memory address '0x10000000'. In this state, UART and all other functionalites works fine, my application in the pc receives proper ack from MCU, and sends next phrase in the SREC file, until the end of file.
2. if the above statement is executed, writing of the first phrase in the SREC file to the specified memory location happens. But after that the register reads/ UART functionalities fail.
Please let me know if any additional information is required to debug this issue.