I would like ask you how is in milk-v initiated the program compiled in arduino ide?
Can I disable it from linux console?
Thanks!
Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales01@spotpear.com
dragon_manager@163.com
services01@spotpear.com
manager01@spotpear.com
WhatsApp:13246739196
I would like ask you how is in milk-v initiated the program compiled in arduino ide?
Can I disable it from linux console?
Thanks!
If you want to shut down the running Arduino firmware, execute:
echo stop > /sys/class/remoteproc/remoteproc0/state
If you want to disable the Arduino firmware that automatically runs on startup, execute:
rm /lib/firmware/arduino.elf
sync
reboot
report
I add:
The arduino process is possible to start again.
[root@milkv-duo]/sys/devices/platform/c906l_rproc@0/remoteproc/remoteproc0# echo stop > state
[root@milkv-duo]/sys/devices/platform/c906l_rproc@0/remoteproc/remoteproc0# cat state
offline
[root@milkv-duo]/sys/devices/platform/c906l_rproc@0/remoteproc/remoteproc0# echo start > state
[root@milkv-duo]/sys/devices/platform/c906l_rproc@0/remoteproc/remoteproc0# cat state
running
[root@milkv-duo]/sys/devices/platform/c906l_rproc@0/remoteproc/remoteproc0#
Many thanks to Spotpear for your answers!
Jaroslav
report
One more add:
It is possible to stop arduino process, then create new arduino.elf (by renaming or copying...)
and then to start the other arduino process.
That is very simple way to changing the arduino code.
See you
Jaroslav
report