Arduino Forum

Products => MKR Boards => MKRWIFI1010 => Topic started by: sandeepmistry on Nov 13, 2018, 09:09 pm

Title: Firmware Update 1.2.1 - available now, with BLE mode
Post by: sandeepmistry on Nov 13, 2018, 09:09 pm
Hi everyone,

Today we are pleased to announce version 1.2.1 of the Arduino NINA-W102 firmware, which includes initial BLE support. For a full list of changes to the firmware, please see the CHANGELOG on Github (https://github.com/arduino/nina-fw/blob/master/CHANGELOG).

There is a new ArduinoBLE (https://github.com/arduino-libraries/ArduinoBLE) library available to go along with with the firmware release. The library is currently in "beta". and only supports BLE peripheral mode. Please note, WiFi functionality (using the WiFiNINA library) cannot be used at the same time as BLE.

Here's are some steps to get you started:




As always we welcome any feedback on the new features here on the forum.

Update: The version 1.2.0 of the NINA firmware had issues with WiFi TLS/SSL connections. We've corrected and deployed a new v1.2.1 firmware in the next hourly build of the IDE.
Title: Re: Firmware Update 1.2.0 - available now, with BLE mode
Post by: ballscrewbob on Nov 14, 2018, 03:42 am
To use the "Check Version" you may need to check for library updates.

Sketch.
Include Library.
Manage Libraries. (wait until the selection has loaded)
Change TYPE to UPDATEABLE.
Hover mouse over any updatable libraries to see the UPDATE option and update as you need but select the NINA to get the updated examples with the check firmware example.

May not apply to all systems but was needed at this end.




Title: Re: Firmware Update 1.2.0 - available now, with BLE mode
Post by: dpajak on Nov 15, 2018, 01:04 am
Hi

Thanks! Nice to get Bluetooth LE added to my MKR 1010 :)

Works well using the lightblue app on iOS as Sandeep suggested.

Also, a quick way of testing the BLE battery level sketch is by pointing Chrome browser here -

https://googlechrome.github.io/samples/web-bluetooth/battery-level.html

Dom
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: DrGee on Nov 17, 2018, 07:03 am
No joy here.

Had the MKR1010 working before attempting new firmware. Ran a scan program and it worked. Checked the old firmware version and it was 1.2 (reasonably certain). Installed new beta version of BLE. Installed NINA 2.6 (latest version in library manager) and using the hourly build, followed the instructions.

When I run Firmwareupdater it seems to run fine, with the log ending with:
Verify 13344 bytes of flash with checksum.
checksumBuffer(start_addr=0x2000, size=0x1000) = 5a7
checksumBuffer(start_addr=0x3000, size=0x1000) = dccc
checksumBuffer(start_addr=0x4000, size=0x1000) = 6b9f
checksumBuffer(start_addr=0x5000, size=0x420) = 7827
Verify successful
done in 0.013 seconds
CPU reset.
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
writeWord(addr=0xe000ed0c,value=0x5fa0004)

When I run the Wifi101 firmware updater, the programmer test is OK
When I update the firmware, it erases, then writes (413604 bytes) then errors on the verify with this in the log:
java.lang.Exception: Error while reading flash memory.
   at cc.arduino.plugins.wifi101.flashers.java.FlasherSerialClient.readFlash(FlasherSerialClient.java:123)
   at cc.arduino.plugins.wifi101.flashers.java.JavaFlasher.updateFirmware(JavaFlasher.java:98)
   at cc.arduino.plugins.wifi101.UpdaterImpl$3.run(UpdaterImpl.java:138)

I checked and I have version 1.6.19 of the SAMD board (latest).

The board will still load sketches like blink but nothing at all using NINA. Can't check the firmware version anymore either. No luck going to down to any versions.

Any ideas?

Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: ballscrewbob on Nov 17, 2018, 07:12 am
I simply followed Sandeeps instructions "to the letter"

You should NOT be using the WiFi101 examples but the WiFiNINA ones.

If I were you I would start again at the very first post from Sandeep and digest each step carefully before going ahead.






Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: DrGee on Nov 17, 2018, 07:19 am
I simply followed Sandeeps instructions "to the letter"

You should NOT be using the WiFi101 examples but the WiFiNINA ones.

If I were you I would start again at the very first post from Sandeep and digest each step carefully before going ahead.


Thanks for the advice to start over, but of course I have already tried that. I'm glad yours went smoothly.

Where did you read that I was using any WiFi101 examples? Am I missing something? I wrote "When I run the Wifi101 firmware updater" I am refer to just that, as in instruction 8 - "Launch the "WiFi 101 / NINA Firmware Updater" from the Tools menu of the IDE" Edited to add, what I should have made clear is that the examples tried were the NINA ones, as in wheat had worked with the NINA library earlier - I guess that is what you meant, but yes, I knew that, but thanks. Those do not run giving a typical "Communication with WiFi module failed!".


Are you saying there is a choice, that there is a WiFi101 firmware updater AND a NINA firmware updater? Because I don't see a choice at all, there is one updater with that board on my machine - again, unless I am missing something big..
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: ballscrewbob on Nov 17, 2018, 07:32 am
It depends on which cores you  have installed but YES there are TWO firmware updaters and you were specific about it in your first post
Quote
When I run the Wifi101 firmware updater, the programmer test is OK
Both will test OK but only one will do the firmware update itself.
I will assume you downloaded the NIGHTLY version of the IDE ?

You will probably see both the WiFi101 and the WiFiNINA examples close together.
Imperative you pick the correct one.

Your cores look OK.

Open the examples and take a screen shot if you would please.
Here is my screenshot.(http://forum.arduino.cc/index.php?action=dlattach;topic=579306.0;attach=282178)
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: ballscrewbob on Nov 17, 2018, 07:43 am
This is the lower console output from the sketch UPLOAD.

Code: [Select]
Atmel SMART device 0x10010005 found
Device       : ATSAMD21G18A
Chip ID      : 10010005
Version      : v2.0 [Arduino:XYZ] Mar 19 2018 09:45:14
Address      : 8192
Pages        : 3968
Page Size    : 64 bytes
Total Size   : 248KB
Planes       : 1
Lock Regions : 16
Locked       : none
Security     : false
Boot Flash   : true
BOD          : true
BOR          : true
Arduino      : FAST_CHIP_ERASE
Arduino      : FAST_MULTI_PAGE_WRITE
Arduino      : CAN_CHECKSUM_MEMORY_BUFFER
Erase flash
done in 0.826 seconds

Write 13344 bytes to flash (209 pages)

[=========                     ] 30% (64/209 pages)
[==================            ] 61% (128/209 pages)
[===========================   ] 91% (192/209 pages)
[==============================] 100% (209/209 pages)
done in 0.092 seconds

Verify 13344 bytes of flash with checksum.
Verify successful
done in 0.022 seconds
CPU reset.


That step must be done BEFORE the firmware update.

That DOES NOT UPDATE THE FIRMWARE !
It only prepares the board itself for the update.
Once that is done then you would select WiFi101/WiFiNINA Firmware Updater from the TOOLS menu.
A new panel will open up and this is where you actually start the update process.
Ensure you can see your board and select it in that new panel.
Do a Test Connection to make sure the updater can see and talk to your board.
Now select the correct firmware as indicated by Sandeep.
Hit the Update Firmware button and wait for it to complete.

It might be better if you are on a USB 2.0 port and have any security turned off for the process but I did not need to. and my ports are all USB 2.0 anyway.




Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: ballscrewbob on Nov 17, 2018, 07:55 am
Not 100% sure but I just tried a second update to be sure and I think I have hit the same issue as you.

However I unplugged the 1010 and plugged it into another port and it automatic re-installed the driver.
I was able to get the check firmware sketch to upload BUT it now reports as

Code: [Select]
WiFiNINA firmware check.

Communication with WiFi module failed!
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: DrGee on Nov 17, 2018, 08:06 am
This is the lower console output from the sketch UPLOAD.

Code: [Select]
Atmel SMART device 0x10010005 found
Device       : ATSAMD21G18A
Chip ID      : 10010005
Version      : v2.0 [Arduino:XYZ] Mar 19 2018 09:45:14
Address      : 8192
Pages        : 3968
Page Size    : 64 bytes
Total Size   : 248KB
Planes       : 1
Lock Regions : 16
Locked       : none
Security     : false
Boot Flash   : true
BOD          : true
BOR          : true
Arduino      : FAST_CHIP_ERASE
Arduino      : FAST_MULTI_PAGE_WRITE
Arduino      : CAN_CHECKSUM_MEMORY_BUFFER
Erase flash
done in 0.826 seconds

Write 13344 bytes to flash (209 pages)

[=========                     ] 30% (64/209 pages)
[==================            ] 61% (128/209 pages)
[===========================   ] 91% (192/209 pages)
[==============================] 100% (209/209 pages)
done in 0.092 seconds

Verify 13344 bytes of flash with checksum.
Verify successful
done in 0.022 seconds
CPU reset.


That step must be done BEFORE the firmware update.

That DOES NOT UPDATE THE FIRMWARE !
It only prepares the board itself for the update.
Once that is done then you would select WiFi101/WiFiNINA Firmware Updater from the TOOLS menu.
A new panel will open up and this is where you actually start the update process.
Ensure you can see your board and select it in that new panel.
Do a Test Connection to make sure the updater can see and talk to your board.
Now select the correct firmware as indicated by Sandeep.
Hit the Update Firmware button and wait for it to complete.

It might be better if you are on a USB 2.0 port and have any security turned off for the process but I did not need to. and my ports are all USB 2.0 anyway.





Yes, I know all this and it is spelled out quite well in the instructions. I can also differentiate between different library examples. Here is my analogous output.

Code: [Select]

Set binary mode
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
version()=v2.0 [Arduino:XYZ] Mar 19 2018 09:45:14
chipId=0x10010005
Connected at 921600 baud
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
Atmel SMART device 0x10010005 found
write(addr=0x20004000,size=0x34)
writeWord(addr=0x20004030,value=0x10)
writeWord(addr=0x20004020,value=0x20008000)
Device       : ATSAMD21G18A
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
Chip ID      : 10010005
version()=v2.0 [Arduino:XYZ] Mar 19 2018 09:45:14
Version      : v2.0 [Arduino:XYZ] Mar 19 2018 09:45:14
Address      : 8192
Pages        : 3968
Page Size    : 64 bytes
Total Size   : 248KB
Planes       : 1
Lock Regions : 16
Locked       : readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
none
readWord(addr=0x41004018)=0
Security     : false
Boot Flash   : true
readWord(addr=0x40000834)=0
BOD          : false
readWord(addr=0x40000834)=0
BOR          : false
Arduino      : FAST_CHIP_ERASE
Arduino      : FAST_MULTI_PAGE_WRITE
Arduino      : CAN_CHECKSUM_MEMORY_BUFFER
Erase flash
chipErase(addr=0x2000)
done in 0.611 seconds

Write 13344 bytes to flash (209 pages)
write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x2000, size=0x1000)

[=========                     ] 30% (64/209 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x3000, size=0x1000)

[==================            ] 61% (128/209 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x4000, size=0x1000)

[===========================   ] 91% (192/209 pages)write(addr=0x20005000,size=0x440)
writeBuffer(scr_addr=0x20005000, dst_addr=0x5000, size=0x440)

[==============================] 100% (209/209 pages)
done in 0.078 seconds

Verify 13344 bytes of flash with checksum.
checksumBuffer(start_addr=0x2000, size=0x1000) = eca4
checksumBuffer(start_addr=0x3000, size=0x1000) = 58ac
checksumBuffer(start_addr=0x4000, size=0x1000) = ec41
checksumBuffer(start_addr=0x5000, size=0x420) = dd3a
Verify successful
done in 0.013 seconds
CPU reset.
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
writeWord(addr=0xe000ed0c,value=0x5fa0004)



Now, I only see ONE option on the tools menu (see pic) - are you saying that you see more than one?.
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: DrGee on Nov 17, 2018, 08:11 am
Not 100% sure but I just tried a second update to be sure and I think I have hit the same issue as you.

However I unplugged the 1010 and plugged it into another port and it automatic re-installed the driver.
I was able to get the check firmware sketch to upload BUT it now reports as

Code: [Select]
WiFiNINA firmware check.

Communication with WiFi module failed!

Welcome aboard :)

