7 years, 2 months ago.

Basic Socket examples Not working on Nucleo F767ZI

Greetings , I'm currently working through the cookbook to figure out Ethernet setup for my Nucleo F767ZI. Both UDP and TCP Socket and Ethernet examples are not compiling and give me a -230 Error . Does anyone know how I can fix this.

Thanks

2 Answers

7 years, 2 months ago.

Can you give more details. What mbed version you using? have you tried to update it?

Try to create new project and use up to date libraries. Could be temporary issue with online compiler. Can try offline compiler, should not be a problem to set up with mbed CLI.

Let know if get any progress

Daniel

Hi I'm really new to Mbed , I can't tell what version I'm using ,I'm not sure where to check that . I did ensure that all the libraries were updated prior to compiling. I don't have an offline Mbed compiler is there any that you recommend ?

posted by Anthony Mukuka Mwila 02 Oct 2017

In your project you have folder mbed-os with libraries ? I am using GNU ARM Embedded toolchain (GCC) in Eclipse IDE. Haven`t tried others. With mbed CLI it is not difficult to set up ant start to use offline compiler with any board. Check this documentation for getting all required software and step-by-step set up: https://github.com/ARMmbed/mbed-cli .

posted by Daniel Klioc 02 Oct 2017
7 years, 2 months ago.

Can you try http-example or mbed-os-example-sockets? Should work fine with NUCLEO-F767ZI.

A lot of the cookbook pages have very outdated examples. The examples I linked above have been updated to Mbed OS 5.5, and use the Mbed OS unified networking stack which is also supported on F767ZI.