Hello everyone, first forgive me for my poor English
I am working on a project based on the sending of messages through the WINC1500 module to an STM32F103 micro via SPI communication.
My problem comes when configuring the WINC module, since debugging the program I get the error M2M_ERR_FW_VER_MISMATCH in this part of the code
if (strtmp.u8FirmwareMajor! = M2M_DRIVER_VERSION_MAJOR_NO
|| strtmp.u8FirmwareMinor! = M2M_DRIVER_VERSION_MINOR_NO)
ret = M2M_ERR_FW_VER_MISMATCH;
M2M_ERR ("Firmware version mismatch! \ N");
I have to say that I have seen in several programs that do a reset activating reset and chip enable of WINC module followed by some delays. But in my case I activated these ports directly to the micro, so that it does the reset at the same time. Looking at the datasheet I do not think the problem is coming here.
Looking at the user guide of WINC I have seen that this error is due to the fact that the WINC driver and firmware are incompatible, and that change of the WINC firmware image has to be requested.
My question is, can someone tell me if there is a way to fix it without changing the image, or can it be a bug in my program? The program which I used to be found by the forum, I simply changed the necessary ports to adapt it to my pcb.
Thank you very much.