Understanding Dynamic Changes to the Spresense Arduino Executable

Asked 2 years ago, Updated 2 years ago, 135 views

I am creating a program in the Arduino-IDE environment using Spresense.

Question
·I would like to transfer the execution binary output from Arduino-IDE to an SD card and update the program written on the flash of the sprense

In ESP32, programs written on Flash can be rewritten by ArduinoOTA, but how do you rewrites programs on the Arduino part by itself?

Development Environment
·Spresense body + spresenselte expansion board
·Arduino IDE

spresense arduino

2022-09-30 14:47

1 Answers

In a Spresense SDK environment, you can create a low-level application that separates the Linux kernel from the application.
https://developer.sony.com/develop/spresense/docs/sdk_tutorials_ja.html#_ Low-Double elf Tutorial
You can select and run multiple applications (running binaries) on your SD card, so you can update the application just by replacing it.

I don't think it's a pinpoint answer to the question...
As far as I can see, this feature is not yet supported in an Arduino environment.


2022-09-30 14:47

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.