I am going to go to sleep - maybe with some fresh eyes something will come to me.
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: ballscrewbob on Nov 17, 2018, 08:15 am
We were cross purposes. but are now on the same page.



Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: ballscrewbob on Nov 17, 2018, 08:20 am
OK third time was a charm.

Here is what I did and I cannot say which bit helped.

One I ran CCLEANER (my goto clean up tool for testing)
Two Ran Wise Registry cleaner (my other main testing tool)
Both the above I use the FREE version.

Three I restarted my computer.
Four I plugged the MKR into a different USB port.
Five went through Sandeeps destructions again.

Hey presto its alive.
Ran firmware checker sketch and thank goodness it is all OK.

Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: DrGee on Nov 17, 2018, 06:14 pm
All is well.

I downgraded to an earlier version of the NINA library, ran that firmware updater and it successfully wrote and verified. Then I upgrade to the current version and it did the same.

I did nothing special other than turn the machine off and go to sleep, then wake-up and start again. Note, that I had turned it on and off that more than once, the night before.

I used no cleaners, scrubbers, mobs, brooms, crowbars or other implements of Windows 7 coercion.

I will pass this on, however, which is what I noticed and I believe is significant. In ALL of my failed attempts, the firmware updater window simply showed the com port number (COMXX). In all of my successful attempts, the firmware update window showed Arduino MKR WiFi 1010 (COMXX). This may not be automatically assumed from the directions (which are quite good) and it is why I mention it. Note that the reference is NOT to the Port line, it is within the updater window (see pic with CORRECT descriptor below).



