deploy USRP SDRu model on target hardware Raspberry Pi 3

3 views (last 30 days)
Hi everyone, I have the following problem: 1-I have installed UHD on RPi3, verify that everything is working with uhd_usrp_probe command. 2- I have a very simple model using B200 block from USPR Support Package, that transmitte a tone. 3- Then I setup the right serial number on the block. 4- I try to deploy the model on Raspberry Pi3, but fails with the following error:
### Build procedure for model: 'sdrufreqcalib2' aborted due to an error. Error executing command "touch -c /home/pi/sdrufreqcalib2_ert_rtw/*.*;make -f sdrufreqcalib2.mk all -C /home/pi/sdrufreqcalib2_ert_rtw". Details:
STDERR: make: * No rule to make target 'libmwusrp_uhd_capi.lib', needed by '../sdrufreqcalib2.elf'. Stop.
STDOUT: make: Entering directory '/home/pi/sdrufreqcalib2_ert_rtw' gcc -c -MMD -MP -MF"sdrufreqcalib2.c.dep" -MT"sdrufreqcalib2.c.o" -O0 -DMODEL=sdrufreqcalib2 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DRT -DSTACK_SIZE=64 -DMODEL=sdrufreqcalib2 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -I./ -o "sdrufreqcalib2.c.o" "sdrufreqcalib2.c" gcc -c -MMD -MP -MF"sdrufreqcalib2_data.c.dep" -MT"sdrufreqcalib2_data.c.o" -O0 -DMODEL=sdrufreqcalib2 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DRT -DSTACK_SIZE=64 -DMODEL=sdrufreqcalib2 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -I./ -o "sdrufreqcalib2_data.c.o" "sdrufreqcalib2_data.c" gcc -c -MMD -MP -MF"linuxinitialize.c.dep" -MT"linuxinitialize.c.o" -O0 -DMODEL=sdrufreqcalib2 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DRT -DSTACK_SIZE=64 -DMODEL=sdrufreqcalib2 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -I./ -o "linuxinitialize.c.o" "linuxinitialize.c" make: Leaving directory '/home/pi/sdrufreqcalib2_ert_rtw'
ANY HELP, MATLAB SUPPORT?

Answers (1)

Ethem
Ethem on 21 Sep 2017

Community Treasure Hunt

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

Start Hunting!