So starting with the problem: After reading through the application note www.ti.com/.../spma075.pdf I am trying to program a custom board using the EK-TM4C123GXL on-board ICDI. I get the error "Could not initialize target device! Please power cycle the board and try again"
However, using my J-Link debugger, I am able to detect the SWD device and apparently program it. But this seemly "locks" the device. I am unable to connect in debug mode or flash it again. I still have not been able to fix this problem. (I've tried LMFlashProgrammer.) At this point I'm thinking that might be able to be avoided, if I can get to debugging with ICDI. (My attempt with programming using the ICDI is on a fresh custom board).
Being able to flash the custom board using J-Link, in addition to checking and seeing all the VDD VDDA VDDC pins are at the correct voltages, should be an indicator that the custom board is good. (or should it?)
So I'd like to ask: Firstly, if anyone, that has successfully used the EK-TM4C123GXL on-board ICDI to debug an custom board, can verify it works with SWD and not only JTAG, and that no external oscillator on the custom board is required. Any other tips/information for this use case in addition to the application note would be appreciated.
I don't think the problem is pin mismatch from the custom header connections for the on-board ICDI. Other than the power rail pins on the custom board, and the fact that I can programming it using a J-Link debugger, I can think of any conclusive test to determine that the custom board is good or bad...