If you do not see this, in my opinion and experience, at least on a Win 7 machine, do not bother to go further until you get that rectified. Win 7 has a long history of USB port eccentricities, especially on seasoned machines (like mine) that have been used with a bazillion different devices. I wish I had a simple solution for that, but I don't and I will refrain from the list of usual suspects.
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: DrGee on Nov 17, 2018, 06:30 pm
Just got through playing with the LED example that creates a BLE peripheral with service that contains a
  characteristic to control an LED.

Works like a charm - The LED device is enumerated on nRF Master Control Panel and writing to the characteristic (byte 1 or 0) turns the onboard LED on/off.

I appreciate this so much Sandeepmistry and all others responsible!! I hope for and can't wait to see more (especially central capability - is that in the plans?).



Thanks!
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: ballscrewbob on Nov 17, 2018, 06:38 pm
GRR dont talk to me about the vagaries of win 7, 8, 10 com port issues.
Usually about 14 or more devices LIVE so creeping com port numbers is my number one pet hate. ;)

I used to recommend locking in port numbers but with so many devices coming into contact with my also seasoned machine that can cause its own set of issues so I no longer tell folks to do that.

So now once I get past what appears to be the magic number of 35 I do a com port stack reset.

However I digress...Good to hear you are up and running.

Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: jomoengineer on Nov 23, 2018, 10:20 am
Hi, I have run through the process of updating the Firmware on a new MKR1010 and the instructions worked perfectly.  However, when I run the CheckFirmwareVersion sketch again, it still reports an error although the firmware version does show 1.2.1.  I have the latest WifNINA version 1.3.0 installed, but it looks like it is set to check for 1.2.0 specifically.

