• AVR Freaks

Hot!MPLAB Harmony v2/3 - PIC32 MZ EF Support

Author
nrcrast
New Member
  • Total Posts : 13
  • Reward points : 0
  • Joined: 2019/05/16 11:47:56
  • Location: 0
  • Status: offline
2019/07/23 09:42:38 (permalink)
0

MPLAB Harmony v2/3 - PIC32 MZ EF Support

Hi guys,
 
I'm trying to get this board to work with MPLAB Harmony, and I'm having issues. The tcpip_tcp_client_server example that comes with Harmony v2.06 does not work, and says that there was an error initializing the TCP/IP stack. This is attempting to use the onboard WIFI module. Is that not supported? 
 
With Harmony V3, I don't even see any example projects for this board.
 
Is this board just too old to realistically be used with the modern MPLAB toolchain?
 
Thanks,
Nick
#1

7 Replies Related Threads

    NKurzman
    A Guy on the Net
    • Total Posts : 18038
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: online
    Re: MPLAB Harmony v2/3 - PIC32 MZ EF Support 2019/07/23 09:47:11 (permalink)
    0
    Which Board? What Harmony Module.  And they do appear to be dropping support for the older Wi-Fi modules.
    V3 Harmony is still a work in progress. I do not know if there is a Road Map to what it will have when it is completed.
    #2
    nrcrast
    New Member
    • Total Posts : 13
    • Reward points : 0
    • Joined: 2019/05/16 11:47:56
    • Location: 0
    • Status: offline
    Re: MPLAB Harmony v2/3 - PIC32 MZ EF Support 2019/07/23 09:50:30 (permalink)
    0
    Oh, sorry, I thought I had mentioned. The PIC32 MZ EF Curiosity board. 
     
    I've tried the latest harmony v2.x version and the tcpip_tcp_client_server example, and it just doesn't seem to work. 
     
    I've been told elsewhere that the WiFi module on this isn't really supported anymore, and this particular curiosity board is pretty old anyway.
     
    I'm just wondering what the development path is intended to look like for this board, or if it would be wise to just use a more recent board.
     
    -Nick
    #3
    NKurzman
    A Guy on the Net
    • Total Posts : 18038
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: online
    Re: MPLAB Harmony v2/3 - PIC32 MZ EF Support 2019/07/23 10:00:45 (permalink)
    0
    tcpip_tcp_client_server is probably Wire ethernet.
     
    in
    C:\microchip\harmony\v2_06\apps\tcpip I see 4 wi-Fi Projects 2 are for the Atmel Wi-Fi chips.
    You can find the details in the Harmony Help File.
     
    C:\microchip\harmony\v2_06\apps\tcpip\wifi_rgb_easy_configuration  and
    C:\microchip\harmony\v2_06\apps\tcpip\wifi_easy_configuration
      looks like it could be right
     
    Note 
    The MRF24WG0MA module may need a firmware update to work with Harmony.
    #4
    katela
    Super Member
    • Total Posts : 1460
    • Reward points : 0
    • Joined: 2013/06/11 05:25:18
    • Location: South Africa
    • Status: offline
    Re: MPLAB Harmony v2/3 - PIC32 MZ EF Support 2019/07/23 10:24:03 (permalink)
    0
    The Curiosity Demo Examples supplied on this curiosity page, are they not compiling?
    There are several demo examples with supporting documentation including WiFi in the Additional Resource tab.

    Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
    YouTube Tutorials: https://www.youtube.com/StudentCompanionSA
    #5
    nrcrast
    New Member
    • Total Posts : 13
    • Reward points : 0
    • Joined: 2019/05/16 11:47:56
    • Location: 0
    • Status: offline
    Re: MPLAB Harmony v2/3 - PIC32 MZ EF Support 2019/07/23 10:48:27 (permalink)
    0
    katela
    The Curiosity Demo Examples supplied on this curiosity page, are they not compiling?
    There are several demo examples with supporting documentation including WiFi in the Additional Resource tab.




    They do compile. I was not aware that the tcpclient demo used Ethernet, not WiFi. I was hoping for a WiFi TCP client example, but it doesn't seem that any exists. No examples exist of using this board in Infrastructure mode, either, which is unfortunate. 

    Thanks,
    Nick
    #6
    BillP
    Super Member
    • Total Posts : 338
    • Reward points : 0
    • Joined: 2014/09/28 07:53:35
    • Location: CA
    • Status: offline
    Re: MPLAB Harmony v2/3 - PIC32 MZ EF Support 2019/07/23 14:35:30 (permalink)
    0
    Nick,
     
    I struggled with this same problem and my conclusions are documented in a post https://www.microchip.com/forums/m1082340.aspx.
     
    Since that post, I have been able to get a WiFi4 click board to work with the Curiosity PIC MZ EF board in both a superloop app and a FreeRTOS app.  This board has its own built-in stack (as does the WINC1500), so there is no need for the Harmony stack for some applications.  You might want to look at these separate click boards for your simple tcpclient. 
     
    In another note, Harmony v3 does not yet have an http_net demo for https. 
     
    BillP
    #7
    nrcrast
    New Member
    • Total Posts : 13
    • Reward points : 0
    • Joined: 2019/05/16 11:47:56
    • Location: 0
    • Status: offline
    Re: MPLAB Harmony v2/3 - PIC32 MZ EF Support 2019/07/23 18:30:29 (permalink)
    0
    BillP
    Nick,
     
    I struggled with this same problem and my conclusions are documented in a post https://www.microchip.com/forums/m1082340.aspx.
     
    Since that post, I have been able to get a WiFi4 click board to work with the Curiosity PIC MZ EF board in both a superloop app and a FreeRTOS app.  This board has its own built-in stack (as does the WINC1500), so there is no need for the Harmony stack for some applications.  You might want to look at these separate click boards for your simple tcpclient. 
     
    In another note, Harmony v3 does not yet have an http_net demo for https. 
     
    BillP




    Thanks for this. There is now a WiFi 7 click that uses the WINC1500 that just came out recently. We've used the WINC1500 in the past extensively, and it helps that it's got the whole SSL stack built in, so that might be the path of least resistance. 
     
    -Nick
    #8
    Jump to:
    © 2019 APG vNext Commercial Version 4.5