ADI RF SOM not booting with updated init.sh

5 visualizzazioni (ultimi 30 giorni)
I'm trying to get the ADI RF SOM to run my generated software at boot-up but it doesn't seem to work. I've modified the /mnt/init.sh file on the SD card with the <modelname>_interface that was generated in the Workflow Advisor. If I run the init.sh file directly in PuTTY, it will boot the SOM correctly. When I power cycle the system, however, during boot-up, it seems to work for a fraction of a second before going "silent.
To elaborate, my project is sending data and clock to two external ports and when I power cycle the SOM, enough data gets through for the application to generate a clock but the data returns to zero. If I run the init.sh from the shell like I mentioned above, both data and clock work.
Am I missing something in the modification of the init.sh file? I can't figure out why this is not working.
Thanks,
Christian

Risposta accettata

Christian Amey
Christian Amey il 15 Giu 2019
I just figured out the problem. When editing the init.sh file, the command line you enter should look like this,
./<directory name>/<modelname>_interface&
I didn't know about the ampersand (&) after the file. It appears to function like a <RETURN>. Now, the ADI RF SOM boots up running just like I want it. I hope this easy fix helps others looking for this answer.

Più risposte (0)

Categorie

Scopri di più su Deployment, Integration, and Supported Hardware in Help Center e File Exchange

Prodotti


Release

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by