grep -rH "WIFI_FIRMWARE_LATEST_VERSION" ../Arduino/
../Arduino/libraries/WiFiNINA/src/WiFi.h:#define WIFI_FIRMWARE_LATEST_VERSION "1.2.0"
 

This is the error I see from CheckFirmwareVersion:

WiFiNINA firmware check.

Firmware version installed: 1.2.1
Latest firmware version available : 1.2.0

Check result: NOT PASSED
 - The firmware version on the module do not match the
   version required by the library, you may experience
   issues or failures.

Cheers,

Jon
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: sandeepmistry on Nov 23, 2018, 03:01 pm
Hi @jomoengineer,

Yes, I can confirm this is an error in the sketch. 1.2.1 is the latest version.

The next version of the the WiFiNINA library will change the == to a >=: https://github.com/arduino-libraries/WiFiNINA/commit/7798c812c4c8fe070247b382fc1b80c66234eaa3 (https://github.com/arduino-libraries/WiFiNINA/commit/7798c812c4c8fe070247b382fc1b80c66234eaa3)
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: H4zz4N on Nov 24, 2018, 09:06 pm
Followed the instruction for updating MKR Wifi 1010 to firmware 1.2.1 and it worked. Thanks for the update.  :)
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: jomoengineer on Nov 29, 2018, 09:00 am
So, with firmware 1.2.1 loaded on the MKR WiFi 1010 is it expected that only BLE support should work or should the WiFi radio work as well?  I tried the WifiNINA WiFiWebClient example with FW 1.2.1 and it will not connect to a router.  If I downgrade to 1.1.0 it connects without issue to the WiFi router.   

