Author Topic: STM32H7  (Read 4390 times)

0 Members and 1 Guest are viewing this topic.

Offline ArioTopic starter

  • Regular Contributor
  • *
  • Posts: 54
  • Country: za
STM32H7
« on: November 02, 2021, 06:52:38 am »
Hi there

I am trying to configure SWO output on a Stm32H750VB microcontroller. It seams there is a addressing issue, or change on the stm32H7 series microcontroller. I regularly use  the SWO printf(trace) on other stm32 microcontrollers, but it is not working on the H7. Does somebody please have some more information for me, or a similar experience.


regards
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 17841
  • Country: fr
Re: STM32H7
« Reply #1 on: November 02, 2021, 06:18:48 pm »
I guess you probably know, but AFAIK, the SWO output is not enabled by default, on any STM32.
There are two ways to enable it: if you use a debugger, most often, the debugger will configure SWO through JTAG/SWD. If you want SWO to work "standalone" without a debugger, you need to configure it in software.

So, can you tell us how you proceed here. Are you using a debugger, or are you configuring SWO in software? Can you give more details?
 

Online Siwastaja

  • Super Contributor
  • ***
  • Posts: 11452
  • Country: fi
Re: STM32H7
« Reply #2 on: November 02, 2021, 07:19:58 pm »
Reduce the code to the minimum example that just demonstrates this problem and nothing else.

Then post the code for us to see.
 

Offline ArioTopic starter

  • Regular Contributor
  • *
  • Posts: 54
  • Country: za
Re: STM32H7
« Reply #3 on: November 03, 2021, 08:20:38 pm »
 Thanks for you replay. I alreay have a minimal sysytem. I an I an using a st_debuger

 

Offline dmendesf

  • Frequent Contributor
  • **
  • Posts: 432
  • Country: br
Re: STM32H7
« Reply #4 on: November 05, 2021, 02:49:02 am »
 
The following users thanked this post: Ario

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 17841
  • Country: fr
Re: STM32H7
« Reply #5 on: November 05, 2021, 05:41:54 pm »
Thanks for you replay. I alreay have a minimal sysytem. I an I an using a st_debuger

Sure, but uh, well, I think what we were asking is more detailed information about your setup so we can try and help. The above doesn't answer anything much, except that we can assume you're at least not trying to use SWO in a standalone setup. But we'd still need to have a look at the parts of your code that write stuff to SWO, and then the setup of your debugger.
 
The following users thanked this post: Ario

Offline ArioTopic starter

  • Regular Contributor
  • *
  • Posts: 54
  • Country: za
Re: STM32H7
« Reply #6 on: November 20, 2021, 11:41:45 am »
Thanks this was what I was looking for. :)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->