-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant run the 1st code on Snapdragon #5612
Comments
Have you updated to the BSP 3.1.1 and the latest adsp image? |
same error, but also have timer difference too big |
Thanks @julianoes , |
@Stifael: does the error persist with thr latest BSP and adsp image? |
@anujkumargupta and @Stifael: I can't reproduce the error, it works for me. Can you list down all the commands you entered, maybe I can spot what you're doing different. |
HI @julianoes Today i just tried a different thing instead of pushing the q6-admin.sh i edited it in adb shell and now it works fine but still the Ground control station does detect it. here is mini-dm output anuj@anuj-vm:~/Qualcomm/Hexagon_SDK/3.0/tools/debug/mini-dm/Linux_Debug$ ./mini-dm Thanks |
Do you always get this |
Hi root@linaro-developer:/home/linaro# ./px4 mainapp.config | ___ \ \ \ / / / | px4 starting. INFO [sdlog2] [blackbox] /root/log/sess009 This is mini-dm anuj@anuj-vm:~/Qualcomm/Hexagon_SDK/3.0/tools/debug/mini-dm/Linux_Debug$ ./mini-dm This time i didnot get the FIFO overflow output i tried to connect it using wifi module but the signal is very week (even when i kept it at a distance of max 20cm) and ping output shows destination host not reachable root@linaro-developer:/# ping 192.168.1.12 How to increase its signal strength |
Do you have an antenna connected to the Snapdragon? This would increase the signal strength. However, for testing I use it without antenna and it is usually good enough for a few meters. |
@anujkumargupta it looks like the first error is gone though:
Do you know what you changed to resolve it? |
Hi earlier in pinging it shows error because i also connected my lan cable but after removing the lan i can ping the device. root@linaro-developer:/# ping 192.168.1.12 but the adb shell and mini-dm output is same |
Ok, good so it was a routing issue. The adb shell and mini-dm output look ok. It is just complaining that no external mag is connected but it will fall back to the internal mag. I would expect that QGC shows something now, no? |
Hi @julianoes |
Ok interesting, I'll try to reproduce this. In theory both "editing" variants should lead to the same. |
@anujkumargupta you were right! If you do |
Hi
I am working with Snapdragon FC and trying to run my 1st code as mentioned in dev.px4.io.
I have build the code using make eagle_default and uploaded it in FC but when i am running the code found this error
root@linaro-developer:/home/linaro# ./px4 mainapp.config
sh: 1: cannot create /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor: Directory nonexistent
commands file: mainapp.config
creating new parameters file
creating new dataman file
| ___ \ \ \ / / / |
| |/ / \ V / / /| |
| __/ / \ / /| |
| | / /^\ \ ___ |
| / / |/
px4 starting.
ERROR [muorb] Initialize Error calling the uorb fastrpc initalize method..
INFO [sdlog2] [blackbox] /root/log/sess001
INFO [sdlog2] [blackbox] recording: log001.px4log
ERROR [muorb] ERROR: FastRpcWrapper Not Initialized
MAV_BROADCAST: curr: 0ERROR [platforms__posix__px4_layer] krait update param 301 failed
-> new: 1
SDLOG_PRIO_BOOST: curr: 2ERROR [platforms__posix__px4_layer] krait update param 664 failed
-> new: 3
INFO [dataman] Unkown restart, data manager file '/home/linaro/dataman' size is 103090 bytes
INFO [mavlink] mode: Normal, data rate: 1000000 B/s on udp port 14556 remote port 14550
pxh> INFO [mavlink] using network interface wlan0, IP: 192.168.1.1
INFO [mavlink] with broadcast IP: 192.168.1.255
anuj@anuj-vm:~/src/Firmware$
Earlier i was getting the same error so i had build all the cross toolchain installation and build the code using make but again same error.
Mini-DM is not showing anything
anuj@anuj-vm:~/src/Firmware$ ${HEXAGON_SDK_ROOT}/tools/debug/mini-dm/Linux_Debug/mini-dm
Running mini-dm version: 3.0
Device found with Product ID 0x9025. Continuing...
mini-dm is waiting for a DMSS connection...
DMSS is connected. Running mini-dm...
thanks
The text was updated successfully, but these errors were encountered: