Hi,
I ran the test [as a binary image from linux] and all i get is this
/ipc/dsp_bt aic_loopback_9x31_dbg.bin
===DSP boot Application===(1.1.01)==
SYSTEM MAP
DSP PrivArea: Addr=38000000 Size=8000000
Shared CtrlArea: Addr=37000000 Size=1000000
DSP Core0 M2: Addr=b0000000 Size=80000
DSP Core1 M2: Addr=0 Size=0
DSP M3: Addr=0 Size=0
PA CCSRBAR: Addr =ff700000 Size=100000
DSP CCSRBAR: Addr =ff600000 Size=100000
PA Shared Area: Addr=20000000 Size=f000000
DSP Shared Area: Addr=2f000000 Size=1000000
DSP READY SET
Copy Part b0000000 206d6
Copy Part b0024000 2f74
Copy Part ff618108 4
DSP HW Sem1 value not correctly set, value=0
DSP Boot Failed, Please reset
=============
I DONT see any prints as put in the console of the RDB board. I went through the code, and the code has good amount of printf statements.
as part of README.txt, it says following
a. Run Linux boot
b. Run Linux PA side AIC scripts
i don't see any PA side AIC scripts, where can i find those, please help.
Thanks
RC Reddy
Hi,
Here the "b. Run Linux PA side AIC scripts" is related to "rftool".
The "rftool" --Radio Interface Tool-- is a binary, a command line utility, for configuring and retrieving debug information for a particular RF device. For example, to configure the ADDI-9361 radio PHY card for 782MHz (band13) for 10MHz channel:
/rf-util/rftool -i rf2 -r AD9361R2_TX1B_RX1B_TX1B_RX2B_LB_782_MHz_LTE_10_MHz_12bit_AGC_Single_Table_L1.txt /rf-util/rftool -i rf2 -c init_lte_10mhz -m 2T2R -b LTE_BAND13 /rf-util/rftool -i rf2 -c time_sync_start
Now give start command to AIC so that it starts AIC module: root@psc9131rdb:~# /rf-util/rftool -i rf2 -S
See the document named "User Manual for rflib and rftool" attached.
Have a great day,
Lunmin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
appreciate your reply.
is this file present elsewhere within installation folders of CW or user has to do his own PhD/RnD to come up with this script. Meanwhile, what is the purpose of the printf statements in the C code, when they CANT be routed to UART. i assume the AIC loopback example prints WONT show up on the console as there is no support of UART in that Example. please provide the justification of the prints in the example code.
Thanks
RC Reddy
Hi,
is this file present elsewhere within installation folders of CW or user has to do his own PhD/RnD to come up with this script.
>>This file is in WUSDK. AD9361 configuration scripts are located in BSP file system at: rf-util/config/AD9361/
Meanwhile, what is the purpose of the printf statements in the C code, when they CANT be routed to UART. i assume the AIC loopback example prints WONT show up on the console as there is no support of UART in that Example. please provide the justification of the prints in the example code.
>> Those printf will only shows in CodeWarrior console when attaching the target.
Have a great day,
Lunmin
I am having a similar problem to RC Reddy.
My current procedure is:
run debug_halt_off (in uboot)
/rf-util/rftool -i rf2 –r AD9361R2_TX1A_TX2A_RX1A_RX2A_LB_751_782_MHz_LTE_10_MHz_AGC_Split_Gain_Table_ver1.0.8.txt --synth_table SynthLUT_40_FDD_v2.txt
/rf-util/rftool -i rf2 -c init_lte_10mhz --band 7 -m 2T2R --dl_delay 0x0001 --ul_delay 0x8070
/rf-util/rftool -i rf2 -c init_pps --pps_source nlm_pps
/rf-util/rftool -i rf2 -c time_sync_start
/rf-util/rftool -i rf2 –S
/ipc/dsp_bt aic_loopback_9x31_rel.bin
which leads to getting a message:
root@bsc913x:~# /rf-util/rftool -i rf2 -S
fsl-aic ff650000.aic: rf2:sync cleared 80000000
root@bsc913x:~# /ipc/dsp_bt aic_loopback_9x31_rel.bin
===DSP boot Application===(1.1.02)==
SYSTEM MAP
DSP PrivArea: Addr=38000000 Size=8000000
Shared CtrlArea: Addr=37000000 Size=1000000
DSP Core0 M2: Addr=b0000000 Size=80000
DSP Core1 M2: Addr=0 Size=0
DSP M3: Addr=0 Size=0
PA CCSRBAR: Addr =ff700000 Size=100000
DSP CCSRBAR: Addr =ff600000 Size=100000
PA Shared Area: Addr=10000000 Size=f000000
DSP Shared Area: Addr=1f000000 Size=1000000
DSP READY SET
Copy Part b0000000 120c6
Copy Part b0014000 2f0c
Copy Part ff618108 4
DSP image copied
sleep 4 sec
DSP HW Sem1 value not correctly set, value=0
DSP Boot Failed, Please reset
Anything on this from someone @ Freescale?
Hi,
I tried to run the example release binary image and all i get is nothing. how can i make out the example is run to success or not. please help.
Thanks
Hi Freescale Team,
my question on aic loopback demo is lying idle since last week, it so frustrating to daily open up and see response and i dont see any. what is stopping you guys from responding. sorry, i have reached my frustration peaks. I AM stuck on the code, it does not run.
Thanks
RC Reddy
its the same whether i run the debug or the release version
/ipc/dsp_bt aic_loopback_9x31_rel.bin
===DSP boot Application===(1.1.01)==
SYSTEM MAP
DSP PrivArea: Addr=38000000 Size=8000000
Shared CtrlArea: Addr=37000000 Size=1000000
DSP Core0 M2: Addr=b0000000 Size=80000
DSP Core1 M2: Addr=0 Size=0
DSP M3: Addr=0 Size=0
PA CCSRBAR: Addr =ff700000 Size=100000
DSP CCSRBAR: Addr =ff600000 Size=100000
PA Shared Area: Addr=20000000 Size=f000000
DSP Shared Area: Addr=2f000000 Size=1000000
DSP READY SET
Copy Part b0000000 11cc6
Copy Part b0012000 2f04
Copy Part ff618108 4
DSP HW Sem1 value not correctly set, value=0
DSP Boot Failed, Please reset
Can you please provide detailed instructions on how to run the binary image?. README.txt doesn't specify where to find those files.
Thanks
RC Reddy