Hi Mahalakshmi,
- .sof used during JTAG configuration programs the CRAM only and does not contain ICB settings or CFM. We can use compression if the sof file is not fitting. While programming internal flash we have to check the hardware image size, refer to the .map file generated during .pof file generation.
- Refer section 1.7.4 of an741 Updating Image and Triggering Reconfiguration using UART.
Examples:
https://fpgacloud.intel.com/devstore/platform/15.1.0/Standard/i2c-remote-system-update-example/
https://fpgacloud.intel.com/devstore/platform/15.0.0/Standard/max10-remote-system-upgrade-rsu-over-uart-for-nios-ii-processor/
Regards
Anand