[quote:51470433a9="WXYZ"]You wrote: "Both of the Leds are blinking [orange and green]."
In my opinion You have periodically Reset of module. In normal work green Led should shine continuously...
And cable between PC and WIZ810MJ should be cross. Maybe that "PD3 as Reset" is responsible for trouble. Can You try working without INT1?
In your case it will be:
[code:1:51470433a9]Config Tcpip = Noint , Mac = 00.40.66.34.56.78 , Ip = 192.168.0.50 , Submask = 255.255.255.0 , Gateway = 192.168.0.1 , Localport = 8000 , Tx = &B11 , Rx = &B11 , Chip = W5100 , Spi = 1 , Cs = Portb.2[/code:1:51470433a9]
Of course SPI_Enable must be set to 1.[/quote:51470433a9]
His thanks for your advice!!
Sorry i made wrong in my previous respone. The green LED is still lighting and orange is Flashing.
As you wrote i tried this code:
[code:1:51470433a9]
$regfile = "m32def.dat"
$crystal = 16000000
$hwstack = 64
$swstack = 64
$framesize = 64
Config Tcpip = Noint , Mac = 00.40.66.34.56.78 , Ip = 10.0.1.171 , Submask = 255.255.255.0 , Gateway = 10.0.1.1 , Localport = 8000 , Tx = &B11 , Rx = &B11 , Chip = W5100 , Spi = 1 , Cs = Portb.2
Spiinit
[/code:1:51470433a9]
But still didn't respone on ping :O/
Yes, I have connected SPI_EN for enbable SPI. I connected Wiznet directly with computer via cross cable.
↧