I found that uart in microbit v2 has a problem if I follow the following steps.
(1)
Connect to microbit v2 by using putty,
(2)
Reset the microbit v2's power.
(3)
Connect to microbit v2 by using putty,
You can find that microbit v2 cannot work correctly.
https://youtu.be/ZrAsxoCKZTo