beckus / qemu_stm32

QEMU with an STM32 microcontroller implementation

Home Page:http://beckus.github.io/qemu_stm32/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

semihosting & gdb

ilg-ul opened this issue · comments

Hi Andre,

I did some tests with your STM32 version of QEMU and I'm impressed by the improvements, even SysTick seems functional :-)

However I have a problem, when GDB is connected to QEMU, the semihosting output is temporarily lost; after I disconnect GDB, the semihosting output resumes.

I know that this is not related to your added features, but in case you figure out how to fix it, I'd be happy to test it.

Regards,

Liviu

I am glad you like this project.  Yes, the SysTick works, although I cannot take credit for that part - it was already part of the core NVIC functionality in QEMU (although I did tweak it).
Thanks for letting me know about this.  When I have a chance, I will try and take a look.  I have never used semihosting, so would be interested in trying it out.  Do you have a guide or tutorial that you could recommend?  Unfortunately I am not familiar with the GDB or semihosting code, but I imagine it is complex.