It can be your name. It is really small thing.

On Fri 30 Oct 2020, 20:46 Antonio Borneo, <[email protected]>
wrote:

> As you want, but please check the 'HACKING' file, it's not so complicated
> for you that already master git.
> I will mainly cherry-pick from your github with minor changes. What should
> I put as author?
> Pawel [email protected] ?
> ------------------------------
>
> * [tickets:#283] <https://sourceforge.net/p/openocd/tickets/283/> Speed of
> SWD with SWV with ST-link V3*
>
> *Status:* new
> *Milestone:* 0.10.0
> *Labels:* SWV stlink
> *Created:* Sat Oct 24, 2020 12:20 PM UTC by Pawel
> *Last Updated:* Fri Oct 30, 2020 06:31 PM UTC
> *Owner:* nobody
>
> Hi all,
>
> ST-link v3 support SWV up to 24MHz but in openocd it is limited to max
> 2MHz.
> ( UM2448 Rev 5 page 18). I work with patched openocd and can verify that
> it is working fine with higher speeds that 2MHz.
>
> It can looks like this:
>
> https://github.com/ntfreak/openocd/compare/master...phryniszak:master?diff=split
>
> And one more thing - does it make sense to check baudrate like pyocd?
>
>     def set_swo_clock(self, swo_clock, system_clock):
>         """! @brief Prepare TPIU for transmitting SWO at a given baud rate.
>         Configures the TPIU for SWO UART mode, then sets the SWO clock 
> frequency based on        the provided system clock.
>         @param self        @param swo_clock Desired SWO baud rate in Hertz.   
>      @param system_clock The frequency of the SWO clock source in Hertz. This 
> is almost always            the system clock, also called the HCLK or fast 
> clock.        @return Boolean indicating if SWO UART mode could be configured 
> with the requested            baud rate set within 3%.
>
> I noticed that some baudrate combinations are giving for some reason wrong
> output with openocd.
> ------------------------------
>
> Sent from sourceforge.net because you indicated interest in
> https://sourceforge.net/p/openocd/tickets/283/
>
> To unsubscribe from further messages, please visit
> https://sourceforge.net/auth/subscriptions/
>



---

** [tickets:#283] Speed of SWD with SWV with ST-link V3**

**Status:** new
**Milestone:** 0.10.0
**Labels:** SWV stlink 
**Created:** Sat Oct 24, 2020 12:20 PM UTC by Pawel
**Last Updated:** Sat Oct 31, 2020 11:18 AM UTC
**Owner:** nobody


Hi all,

ST-link v3 support SWV up to 24MHz but in openocd it is limited to max 2MHz.
( UM2448 Rev 5 page 18). I work with patched openocd and can verify that it is 
working fine with higher speeds that 2MHz.

It can looks like this:
[https://github.com/ntfreak/openocd/compare/master...phryniszak:master?diff=split](http://)

And one more thing - does it make sense to check baudrate like pyocd?

```python
    def set_swo_clock(self, swo_clock, system_clock):
        """! @brief Prepare TPIU for transmitting SWO at a given baud rate.
        
        Configures the TPIU for SWO UART mode, then sets the SWO clock 
frequency based on
        the provided system clock.
        
        @param self
        @param swo_clock Desired SWO baud rate in Hertz.
        @param system_clock The frequency of the SWO clock source in Hertz. 
This is almost always
            the system clock, also called the HCLK or fast clock.
        @return Boolean indicating if SWO UART mode could be configured with 
the requested
            baud rate set within 3%.
```

I noticed that some baudrate combinations are giving for some reason wrong 
output with openocd.



---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to