Hi,
I have tried to write SRAM0 with the address 0x2000_0000 with a pointer based on MCUXpresso tools, SDK and LPC54628 board, no problem.

AS you can see that I can write 0x2000_0000 with 0x12345678
BTW, note that the high address of SRAM2 is used as stack, pls do not try to overwrite the stack, otherwise, the chip may crash.
Hope it can help you
BR
XiangJun Rong