chipKIT® Development Platform

Inspired by Arduino™

Help with Network Shield and Max32!!

Created Wed, 08 Aug 2012 20:34:52 +0000 by qqwang3


qqwang3

Wed, 08 Aug 2012 20:34:52 +0000

Hi All,

My final goal is to send data to the Network Shield through Ethernet, have the data encrypted using AES-128 and receive data back.

So far testing some codes from the ChipKIT Network libraries (ie. TCPEchoClientNewtorkShield). I hooked my mac and the Network Shield (connected to the Max32) directly together through a Ethernet cable and program it through the miniUSB. I defined my mac to have a Static IP so there should be no conflict.

After loading the program, I still can't get a connect to the network. The left Ethernet light on the Network Shield is red.

Can somebody please help me out? I just want to establish a connection so I can move on to my final goal. Any suggestion would help!! Either for my current problem or my future goal. Thanks.


mikes

Thu, 09 Aug 2012 13:34:42 +0000

I think you need a Crossover cable to connect computers directly like that.


qqwang3

Thu, 09 Aug 2012 18:03:46 +0000

Yes, I am using a crossover cable to connect my mac to the Network shield.
I resort to this since connecting the shield to the router didn't work.

Thanks


Jacob Christ

Sun, 12 Aug 2012 05:46:27 +0000

Should not need a crossover. The smsc phy on the network shield automaticly will flip rx tx if needed.

Jacob