Advertisement
hiviah

JLink/JTrace enable SWO ITM PC sampling

Jul 24th, 2020
4,398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GDB 0.37 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement