I would like to program TI TM4C123AE6PM device. We referred to the datasheet to test TM4C123AE6PM, and we could use SWD interface to read SWDID (0x2BA01477), but the next steps seemed didn’t respond. We tried to read "DID0(0x400FE000)" & "DID1(0x400FE004)", but what we read out were all "0xFFFFFFFF".
Below are our test sequences for Erase function:
a. Power_on (VDD set 3.3V).
b. send 50 pulse to SWDCK(SWDIO set hi) and 0xE79E.
c. send 50 pulse to SWDCK(SWDIO set hi).
d. read SWDID (0x2BA01477).
e. send ABORT (0x0000001E) & DP-CTRL/STAT(0x50000000) & DP-AP-SELECT(0x00000000) & AP-CTRL/STAT(0x23000012).
f. Enable Debug : write 0xA05F0003 to 0xE000EDF0
g. Reset : write 0xA05F0004 to 0xE000ED0C
h. Halt : write 0xA05F000Bto 0xE000EDF0 and delay 50ms.
i. write 0xA4420004 to FMC,and poll the FMC register until the MERASE bit is cleared.
I read FMC for several times but what I read out were all "0xFFFFFFFF", I think I can’t access AHB-AP. Could someone can help to check it for me? Thank you.