ADI RF SOM not booting with updated init.sh

조회 수: 1 (최근 30일)
Christian Amey
Christian Amey 2019년 6월 15일
답변: Christian Amey 2019년 6월 15일
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