Azzera filtri
Azzera filtri

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

11 visualizzazioni (ultimi 30 giorni)
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 Commento
Hussain Ali
Hussain Ali il 18 Mar 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

Accedi per commentare.

Risposte (0)

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by