Øyvind Harboe wrote: >> If there is a reset init script and a reset_init command, of course the >> init script should be run. If I do a reset, there are many possible >> scenarios where I want to keep as much processor state as possible, so >> reset halt is a very reasonable bahiviour unless a different default reset >> behaviour is specified. > > I don't know what to make of the above. You are an expert on these > things, so you understand all the different types of resets and you > have all of them available to you.
I am not sure if I understood the beginning of this duscussion. It is important that I can switch during runtime what type of reset I want. I regularly need both: - reset with init script, to set up the CPU for flash updating - reset without init script, to debug the newly flashed bootloader, where I need to be sure that the bootloader and not openocd did the initializations. As long as I do not need to edit config files or restart openocd to switch between these two, that should be fine. For some work, it might be ueful to be able to switch between multiple different init scripts - reset halt might then be considered a special case with an empty init script. cu Michael _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development