You may observe "Error code: 0xF004C002" in SDM Debug Toolkit while performing Remote System Update (RSU) to an application image compiled in Intel® Quartus® Prime Pro Edition software version 21.1 with a decision firmware compiled in version prior to 21.1.
To work around this issue, there are 2 options to update the decision firmware in flash:
a. Update decision firmware Factory image
quartus_pfg –c <input.sof> <output.rpd> -o mode=ASx4 rsu_upgrade=ON
b. Update decision firmware only
quartus_pfg –c <input.sof> <output.rpd> -o mode=ASx4 rsu_upgrade=ON –o firmware_only=1
For detailed guideline of updating the decision firmware and Factory image, refer to Intel® Stratix® 10 Configuration User Guide or Intel® Stratix® 10 Hard Processor System Remote System Update User Guide.