I tried to update the WHD firmware on the Edgi-talk board. But msh CLI didn't work in the XiaoZhi example:
But when I tried to copy and paste "whd_res_download whd_firmware", msh CLI got scrambled text as command.
Build environment:
RT-Thread IDE 2.3.0 and BSP 1.2.1.
XShell 8 for terminal
I have screenshot but can not upload into this post.
This looks like a terminal/paste encoding issue rather than an RT-Thread problem.
Try:
Set XShell to UTF-8 encoding
Disable “smart/fast paste” options
Test with another terminal (PuTTY / Tera Term)
Paste into a plain text editor first to remove hidden characters
Since help works but pasted commands break, it’s very likely extra hidden characters are being added during paste.
I can see how frustrating it would be when the msh CLI behaves differently depending on whether commands are typed or pasted. The scrambled text from whd_res_download whd_firmware makes me wonder whether terminal settings, baud rate, or paste handling could be affecting the input. I would also compare the behavior with a shorter command to determine whether the issue is related to command length or specific characters. Slope Rider is far removed from RT-Thread firmware work, but I always find these kinds of debugging problems interesting. I hope you can identify the cause and get the WHD firmware update working properly.