ADI RF SOM not booting with updated init.sh

2 次查看(过去 30 天)
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

采纳的回答

Christian Amey
Christian Amey 2019-6-15
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.

更多回答(0 个)

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by