0

Where can I find the SWD (Single Wire Debug) specifications for the MAX32660? I searched the user guide and data sheet, but could not find key SWD parameters such as signal timing, which features it supports (such as packed transfers), etc.?

ARM's SWD spec says that these parameters are "implementation dependent". Should we not therefore expect to find them in the MAX32660 user guide? Or perhaps a supplemental SWD programming guide from ADI (formerly Maxim)?

(Or is this information exclusively provided to a certain company that shall remain unnamed and sells $1,000 SWD programmers?)

personal_cloud
  • 317
  • 4
  • 11

1 Answers1

0

Signal waveforms are completely specified by ARM, apart from SWCLK rate. Maxim/AD could have specified max SWCLK rate, but it seems they didn't. You could probably discover this with a probe using increasing frequencies until it fails, though.

For the rest, this part uses a Cortex-M4F, which is entierely defined in ARM's Cortex-M4 TRM (DDI0439).

If you require to dynamically discover implemented features, M4F is an implementation of ARMv7 architecture, and everything can be enumerated through registers (See ARMv7-M ARM (DDI0403), chapter B4).

Debug Port (DP) features depend on its version (see ADI v5 (IHI0031) chapter 2.2).

Mem-AP features are defined through CSW and CFG register (IHI0031, chap 7.6.3, 7.6.4).

The same goes for other Coresight components (FPB, DWT, etc). They can be enumerated through ROMTables. This is defined in DDI0314.

Nipo
  • 1,315
  • 8
  • 9