ATWINC 3400 Getting Started

Go To Last Post
9 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

 

I recently acquired a ATWINC3400-MR210CA extension board for an IOT project. Just wanted to get started by running some of the Example projects provided by Atmel Studio, details given below,

 

IDE- Atmel Studio 7.0

ASF - 3.48.0.1845

Target Board - SAM4SXPLAINED PRO (ATSAM4SD32C)

Example project - SSL Connect Example

 

The issue I have is that during initialization , the process fails saying that "No valid Ota image" was found and "HIF message is unsupported". I'm attaching a snapshot of the debug log.

 

Any ideas on what might be causing this? and suggested fixes?

 

Thanks in advance...

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You can ignore the "No Valid OTA image" message.  This just means there is no backup firmware image.  You are getting the "HIF message is unsupported" message because the firmware in the WINC is out of date.   Follow the procedure in http://ww1.microchip.com/downloa... to update your firmware.

 

John Malaugh

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi, Have you been able to successfully update your firmware?

 

I am getting the attached error.

 

Attachment(s): 

Thanks

Regards

DJ

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi djoshi,

Have you managed to fix that error? i have the exact same one

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes, I have

I had to edit the file. I will post the changes tommorow

Thanks

Regards

DJ

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi DJ,

I am experiencing the same issue.

What changes did you perform on to fix this?

Thanks,

Ben

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi

 

Very sorry for the delay.

 

What i did was start with the serial bridge project using option to create a new example project and select "Serial Bridge".

 

Then commented out the following

	//if(ret != M2M_SUCCESS) {
	    //M2M_ERR("\r\nFailed to initialize WINC driver.");
	    //goto HALT;
    //}

So that the code looks like

 

	ret = m2m_wifi_init(&gstrWifiParam);

	//if(ret != M2M_SUCCESS) {
	    //M2M_ERR("\r\nFailed to initialize WINC driver.");
	    //goto HALT;
    //}

 I then ran the  "download_all.bat UART 3400 0 <COM PORT>", from firmware update project, under example projects.

 

Please let me know if that helps.

Thanks

Regards

DJ

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for the input DJ,

 

I was able to figure it out using the serial bridge, but I'm stuck constantly updating the same firmware version into the Wifi module, and not the latest version.

 

Ben

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I will need to check what version I have installed.

What version is getting installed on your modules?

Thanks

Regards

DJ