For a long time I had problems flashing bigger programs to a Coldfire via the bdmctrl program. It was randomly freezing while flashing.
While debugging I found out that the flashcfm plugin on the target processor does not finish/stop running. As I did not find the problem in the flashcfm plugin (which works perfectly in HOST_FLASHING mode), and because I think these kind of problems should also be addressed by bdmctrl, I created a patch to recover from this kind of flashing problems.
It's a bit hacky for now, but at least it works.
patch for m68k/flashlib/flash_filter.c to recover on problems while flashing