Other Parts Discussed in Thread: SEGGER
It seems I've started having some difficulty with programming one of my (custom) boards. The processor on the board is a TM4C1294N, I'm not sure if it matters just yet. Everything was working well until I switched my debugger settings to connect without loading a program, without halting the processor, so that I could look at the contents of certain values in RAM for some debugging tasks. The following problems started after I tried to switch the debugger setup back to loading code. I even tried a previous GIT commit that was working correctly (I'm tracking the .cprojects folder) but no luck.
When I hit the debug button I get an error saying "Target must be connected before calling the function". I believe this is from the GEL file, who's output is below
CORTEX_M4_0: GEL Output: Memory Map Initialization Complete CORTEX_M4_0: GEL: Target must be connected before calling the function
If I switch my debug configuration back so that I just connect and load symbols, I'm able to connect to the target and see the contents of RAM update live. Yet when I go to Run > Load > Load Program, I get the same error saying "Target must be connected before calling the function". Which is odd since I'm connected to the target. What does this error mean?
Restarting CCS, reconnecting the JTAG, and power cycling the target don't seem to help. Does anyone have any idea what might be wrong?