ITM configuration for SWD print
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-07-24 11:42 PM
Posted on July 25, 2016 at 08:42
Hello,
We are using STM32l476 uC with Jlink segger debugger, and trying to print logs through ITM to Segger J-Link SWO Viewer , the 48 MHz HSE clock is being used as sysclk with RCC_PLL_NONE, We are using ITM_SendChar API present in core_cm4.h Do we need to configure anything before using ITM_SendChar API ? Can anyone please provide any application note ? #stm32l4 #itm #printf-swo-debug
Labels:
- Labels:
-
DEBUG
-
STM32L4 Series
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-07-25 12:54 AM
Posted on July 25, 2016 at 09:54
1. Consider RTT,
2. http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-performance-and-debuggers/stsw-stm32103.htmlOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-07-26 10:20 AM
Posted on July 26, 2016 at 19:20
Have you set the following bit inside the DBGMCU_CR?
DBGMCU->CR |= DBGMCU_CR_TRACE_IOEN;
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-08-01 09:29 PM
Posted on August 02, 2016 at 06:29 Yes, I tried same but no luck, Do i need to enable PLL, as we are directly using 48 MHz External clock without internal PLL
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-08-01 09:32 PM
Posted on August 02, 2016 at 06:32
@dembek.radoslaw.001
Thanks, but I can't find anything related to configuring ITM and SWO :(Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-08-02 12:31 AM
Posted on August 02, 2016 at 09:31
google told me eeverything.......
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-08-05 07:47 AM
Posted on August 05, 2016 at 16:47
Thats true, thanks :)