Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hi. Tried to get it work using wiznet_Library, but got common problem - ip is 0.0.0.0 same as mac and gateway. Enabled spi debug - ip, mask and gateway init fine. But mac is still empty. Changed this function in W5100.cpp:
void WIZnet_Chip::spi_write(uint16_t addr, const uint8_t *buf, uint16_t len) { if(addr==SHAR) { wait(0.5); this one wait if mac writing } for(int i = 0; i < len; i++) { cs = 0; spi->write(0xf0); spi->write(addr >> 8); spi->write(addr & 0xff); addr++; ...
And everything starts to work. May be it will be usefull for someone.