Hello Kef,
Thank you for your answer. I had missed the fact that the HC12 went out of reset in normal mode with BDM disabled, which explains why the BGND instruction didn't work.
With this in mind, I found the following workaround for my problem : write an instruction bra * at the place I want my program to stop, instead of setting a breakpoint.
Now, after the reset generated when I press button 2 (i.e. wake up), the execution loops on the instruction bra *, and I can send the command Stop with the debugger. Then I set program counter to next instruction and begin stepping through my program. Sort of "poor man breakpoint".
Naturally, this is not ideal, as I have to modify my program before debugging, but at least I can debug ! Perhaps there is a better solution ?
Regards