Could not find Cortex-M device in the JTAG chain. Tiva C LaunchPad

Tiva C LaunchPad:
I found this issue is posted in many places with no answer. The answer is due to the slide switch is moved from debug to device. So slide the witch from Device to Debug position.

More questions in this forum