[Linux-stm32] [RFC] Add trig_ts function in STM to generate TRIG_TS packet periodically
Jinlong Mao
quic_jinlmao at quicinc.com
Tue Feb 21 06:53:33 UTC 2023
Hi all,
When there is some small packet sent from STM to ETR, the small packet
could be stuck between source
and sink even if manual flush is set when disable ETR.
So there is requirement that flush the STM trace periodically after
enabling STM to ETR.
STM can generate TRIG_TS packet by writing to offset 0xF0 of the driver
STM stimulus port.
ETR has ability to initiate a flush on seeing a TRIG_TS packet.
For this requirement, I want to create a sysfs node like trig_ts for STM.
When writing 1 to this sysfs node, a timer with 1 second periodicity in
STM will start to generate the trig_ts packet to ETR.
Once ETR receive the TRIG_TS packet, it will initiate a flush.
Could you please help to provide your comments on this requirement ?
Thanks
Jinlong Mao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://st-md-mailman.stormreply.com/pipermail/linux-stm32/attachments/20230221/6747c818/attachment.html>
More information about the Linux-stm32
mailing list