hiviah

JLink/JTrace enable SWO ITM PC sampling

Jul 24th, 2020
1,581
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # target extended-remote :2331
  2. # source Support/gdbtrace.init
  3. monitor SWO EnableTarget 168000000 2000000 0xFF 0
  4. enableSTM32SWO 4
  5. prepareSWO 168000000 2000000 0 0
  6.  
  7. dwtSamplePC 1
  8. dwtSyncTap 3
  9. dwtPostTap 1
  10. dwtPostInit 1
  11. dwtPostReset 15
  12. dwtCycEna 1
  13.  
  14. ITMId 1
  15. ITMGTSFreq 3
  16. ITMTSPrescale 3
  17. ITMTXEna 1
  18. ITMSYNCEna 1
  19. ITMEna 1
  20.  
  21. ITMTER 0 0xFFFFFFFF
  22. ITMTPR 0xFFFFFFFF
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×