Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
xross committed Sep 15, 2020
2 parents 0c6071c + 749c504 commit 1b18a99
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ lib_xud Change Log
-----

* RESOLVED: Cases where disabling RxError caused firmware to crash
* RESOLVED: USB Disconnect on self-powered devices intermittently causing
EP set to not-ready indefinitely

1.1.0
-----
Expand Down
5 changes: 3 additions & 2 deletions lib_xud/src/core/included/XUD_Token_Out.S
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved
// Copyright (c) 2011-2020, XMOS Ltd, All rights reserved
// r10: EP number
// OUT Token Packet -----------------------------------------------------------------------------
// Ports
Expand Down Expand Up @@ -28,9 +28,10 @@ CheckEpTypeOut:
bt r11, DoOutNonIso // ISO endpoint

OutReady:
stw r11, r5[r10] // Clear ready straight away - we don't to CRC checking on Iso - else we would have to wait for end of packet
bl doRXData
clre
ldc r11, 0
stw r11, r5[r10] // Clear ready after receiving packet - avoids EP getting stuck in not-ready state if interrupted

InformEP_Iso: // Iso EP - no handshake
ldw r11, r3[1] // Load EP chanend
Expand Down

0 comments on commit 1b18a99

Please sign in to comment.