On 29/05/2015 22:13, Liviu Ionescu wrote: >>> You can use -drive >>> if=mtd,snapshot=on,file=null-co://,file.size=128K to start QEMU >>> with a zero 128K NOR flash. > did someone else have a faint thought that: > > - the above syntax might be a bit too complicated or non intuitive?
Sure, this can be a problem. But then in the common case I suspect you want your flash to be non-zero at startup? > - specifying NOR flash might not be appropriate for defining the > internal flash for all Cortex-M MCUs? In what sense? Are there other kinds of flash than just NOR and NAND? (By the way, NOR would be if=pflash; mtd is NAND. I just picked a random one). Paolo > I know that this is mainly a linux shop, using large application > processors, but perhaps we can find a simpler way to accommodate the > slightly different MCU world.