On Wed, 23 Apr 2025 at 14:06, 小马驹 <1353455...@qq.com> wrote:
>
> When I use mps2-an385 model on qemu, I found that it seems not support 
> getchar. I used the FreeRTOS official demo(mps2-an385-GCC-QEMU), then I tried 
> to use UART  to receive input strings from QEMU terminal, so I tried to use 
> getchar() function. However, some errors occurred in QEMU as shown below:
> qemu: fatal: Lockup: can't escalate 3 to HardFault (current priority -1)
> Is it means there are something wrong in the emulated board? And how to solve 
> the problem?

The UARTs on that board work fine. The error message means your
guest code took a fatal exception (i.e. it crashed). You should
start by debugging to find out why the crash happened, which
might or might not be related to the UARTs specifically.

thanks
-- PMM

Reply via email to