JAndrassy / ArduinoOTA

Arduino library to upload sketch over network to Arduino board with WiFi or Ethernet libraries
GNU Lesser General Public License v2.1
457 stars 92 forks source link

Support NANO 33 BLE via Bluetooth? #49

Closed tangtangdn closed 4 years ago

tangtangdn commented 4 years ago

Hi,

Thank you very much for your library. I see you said this library supports "Nano 33 BLE OTA over TCP should work too (I have nRF5 support in the library)". I am using Nano 33 BLE which has no WiFi function. Could you kindly give an example of how to update the firmware of NANO 33 BLE with ArduinoOTA via OTA? Thank you very much.

Kind regards, Tang

JAndrassy commented 4 years ago

Nano 33 BLE is not supported yet. the code for nRF51 doesn't work for nRF52840

tangtangdn commented 4 years ago

Nano 33 BLE is not supported yet. the code for nRF51 doesn't work for nRF52840

Thank you very much for the prompt response and important information.

tangtangdn commented 4 years ago

Dear Juraj,

Thank you so much for your prompt response. I see your library supports WiFiNINA - MKR 1010, MKR 4000, Nano 33 IoT and any supported MCU with attached ESP32 as SPI network adapter with WiFiNINA firmware. Is it can be used to upload the program (sketch) to Nano 33 IoT through wireless method (WiFi or Bluetooth)? May I just try this WiFi101_OTA examplehttps://github.com/jandrassy/ArduinoOTA/tree/master/examples/WiFi101_OTA? Many thanks in advance and have a great day.

Kind regards, Tang

From: Juraj Andrássy notifications@github.com Sent: 2020年11月19日 5:17 To: jandrassy/ArduinoOTA ArduinoOTA@noreply.github.com Cc: tangtangdn tangtangdn@hotmail.com; Author author@noreply.github.com Subject: Re: [jandrassy/ArduinoOTA] Support NANO 33 BLE via Bluetooth? (#49)

Nano 33 BLE is not supported yet. the code for nRF51 doesn't work for nRF52840

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jandrassy/ArduinoOTA/issues/49#issuecomment-730135143, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGGIYJRWIMPYGOADT2G4AGLSQSS3FANCNFSM4T2U3T3Q.

JAndrassy commented 4 years ago

SAMD21 was already supported with the WIFi101_OTA library. (ArduinoOTA is enhanced version of it) WiFiNINA library is a supported way of upload. ArduinoOTA library (and WIFi101_OTA library) supports only TCP upload. Alternatively and it can be used with other transport way to store and apply the update.

tangtangdn commented 4 years ago

Dear Juraj, Thank you so much for your prompt and professional response. Kind regards, Tang

From: Juraj Andrássy notifications@github.com Sent: 2020年11月19日 12:19 To: jandrassy/ArduinoOTA ArduinoOTA@noreply.github.com Cc: tangtangdn tangtangdn@hotmail.com; Author author@noreply.github.com Subject: Re: [jandrassy/ArduinoOTA] Support NANO 33 BLE via Bluetooth? (#49)

SAMD21 was already supported with the WIFi101_OTA library. (ArduinoOTA is enhanced version of it) WiFiNINA library is a supported way of upload. ArduinoOTA library (and WIFi101_OTA library) supports only TCP upload. Alternatively and it can be used with other transport way to store and apply the update.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jandrassy/ArduinoOTA/issues/49#issuecomment-730338191, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGGIYJT5YFZ5RWAPDJCREMDSQUEMHANCNFSM4T2U3T3Q.

andreacab2 commented 2 years ago

Is it supported now by any chance?

JAndrassy commented 2 years ago

no. Nano BLE is not supported and BLE transport is not supported in this library. but I think nRF52 SDK supports BLE OTA

baconcheese113 commented 2 years ago

I'm currently trying to switch from the nano 33 IoT to the Seeed XIAO nRF52840 (same processor as nano 33 BLE)

I had only been using InternalStorage.cpp to write() and apply() the update. Just to clarify, are you saying that the ARDUINO_ARCH_NRF5 code will not work for the nRF52 to write to the flash?

JAndrassy commented 2 years ago

nRF51 and nRF52 boards are in ArduinoOTA only supported with the sandeepmistry/arduino-nRF5 core. this core doesn't support nRF52840 (because Nordic SDK version which supports nRF52840 has support for nRF51 removed).