Tool/software:
Hi team,
I'm working on flashing a program via SWD. I've followed the steps outlined in ARM Debug Interface Architecture Specification (IHI0031), specifically section 5.3.4 (Leaving Dormant State). I’m able to successfully halt the CPU and read the ID.
According to section 5.3.2 of the TRM, I selected APSEL = 0x2 to access the Debug Mailbox. However, I’m unable to read or write to the TXD and RXD registers.

Here are my questions:
-
How do I enable SACI mode to access the Debug Mailbox (TXD, RXD) registers?
-
Is there a specific initialization sequence or a set of registers that need to be configured to enable SACI access?
-
Are there any relevant documents or examples that detail how to communicate with flash via the Debug Mailbox?
Any guidance or documentation references would be greatly appreciated.
Thanks you.


