Generally, the TMC Error of the newer Ender 5 Pro machines is the result of faulty firmware. All you need to do is locate the version of the mother board (open the machine – while unplugged from the outlet – and find the version inscribed on the board itself), go to the downloads page off Creality’s website, download the appropriate firmware (based on the motherboard’s version). Once downloaded, plug in your machine, follow instructions on how to flash firmware, then flash the firmware to the printer. Printer should operate normally.
The file would be named: Ender 5 Pro Endstop file (this is for machines without a BLTouch). If you have a BLTouch, then the file name would include “BLTouch”
You can find the downloads right on Creality’s Download page: Download | Creality 3D