Search found 3 matches
- Mon Feb 02, 2015 2:56 pm
- Forum: MicroPython pyboard
- Topic: Network on STM32F4Discovery
- Replies: 6
- Views: 7910
Re: Network on STM32F4Discovery
Hello, Accordingly to previous post I changed my script (it's not a whole script and just only interesting part) import network print("TCP/IP echo server") nic = network.WIZNET5K(pyb.SPI(1), pyb.Pin.board.PA7, pyb.Pin.board.PA4) print(nic.ifconfig()) import socket s = socket.socket(socket.AF_INET, s...
- Thu Jan 29, 2015 6:28 am
- Forum: MicroPython pyboard
- Topic: Network on STM32F4Discovery
- Replies: 6
- Views: 7910
Re: Network on STM32F4Discovery
- I thought so.you haven't initialized a network interface
I'm trying to start ethernet communication.
Could you please explain me how can I initialize an ethernet connection? Or give me a link to the network documentation because I did not find it on the site.
Thanks.
- Wed Jan 28, 2015 1:24 pm
- Forum: MicroPython pyboard
- Topic: Network on STM32F4Discovery
- Replies: 6
- Views: 7910
Network on STM32F4Discovery
Hello, I'm trying to start TCP/IP echo server on STM32F4Discovery. My script is: #try: import usocket as socket #except: #import socket print("TCP/IP echo server") s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) ai = socket.getaddrinfo("192.168.0.10", 7) print("Bind address info:", ai) addr = ...