I am attempting to write a value to SRAM on an LPC1114 using SWD (I will not be using ISP for this task). I have given the proper initialization sequence and read the correct IDCODE register. I have given both the system and debug power up requests and received correct ACKs back.
At this point I am attempting to write a value to SRAM by writing the address to the TAR register and the value to the DRW register. I have attempted to read the DRW register afterwards followed by a read to the RDBUFF register (as I understand it, the read to DRW is actually returned with the read to RDBUFF). However, both reads return all zeroes.
All other register setting are their defaults.
TRNCNT is 0
MASKLANE is 0
TRNMODE is 0
ORUNDETECT = 0
Are there additional steps necessary to read/write SRAM?
Thanks,