Borrar filtros
Borrar filtros

Unable to continue running my application on rebooting Xilinx Zynq Ultrascale RFSoC after deploying in "Build, Load and Run" mode.

11 visualizaciones (últimos 30 días)
I was trying to run my application continuosly even if I reboot my device. The use case is I build the code for Xilinx RFSoC via SoC blockset in "Build, Load and Run" mode. After comilation and successful deployment, the application continues running as long as I keep my device powered up. But when I reboot my device, the deoployed application does not start back.
My question is, should'nt it start back automatically on reboot? or will I need to write some custom linux service for that?
  1 comentario
Hussain Ali
Hussain Ali el 18 de Mzo. de 2024
You need to add the generated .elf file in the SD Card and edit the init.sh script so that your elf file runs at boot everytime. To do that copy your elf file to any folder on SD card prefferably /mnt and open the init.sh file and add this line, save and then reboot.
/mnt/NAME_OF_YOUR_ELF_FILE.elf &
to save your elf file in SD card, use following commands
z=zynq;
z.putFile('NAME_OF_YOUR_ELF_FILE.elf','/mnt')
NOTE: You need to have connection with your hardware board and your elf file must be placed in current working direcotry of MATLAB

Iniciar sesión para comentar.

Respuestas (0)

Productos


Versión

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by