2021-09-30 05:19 PM
I've started xpack-qemu-arm binary under windows with command :
.\bin\qemu-system-gnuarmeclipse --verbose --verbose --board STM32F4-Discovery --mrecu STM32F407VG --gdb tcp::1234 -d unimp,guest_errors --semihosting-config enable=on,target=native --semihosting-cmdline blinky
and get this error when connecting to external DBG server from CubeIDE :
> Error in final launch sequence:
>
> Failed to execute MI command: target remote localhost:1234
>
> Error message from debugger back end: Non-stop mode requested, but
> remote does not support non-stop Failed to execute MI command: target
> remote localhost:1234
>
> Error message from debugger back end: Non-stop mode requested, but
> remote does not support non-stop Non-stop mode requested, but remote
> does not support non-stop
Any hint what could fix the problem ?
Thanks, regards,
Rob.
2021-10-01 03:16 AM
Hello Rob,
You could try to untick the "Live Expressions" box in your Debug Configuration.
That should disable the non-stop mode in the GDB client to be compatible with what qemu seems to expect.
Let me know if it helps!
2021-10-01 12:30 PM
Hello,
great tip. Yes, it did solve non-stop mode request error.
But then I run into another problems, but got it working - brief instructions :
void SystemInit(void)
{
/* FPU settings ------------------------------------------------------------*/
// #if (__FPU_PRESENT == 1) && (__FPU_USED == 1)
// SCB->CPACR |= ((3UL << 10*2)|(3UL << 11*2)); /* set CP10 and CP11 Full Access */
// #endif
Thanks.
2022-05-19 01:49 PM
Hello,
the problem is back... I cannot get it to work, because "Could not verify ST device!" appears again under same settings that did work before...
It seems that ST check is started regardless of using OpenOCD...
In xpack QEMU GDB server shows these two lines when ST device is checked :
Execute 'mon WriteDP 0x2 0xF0'.
... connection accepted from ipv6 host.
Can I somehow prevent (switch off) ST device checking - probably QEMU is not responding to this check....
Thanks,
bully.