Ethernet on PIC32MX795F512L

Discuss with MikroElektronika software developers about current library development.
Post Reply
Author
Message
Frankentronik
Posts: 1
Joined: 05 Dec 2017 17:41

Ethernet on PIC32MX795F512L

#1 Post by Frankentronik » 23 Feb 2018 13:42

Hello
I downloaded the Demo Program Ethernet demo for the Easy PIC Fusion v7.
In the eventCode I changed the IP address following.

unsigned char myMacAddr [6] = {0x00, 0x14, 0xA5, 0x76, 0x19, 0x3f}; // my MAC address
unsigned char myIpAddr [4] = {192, 168, 1, 44}; // my IP address
unsigned char gwIpAddr [4] = {192, 168, 1, 1}; // gateway (router) IP address
unsigned char ipMask [4] = {255, 255, 255, 0}; // network mask (for example: 255.255.255.0)
unsigned char dnsIpAddr [4] = {192, 168, 1, 1}; // DNS server IP address

After compiling and programming, the TFT screen will display microelectronics with the circles and the orange network diode will light up and the green will flash.
I can not reach the board by ping or http.

What could I have done wrong?

User avatar
strahinja.jacimovic
mikroElektronika team
Posts: 200
Joined: 18 Dec 2017 18:19

Re: Ethernet on PIC32MX795F512L

#2 Post by strahinja.jacimovic » 26 Feb 2018 17:52

Hi,

Have you typed in the address you entered in the code?

Type in http://192.168.1.44 in your browser and try again.

Let me know what happens.

Kind regards,
Strahinja Jacimovic

Post Reply

Return to “Library Development Discussion”