hi,
you can use CW v5.1 with full chip simulation mode to simulate program without connecting a board.
launch debugger with "full chip simulation" as a connection

for more, you can refer attached doc for how to create,build and debug.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------