PIC32 Ethernet Starter Kit 2 in Harmony V3
I want to start working with TCP/IP on the PIC32MX795F512L and saw the Ethernet Starter Kit 2.
The problem with the starter kit is that the example is made in Harmony V2 and I want to use this inside a project that was made in Harmony V3. For this project I also use a custom PCB, the Ethernet part has been copied from the starter kit.
For this project I want to connect a pc to the PIC to send commands to it to do some stuff.
For this the example given with the starter kit looks very promising, so I want to try and build on top of this.
So I first made sure the V2 version works good, and when I program it into the PIC it works fine.
Now all I need is to get it working in Harmony V3.
So first I tried to follow the tutorial, but just using Harmony V3 in stead of V2.
I followed this video: "MPLAB® Harmony Configurator Tutorial - Creating a TCP/IP Project from Scratch"
I can't post the link unfortunately.
I could find all the settings I need and set them right, except for the BSP setting. I can not find that one.
I downloaded and added the files as is said in the video. But I got a lot of errors, I think this might be because I did not set the BSP setting, but I do not know where I can find these in Harmony V3.
And because I want to use this on a different board than the starter kit, I removed these files and just want to try to get it to work without those BSP files. With working I mean, that I want to be able to set all the TCP/IP settings right and to be able to at least ping the PIC form my PC.
But when I try to build it without all the BSP files I still get a strange error:
..\src\config\default\initialization.c:377:46: error: expected expression before ',' token
&TCPIP_NETWORK_DEFAULT_MAC_DRIVER_IDX0, // pMacObject
This is from a generated file from Harmony V3, so I am not sure what to do here.
Can anyone help me to fix this.
To make my end goal extra clear:
I have a custom PCB that has different parts (motors and sensors) that are driven and read by the PIC32.
Now I want to be able to send commands from my PC to the PIC to do different stuff with those sensors and motors.
The connection will be via a wired Ethernet cable.
Thank you in advance for any advice