• sales

    +86-0755-88291180

I would like ask you how is in milk-v initiated the program compiled in arduino ide?

2024-03-22 15:37:57 Ask

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! 

milk-v duo initiated the program compiled in arduino ide
3answers
SpotPearGuestf9576
Answer time:
2024-03-22 15:39:31

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


Like2

report

SpotPearUser248
Answer time:
2024-03-22 21:54:53

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

Like0

report

SpotPearGuest4196e
Answer time:
2024-03-27 07:37:10

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


Like0

report