narlee
April 10, 2024, 12:24am
1
Does it possible to burn smallcore with Arduino sketch remotely or from big core directly without using <PC USB & Duo connection>?
I have Duo with Ethernet and I need to burn Arduino scetches remotely - from ethernet or form itself (Duo - Linux).
#Arduino
if you look at this post
Here’s a blinky app for the small core using Zephyr OS: GitHub - kinsamanka/milkv-zephyros: Zephyr OS running on Milk-V Duo secondary processor
A pre-compiled binary is available here .
Make sure to use the latest Arduino image in order to run this binary.
To test, just copy zephyr.elf to /lib/firmware directory and issue the following commands:
echo stop > /sys/class/remoteproc/remoteproc0/state
echo -n zephyr.elf > /sys/class/remoteproc/remoteproc0/firmware
echo start > /sys/class/remotepro…
you can copy it over to lib/firmware
and run, where zephyr .elf is your arduino compiled elf
echo stop > /sys/class/remoteproc/remoteproc0/state
echo -n zephyr.elf > /sys/class/remoteproc/remoteproc0/firmware
echo start > /sys/class/remoteproc/remoteproc0/state