Question: Is there a reason why the memory content 'regular' (SRAM) is loaded (X-packets) before the 'erased' blocks (FLASH)? The problem is that if you have a mixed project with some flash and SRAM writing the flashloaders used on target side can overwrite the SRAM content. E.g. ARM flash loaders Ok, this could be solved on target side by the GDB stub but we could also swap those two sections in GDB. It makes sense that we do first all the flashing etc after which we make the target ready for running and do the final RAM initialization. I have swapped it and it works for me.