1 / 14

ARM Serial Wire Debug (SWD) & Debug Access Port (DAP)

ARM Serial Wire Debug (SWD) & Debug Access Port (DAP). A quick overview! ( Be warned you may need to read the Manual ). Presentation Overview. What is SWD and the DAP? SWD Write Operations SWD Read Operations. SWD and DAP. Embedded Core Debug Functionality System Debug Functionality.

lyle-walker
Download Presentation

ARM Serial Wire Debug (SWD) & Debug Access Port (DAP)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ARM Serial Wire Debug (SWD) & Debug Access Port (DAP) A quick overview! (Be warned you may need to read the Manual)

  2. Presentation Overview • What is SWD and the DAP? • SWD Write Operations • SWD Read Operations

  3. SWD and DAP • Embedded Core Debug Functionality • System Debug Functionality

  4. SWD v JTAG (IEEE 1149.1)

  5. SWD and DAP

  6. SWD Write Operation

  7. SWD Read Operation

  8. Clear?

  9. Writing to system memory location

  10. Reading from system memory location

  11. Incremental SWD write operation • Writing the kernel to Flash information space. • Similar to previous SWD write procedure. • Write to AP CSW register before the TAR (bits [5:4]). • AP TAR will then auto-increment after each write to DRW. • No need to write to TAR after each write.

  12. Incremental SWD read operation • Reading a block of Memory (SRAM, Flash, etc….) • Similar to previous SWD read procedure. • Write to AP CSW register before the TAR (increment bits [5:4]). • AP TAR will then auto-increment after each read from DRW. • No need to write to TAR after each read. • DUMMY read still active for very first read!!! • Very last read operation is from DP RDBUFF register

  13. SWD crucial to AD7160 success! • SWD enables access to Flash memory • Flash MUST be verified before kernel can be loaded • All Flash test/verification modes are enabled through SWD • Kernel is loaded through SWD into Flash information space • Kernel ‘sign’ in information space is verified through SWD

  14. Conclusion • Overview of SWD & DAP • SWD write operations • SWD read operations

More Related