Skip to content

Support for Renesas MCUs #207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vshymanskyy opened this issue Jul 8, 2023 · 12 comments
Closed

Support for Renesas MCUs #207

vshymanskyy opened this issue Jul 8, 2023 · 12 comments

Comments

@vshymanskyy
Copy link
Contributor

As Arduino has released Portenta C33 and UNO R4, please consider adding these boards.

@JAndrassy
Copy link
Owner

yes I want to add at least the Uno R4. but it is not available in Europe yet. only as pre-order in some e-shops.
Arduino offered samples for developers some months ago, but I didn't think it would be interesting.

@mikeycoding
Copy link

Hi JAndrassy,

the Uno R4 has been released and I already own one. The OTA support is heavily requested in the Arduino forums as well on other platforms.

Is there any ETA on when you will release support for the R4 WiFi? Thank you.

@vshymanskyy
Copy link
Contributor Author

There is no active work being done on it, so why asking about ETA?

@mikeycoding
Copy link

There is no active work being done on it, so why asking about ETA?

Why so rude? I just wanted to kindly ask if the author has any plans to implement it and if so, whether there is an estimation on when it will be done.

@JAndrassy
Copy link
Owner

JAndrassy commented Jul 31, 2023

so I am working on it slowly. the Renesas SDK library bundled with the core is pre-build by Arduino without flash writing functions. so my next step is to install the Renesas toolchain and rebuild the lib.
also the bundled BlockDevice Arduino library works only for Portenta C33 'code flash' write, but that is easy to fix.
If Arduino works on Cloud OTA, they will have to make this steps too.

@mikeycoding
Copy link

You are awesome. Thank you for your hard work.

@JAndrassy
Copy link
Owner

done

@yann-l
Copy link

yann-l commented Oct 2, 2023

Is there any change to have it ported for Portenta C33 ?

@JAndrassy
Copy link
Owner

JAndrassy commented Oct 3, 2023

For C33 you can use the SFU library. The UpdateFromFile example show how to store the update binary for the SFU library.

If you want to upload from IDE with this library, you can use custom Storage as demonstrated by the CustomStorageNanoConnect example.

EDIT: OTA download example for C33 SFU just appeared as a PR arduino/ArduinoCore-renesas#157

@yann-l
Copy link

yann-l commented Oct 3, 2023

Ho excellent!
Indeed SFU is easy to use, but the download part were missing, and downloading a big file like an ota file with SSLClient is not possible (https://stackoverflow.com/questions/75941895/why-does-my-https-request-get-disconnected-on-large-files). My attempts with a 2-3ko file failed (over SSL only). an ota file is at lease 300ko.

Reading the new PR, they use SSLClient to download the file, so I'm a bit septic, but I'll give it a try soon!

@JAndrassy
Copy link
Owner

@yann-l, you want download from a server or upload from the IDE?

@yann-l
Copy link

yann-l commented Oct 4, 2023

I want to download from a server. arduino/ArduinoCore-renesas#157 is perfect, but it needs arduino/ArduinoCore-renesas#134 to work correctly. With both applied, I was able to make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants