Main Content

Unable to Assign IP Address to an Arduino MKR WIFI 1010 Board


When deploying code on an Arduino® MKR WIFI 1010 board, Simulink® generates this error:

Failed to assign IP address to Arduino MKR WIFI 1010 board.


Try these options sequentially until the IP address is assigned to the MKR WIFI 1010 board:

  1. Ensure that a power supply of 3.3 V is provided to the MKR WIFI 1010 board. If a voltage higher than 3.3 V is supplied, the board might be damaged.

  2. To open the Configuration Parameters dialog box and view the SSID and the Wi-Fi® encryption type, navigate to the Modelling tab and in the Setup area, click the gear icon in the Model Settings.

    Select Hardware Implementation > Target hardware resources > WiFi properties. Verify the parameter values.

  3. Reset MKR WIFI 1010, wait for approximately one minute, and deploy the code again.

  4. Unplug MKR WIFI 1010, plug it back in, and then deploy the model again.

  5. Check if the firmware version of MKR WIFI 1010 is aligned with the WiFiNINA library installed in your computer. To check the firmware version, perform the steps in Check WiFiNINA Firmware Version. If the expected firmware version does not match the firmware version of the board, update the firmware as described in Firmware and certificates Updater.

  6. If the error still persists, assign a static IP to the board. To assign a static IP address, again go to the WiFi properties and select Use static IP address and disable DHCP. In the IP address parameter, specify an IP address, click Apply, and deploy the model again.

See Also