Is this expected?
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: sandeepmistry on Nov 29, 2018, 02:59 pm
Hi @jomoengineer,

It's supports both WiFi and BLE.

I just tried the WiFiWebClient example here and all was fine. If you could provide more details on your setup that would be great.
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: jomoengineer on Dec 01, 2018, 03:51 am
Thanks for the confirmation that the FW works with WiFi as well.

For me, it has been a bit hit and miss with regards to whether or not the 1010 connects to my router; maybe just once or twice thus far with FW 1.2.1.  The same basic example under WiFi101 with a MKR1000 and the same router credentials ( I literally copied and pasted the values in arduino_secrets.h) works fine and the MKR1000 connects without issue.  The MKR WiFi 1010 only connects periodically but certainly not consistently.

The router is not broadcasting the SSID, but that should not be an issue since this is being hard coded in the arduino_secrets.h.  I've tried this with Windows 10 as well as 64-bit Ubuntu 16.04 with the same results; the Attempting to connect message just keeps cycling through.

"Attempting to connect to SSID: MySSID"
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: stone_li on Dec 03, 2018, 03:59 am
 :) Thanks for this V1.2.1 update. It saved my broken 1010 which was broken by by firmware updater...BTW. When update is done, there is always a error hint of "verify failed!" I ignored it and reboot the 1010 and it works. So, I guess there is some timing issue during vefification? Anyway, it works!
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: jwestmoreland on Jan 11, 2019, 03:00 am
Hello All,

I was going to ask - it isn't possible to brick the 1010 is it?

When it comes to u-Blox and bricking - I seem to have a knack for that - Ha-ha. 

But I think the previous post answered that.

I suppose a similar process is to be followed for the Vidor and Uno Rev2 - correct?
I will look in those forums.

Thanks,
John W.
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: ballscrewbob on Jan 11, 2019, 03:18 am
It is possible to SEMI brick it but patience and attention to detail seems to get them going again.

Take Care and all will be fine.


Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: jwestmoreland on Jan 11, 2019, 12:44 pm
I've updated my MKR 1010's and the Vidor 4K; the Uno is updating now.  I saw Vidor is only rev 1.1.0 - but I had kicked off the update on that before seeing it only went to 1.1.0 - I thought since the NINA device is common across these boards that the 4K had 1.2.1 available also.

