• AVR Freaks

Hot!Potential Bug In MCC TCP/IP Lite

New Member
  • Total Posts : 28
  • Reward points : 0
  • Joined: 2010/05/04 08:51:34
  • Location: 0
  • Status: offline
2020/11/30 19:17:20 (permalink)
4 (1)

Potential Bug In MCC TCP/IP Lite

Hello, after some troubleshooting found the TCP/IP lite stack would only queue 2 packets in the linked list before crashing.  It appears the head packet was having it's ETH_TX_QUEUED flag cleared in function ETH_SendQueued()
ClearBit( pHead->flags, ETH_TX_QUEUED);         // txQueued = false
Causing the next iteration of ETH_SendQueued() *when called from Network_Manage(), to skip all remaining queued packets.
Removing the line above, allows the entire 20 packets to queue and send as it should.
Other than that, I'm looking for the simplest way to move to wifi experimental board/setup.  Would anyone have any suggestions?  I need MCC support or other clean simple examples of the wireless MAC/PHY similar to the ENC28J60 I'm using now (currently connected to 16F18346).
Something like the WINC1500 i'd imagine but where are the MCC or clear examples?

1 Reply Related Threads

    A Guy on the Net
    • Total Posts : 19106
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: online
    Re: Potential Bug In MCC TCP/IP Lite 2020/11/30 20:27:01 (permalink)
    Have you Verified you are using the Latest version of MCC?  It is fully updated?
    Jump to:
    © 2021 APG vNext Commercial Version 4.5