Uploaded image for project: 'rcX - Operating System'
  1. rcX - Operating System
  2. RCX-445

USB CDC may stop communication in full duplex mode in RX_INTERRUPT_MODE_TASK

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V2.0.8.0
    • Fix Version/s: V2.0.8.14
    • Component/s: Drivers
    • Labels:
      None
    • Account:
      SDO rcX (SDORCX)

      Description

      The interrupt service handler does not access the PIPE_SEL registers in a locked state. The Pipe registers are bank and the current bank is selected by a write ti PIPE_SEL. All functions use a "lock_irq_save / restore" to make operations on Pipes atomic, but the ISR does not lock the access when evaluating the type of the transfer (PID).

      This only happens in RX_INTERRUPT_MODE_TASK when the ISR is interrupted between selecting a pipe and reading TPID

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  MTrensch Michael Trensch
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: