Replies: 5 comments 4 replies
-
I don't have a SAMD51 Arduino. The SAMD51 support was added by Blynk maintainer V. Shymanskyy. He tested it with Seeed Wio Terminal. |
Beta Was this translation helpful? Give feedback.
-
Hi @JAndrassy, Thank you for the explanation regarding the macro ARDUINO_ARCH_SAMD. I am trying to understand the code written for an Arduino SAMD board by studying the library. In InternalStorage.cpp file, lines 92-99: I understand that rowSize = (pageSize * 4) as each row consists of 4 pages. However, could you please help me understand why NVMCTRL->ADDR.reg = ((uint32_t)(address + i)) / 2? |
Beta Was this translation helpful? Give feedback.
-
sorry I didn't code the SAMD support. it is inherited from the WiFi101OTA library. |
Beta Was this translation helpful? Give feedback.
-
@Bhindhiya based on this post https://forums.adafruit.com/viewtopic.php?p=928959#p928959 I believe you got around the issue you report in your original post. I am trying to achieve the same goal (upload sketch to Adafruit Grand Central M4 over ESP8266 with WifiEspAT) and hit the same problem. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I was able to successfully update the firmware on my Arduino MKR Zero board using the OTEthernet sketch example available in this library. I used the W5500 Ethernet shield interfaced to my MKR Zero board.
I am attempting to do the same exercise using a Grand Central M4 board (SAMD51). I am able to successfully flash the sketch from the Arduino IDE through the COM port and I can see the Network Port listed in Tools -> Ports after the sketch is flashed successfully.
When I flash the updated sketch using the Network Port, the console displays a message that the sketch was successfully flashed. However, the COM port is not detected anymore after this step when I connect the board and the board does not behave according to the updated code. A manual reset of the board does not have any effect either.
Has this been attempted previously? Any guidance w.r.t. any modifications that are required to be made to make this sketch work would be extremely helpful. Thank you for your support.
Best Regards,
Bhindhiya Raja
Beta Was this translation helpful? Give feedback.
All reactions