Hi Li,
Unfortunately, I don’t have here RD9Z1-638-4Li board, but I tested your project at our KIT9Z1J638EVM evaluation board.
I could load code into MCU and start to debug it.
So, the problem is rather on the hardware side.
Please check your BDM connection (mainly pin orientation) and MCU temperature (hot MCU typically means broken device).
Is anything connected to MCU?
The MCU needs external voltage source or battery for powering MCU.
I hope it helps you.
Have a great day,
Radek
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------