Part Number:AM3358
Tool/software: Linux
Hello,
I am testing PRU lab_6 on BeagleBone Black: ' Blinking LEDs with RPMsg from Linux User Space'.
It is working if I load the execute file (*.out) for the first time. If I load other execute files (other lab's examples) and then load execute files of lab 6.
It does not work. (echo "b" > /dev/rpmsg_pru30 does not make LED blinking).
I need to reboot the board to make lab_6 working again. What is problem? Is there any command to restart remoteproc and rpmsg instead of reboot the board?
My testing command:
echo 'PRU_RPMsg_LED0.out' > /sys/class/remoteproc/remoteproc0/firmware
echo 'PRU_Halt.out' > /sys/class/remoteproc/remoteproc1/firmware
echo 'start' > /sys/class/remoteproc/remoteproc0/state
echo 'start' > /sys/class/remoteproc/remoteproc1/state
echo "b" > /dev/rpmsg_pru30
I am using SDK vesion: ti-processor-sdk-linux-am335x-evm-05.03.00.07
Thank You