• AVR Freaks

Hot!TCP/IP Stack: Initialization failed

Author
FAMARAL
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2020/07/14 01:52:15
  • Location: 0
  • Status: offline
2020/07/15 07:24:19 (permalink)
0

TCP/IP Stack: Initialization failed

I'm starting to work with harmony V3, and I'm doing a project with TCPIP I used the same settings that I had in harmony v2 however 
I am always getting the same error when initializing the tcpip stack:
TCP / IP Stack: Initialization Started
TCP / IP Stack: Heap creation failed, type: 1
TCP / IP Stack: Initialization failed 1

I'm using LAN8740 and PIC32MZ2048EFG144.
The Heap settings appear to be the same as the Harmony V2 version. Does anyone have any suggestions?

Attached Image(s)

#1

3 Replies Related Threads

    rainad
    Moderator
    • Total Posts : 1387
    • Reward points : 0
    • Joined: 2009/05/01 13:39:25
    • Location: 0
    • Status: offline
    Re: TCP/IP Stack: Initialization failed 2020/07/15 09:13:04 (permalink)
    5 (1)
    You've set 39250 bytes for the TCP/IP heap.
    What is the project heap?
    It should be > 39250.
    TCP/IP allocates its heap from the main heap (you''re using malloc/calloc).
     
     
    post edited by rainad - 2020/07/15 12:09:22
    #2
    FAMARAL
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2020/07/14 01:52:15
    • Location: 0
    • Status: offline
    Re: TCP/IP Stack: Initialization failed 2020/07/16 05:07:25 (permalink)
    4 (1)

    Thanks, I realized, in the project settings it only had 512bytes of heap. I changed it to a 44960 and it worked. Thank you for your help.
    #3
    Chris79
    Junior Member
    • Total Posts : 32
    • Reward points : 0
    • Joined: 2013/12/06 03:20:35
    • Location: 0
    • Status: offline
    Re: TCP/IP Stack: Initialization failed 2020/07/17 02:14:47 (permalink)
    0
    Sorry, noticed its sorted afterwards...
    #4
    Jump to:
    © 2020 APG vNext Commercial Version 4.5