cancel
Showing results for 
Search instead for 
Did you mean: 

X-NUCLEO.IDW04A stuck in reset

spa23
Associate III
Posted on June 07, 2017 at 09:11

HI 

We are planing to use a new WIFI module from ST for replacing the old module ( form another supplier )  

so I :

1. bought a NUCLEO-F401RE and a X-NUCLEO.IDW04A boards.

2. downloaded the en.x-cube-wifi1_firmware software. 

3. done the board setup according to page 6 in UM2183 (Getting started with the X-NUCLEO-IDW04A1)

4. compiled the firmware (Server_Socket) with IAR, and downloaded it to the board.

5. run.

and now the software get stuck in the wifi_reset() function wating for the stage to get started.

while(IO_status_flag.WiFi_WIND_State != WiFiHWStarted)

{

__NOP(); //nothing to do

so before I get started with the big investigation, I was thinking that maybe I wasn't the only one that have see this problem.

So I'm hoping that one of you guys can give me a hint, thanks in advance..

#x-cube-wifi1 #spwf04sa #x-nucleo-idw04a1
1 ACCEPTED SOLUTION

Accepted Solutions
spa23
Associate III
Posted on June 07, 2017 at 15:06

Thanks, I found a solution:

- to use SW Reset functionality (wifi_reset() function)

    - jumper on position JP3 (middle and top) is required (was not mounted) 

View solution in original post

3 REPLIES 3
Mridupawan Das
Associate II
Posted on June 07, 2017 at 14:02

Hi,

By default, the build is set for SPWF04 and SPI interface. So if you are using UART as interface please set the required macros in the file wifi_conf.h in the Inc folder of the App you are running (e.g. server socket in your case).

Also check out the correct jumper settings for UART/SPI for the SPWF04 in the readme files.

IN case of UART it should be as below for the F401 board (not the comment out for SPWF01):

#ifdef USE_STM32F4XX_NUCLEO 

#define CONSOLE_UART_ENABLED

//#define SPWF01

#define SPWF04

regards,

Mridu

Mridupawan Das
Associate II
Posted on June 07, 2017 at 14:04

you can also go through other threads discussing different versions of issues:

https://community.st.com/0D50X00009XkXvmSAF

https://community.st.com/0D50X00009XkgFFSAZ

spa23
Associate III
Posted on June 07, 2017 at 15:06

Thanks, I found a solution:

- to use SW Reset functionality (wifi_reset() function)

    - jumper on position JP3 (middle and top) is required (was not mounted)