Thanks,
John W.
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: eric_edm on Jan 18, 2019, 09:55 am
there are examples only for peripheral mode. Is the central mode supported ? if not, do you have any plan to support central mode in the future ?
Thanks, Eric.
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: TimArt on Feb 03, 2019, 08:36 am
I would also like to know if there is a central mode we can use instead of peripheral mode.
After digging in the source code (https://github.com/arduino-libraries/ArduinoBLE) a bit, I found the BLEDevice class which seems to be what is referred to as "central mode" and the BLEService class which I believe is associated with "peripheral mode".


What I want to do:
I would like my laptop computer to connect to my Arduino MKR1010 which would be acting as a server. I want the computer to recognize the Arduino as a regular bluetooth device (similar to a bluetooth speaker), then after connection, I want the MKR1010 to stream sensor data to my laptop (this will most likely be setup in a polling mechanism where the computer polls the Arduino for sensor data).

Is there a way I could use the BLEDevice class to achieve this?

Thanks,
Tim
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: sandeepmistry on Feb 04, 2019, 04:10 pm
Hi @TimArt,

Quote
I would also like to know if there is a central mode we can use instead of peripheral mode.
Currently the ArduinoBLE library only supports peripheral mode, central mode support will be added in a later release.

Quote
I would like my laptop computer to connect to my Arduino MKR1010 which would be acting as a server. I want the computer to recognize the Arduino as a regular bluetooth device (similar to a bluetooth speaker), then after connection, I want the MKR1010 to stream sensor data to my laptop (this will most likely be setup in a polling mechanism where the computer polls the Arduino for sensor data).
It seems like you want the board to act as a peripheral device.

Note the board only supports BLE and not bluetooth classic.
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: fabelizer on Feb 15, 2019, 04:54 am
Got a new MKR WIFI 1010 today. Getting it set-up to go. Ran FW version checker...out of date...got the warning. Loaded the updater util, pressed the plugin button, all good so far...shows success.

Loaded the checker again and looked in the monitor to see:

Code: [Select]
WiFiNINA firmware check.

Firmware version installed: 1.2.1
Latest firmware version available : 1.2.0

Check result: NOT PASSED
 - The firmware version on the module do not match the
   version required by the library, you may experience
   issues or failures.


Now, since I am .1 ahead of the game, and I see a BLE build was released, I ass-u-me this will not be a problem, and soon a new code library update will be out in a day or so that makes this all better. If that is not the case, please let me know! ( I am having other IDE issues, so far affecting only ESP32 boards, and I have to wonder if this is related somehow. )

Edit: OOPS...sorry now I see the answer above. Also ran the WiFi Scanner without issue.

Thanks!
-fab
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: sughero on Feb 20, 2019, 05:40 pm
looking forward for the next release of the library with support for central mode... when is expected to be avaiable?
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: thetooth on Mar 27, 2019, 04:14 am
Since no one is willing to help diagnose module not present error. Here it is:

The firmware .bin packaged in all of the nightly images IS corrupted, it is 264192 bytes where a valid firmware is 880640 bytes, I would not expect firmware adding a whole new radio stack to be less than half the size of the previous version.

You can confirm this when running the NINA updater as it will show No. of bytes being written.

A valid firmware file can be found under the ${ur_arduino_dir}/tools/WiFi1010/tool/firmwares/NINA/1.2.1/NINA_W102.bin right where you expect it to be. However the updater tool will ALWAYS use the firmware at ${ur_arduino_dir}/tools/WiFi101/tool/firmwares/NINA/1.2.1/NINA_W102.bin regardless of the chosen board, whether you update your libraries or not.

If you copy the image from the 1010 directory to the 101 directory it will flash it and fail on the verification step, this is also incorrect and can confirm it is working without issue including some preliminary BLE tests.

All builds seem to be broken like this with the exception of linux32 which doesn't include the 1.2.1 version at all.
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: DryRun on May 12, 2019, 11:56 pm
WiFi functionality (using the WiFiNINA library) cannot be used at the same time as BLE.
This is disappointing. Is this possible on other ESP32 boards?
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: ballscrewbob on May 13, 2019, 12:04 am
@DryRun

Please explain "other ESP" boards as not all ARDUINO examples will work with common "esp" boards.


Bob.
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: DryRun on May 13, 2019, 12:24 am
@DryRun

Please explain "other ESP" boards as not all ARDUINO examples will work with common "esp" boards.


Bob.

For example, the Adafruit HUZZAH ESP8266 and HUZZAH ESP32, or the Sparkfun ESP32 Thing.
Title: Re: Firmware Update 1.2.1 - available now, with BLE mode
Post by: ballscrewbob on May 13, 2019, 04:04 am
Well none of those are the MKR series so best guess in NO.

At least not at this moment.

Bob.