Hi lev_vayner
Can you share how you resolved this. I am trying to do the same thing.
I tried following the FirmwareReceiver library but the library has two examples and I cannot understand which example does what.
How do you process the .bin file and how do u load it to FLASH1.
All I have confirmed is that I can program flash0 or flash1 from arduino after modifying some files following How possible compile a binary for Arduino Due that can run from flash BANK1? - Arduino Due - Arduino Forum and I can boot to FLASH 1 from FLASH0 and vice versa.
How were you able to read from sd card to program FLASH1??
Thanks