[SOLVED] RTT SVC feature proposal

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] RTT SVC feature proposal

    Hello,

    it would be useful if RTT may supports SVC calls to interrupt device application about availability of new host data in RTT down buffer.

    This allows reading host data from ISR without polling.

    SVC number could be configured using RTT control block. When SVC is raised, parameters (down buffer number) may be passed in registers or SVC should be configured only for one down buffer.

    From host point of view (host API) one should be able to control when SVC would be raised (i.e. flushing). This allows sending data one by one (useful for input consoles) or by data block (SVC then would be called when down buffer is full or at end of data).
    For backward compatibility without using new host API, SVC would be called as quickly as new data is available.
  • Hello,

    Thank you for your inquiry.
    RTT input handling needs to be processed by the target application. For this RTT_API function SEGGER_RTT_HasKey() can be used.
    An generic implementation over SVC is currently no planned and it is not clear if it would be technically possible in a generic way.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.