Hey
I am trying to run the calculator example on the adsp.the step as follows:
1.run setep_cmd_env.com
2.run "python calculator_walkthrough.py"
run "/vendor/bin/calculator 1 1 1000" was ok.
when I run "/vendor/bin/calculator 0 1 1000"。
the output was
" - starting calculator test
adspmsgd not supported
- allocate 4000 bytes from ION heap
- creating sequence of numbers from 0 to 999
- compute sum on the DSP
Error: compute on DSP failed"
logcat claims:
dsprpc/src/fastrpc_apps_user.c:171::error: -5: 0 == (nErr = dlerr)
dsprpc/src/fastrpc_apps_user.c:174: dlopen error: adspmsgd_adsp cannot find file or invalid file descriptor: fd=:-1
dsprpc/src/fastrpc_apps_user.c:171::error: -5: 0 == (nErr = dlerr)
dsprpc/src/fastrpc_apps_user.c:174: dlopen error: calculator cannot find file or invalid file descriptor: fd=:-1
dsprpc/src/fastrpc_apps_user.c:171::error: -5: 0 == (nErr = dlerr)
dsprpc/src/fastrpc_apps_user.c:174: dlopen error: adspmsgd_adsp cannot find file or invalid file descriptor: fd=:-1
the log didn't tell the file name which it needed。I dont know what's going wrong.also I set the "ADSP_LIBRARY_PATH" with the "XXX.so" location.
thanks for any help.
can you please give us minidm logs also ?
I used the pixel phone which was rooted. I just run the calculator_walkthrough.py and didn't use minidm.
I also tried to run downscaleBy2, logcat declared signature verify failed.
doesn't the OEM phones or tablets can be use for DSP debug?