simshineaicamera / SIMCAM_SDK

SimCam SDK
60 stars 15 forks source link

Detect_Demo shows Segmentation fault #2

Open gemunet opened 4 years ago

gemunet commented 4 years ago

Hi, I have the SimCam fw 20190923

I have followed all the steps to run Detect_Demo (the compiled and recompiled version) but it gives me the following error

` gemu@devel:~$ telnet 192.168.0.1 Trying 192.168.0.1... Connected to 192.168.0.1. Escape character is '^]'.

(none) login: root Password: Welcome to HiLinux. None of nfsroot found in cmdline. ~ # ls pm_callback ~ # cd /mnt/DCIM/ emergency_video/ thumb/ video/ voice/ ~ # cd /mnt/DCIM/ /mnt/DCIM # ls Demo config.txt gender rtl_hostapd_2G.conf voice Detect_Demo emergency_video person_face thumb Detect_Server_Process emotion rootfs video /mnt/DCIM # ./Detect_Demo shmid=0 ntpd: bad address 'us.ntp.org.cn' send app Detect_Server_Process size :862476 sleep 3s for 2450 boot up fd : 4,ret : 0 Segmentation fault /mnt/DCIM # `

How can I correct it?

RamatovInomjon commented 4 years ago

Hi, Please use SDK version of firmware to run the demo, https://github.com/simshineaicamera/SIMCAM_SDK/blob/master/src/rootfs Our commercial version of firmware does not support some dependencies, it is slightly different from public SDK version Thanks

gemunet commented 4 years ago

Hello, I have used the correct sdk firmware, I have placed all the files on the SD card as described and it is an error

RamatovInomjon commented 4 years ago

is it same error? Please make sure that SDK version of firmware updated correctly,
Note* if the firmware updated to SDK version you cannot connect the camera to your Simcam app, Simcam app does not support SDK version of firmware for now.