Aug 26 2019 10:28 PM
Hi,
I am trying to do factory reset of vision-ai-developer-kit. But clicking twice on power button does not work!
Initially I tried connecting the device to wifi and I am trying to reset my wifi settings now. The camera always gets connected to wifi (green led lights on) but no IoT connectivity.
I tried `http://XX.XX.XX.XX:3000` to see the stream but not able to connect. I tried pinging but I get to see Request timed out. as response. Also via vls player with rtsp (`rtsp://XX.XX.XX.XX:8900/live`)
I tried with adb but still not able to connect with the device adb connect `XX.XX.XX.XX:3000 ` cannot connect to `XX.XX.XX:3000` A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (10060)
Can someone please let me know how to do proceed or do factory reset? Thanks.
Any help would be really helpful in setting up this kit quickly. Thanks.
Regards
Lavi
Aug 28 2019 10:00 AM
@Lilly_09 To factory reset the Vision AI Dev Kit, hold the button on the back of the device down for 12 seconds or longer.
Aug 28 2019 01:31 PM
You can press the power button for 5 seconds (give or take) and get the device back to AP mode meaning that then you can login to devices's WiFi. When the device is in AP mode it's flashing the colors. It opens http://setupaicamera.ms page. As you have done the initial setup already it provides you with two options 1) Reset the device and run out-of-box experience again 2) just reconfigure the WiFi. Note that there is a known issue with device colors not always being correct when resetting the device (https://github.com/microsoft/vision-ai-developer-kit/issues/234)
The streaming should work as long as your laptop is connected to the same network than the camera (I have seen it work also with your laptop still being connected to the camera). In case it doesn't you can start troubleshooting with adb and first check that the streaming module is running by doing "adb shell docker ps".
Here is a little bit more information regarding streaming with media player:
https://azure.github.io/Vision-AI-DevKit-Pages/docs/RTSP_stream/
Sep 16 2019 11:06 AM
Sep 18 2019 04:32 PM
Dec 18 2019 03:33 AM
@Lilly_09Any updates? I got the same problem, i cant see any stream...
Dec 18 2019 11:24 AM
@MarcoWirtl what firmware version are you running? Try holding/pressing the button on the back for 5+ seconds to factory reset the device and set up the device again.
Also, what do you see for the web browser webstream?
Dec 18 2019 09:38 PM
@MarcoWirtlYou may try upgrading the firmware https://azure.github.io/Vision-AI-DevKit-Pages/docs/Recover_device/
That resolved our issues
Dec 18 2019 11:33 PM
Hey Guys,
- Devices is attached
- Current Version (Shipping version) : v0.4940_Perf
- Is connected to WIFI and Azure IoT Hub
- All 4 Modules are on the camera (adb shell docker ps)
Running on Windows PC i copy the "FastbootUpgrade_v6_5.bat" + "VisionAIDevKit_InstallCheck.bat" File from the FW_UpgradeScript_Windows_v6_5 in the v0.5330_Perf Folder (where or what is the flat images folde in the PDF mentioned? / folder that contains the actual firmware files?)
--> see Screenshot 1
In this case when i run the FastbootUpgrade.bat i get an error (../v0.5330_Perf/abl.elf is missing(X) --> Screenshot 2)
Can anyone help?
Dec 19 2019 09:08 AM
If you run the scripts in the same folder than where the firmware is you'll need to change this row in Fastboot script to look like this:
The script structure keeps changing between the firmware updates so the instructions might unfortunately be outdated
Dec 20 2019 02:48 AM
Changed the .bat file like this (also tried fw_path= BLANK):
When i run i got the same error:
My folder looks like this:
Also settedmy enviroment var to the oath of my plattform tools:
So can you help me?
Dec 20 2019 04:18 AM
Info: My machine is a windows machine!!
When i run the Linux Script (just intuitation because the Kit is running Yocta Linux) instead it finds the abl.elf file and start, it runs until the Install Check Script and prints:
It stucks on this point!
Dec 20 2019 04:56 AM
I honestly don't know where the problem lies. I changed the abl.elf file name in the script to abl.elves and got the same error starting ./abl which indicates that you configuration is correct. When I changed the script back to search to abl.elf it works.
The only thing I can think of is that you are not running it in the v.05330_Perf folder but in the folder where the script is originally located. But I am sure you've checked that. Just to out rule that can you take a screenshot where your C: path is visible when you execute FastbootUpgrade_v6_5.bat?
Dec 20 2019 05:05 AM
I've never done this on Linux, but you could try to comment out the "rm device.log" from the upgrade script? It seems to only be used to check if the device is connected
Dec 20 2019 05:31 AM - edited Dec 20 2019 05:32 AM
i'm running it in the v.05330_Perf folder!
Befor i start any script the camera is connected to WIFI and IoT Hub and all 4 docker containers are running.
Workflow Nr.1:
1. Open the v.05330_Perf folder in Explorer
2. Right Click on FastbootUpgrade.bat
3. execute as administrator
4. Got this error (Here the screenshot where the C path is visible):
Workflow Nr 2 (See all in the following Screenshot):
1. Open CMD as a administrator
2. cd to the v.05330_Perf folder
3. start the .bat
4. Upgrade Fail
Dec 20 2019 12:09 PM
So it actually goes further from the command line and doesn't complain about the abl.elf. What happens in the scenario is that the device reboots to bootloader mode. It seems you press "any key to continue" before USB recognizes the device again. If you have sound on in your computer you should hear a sounds when the USB disconnects (device reboots) and then another sound when USB founds the device again. It's safe to continue after that.
Having said that I have recently seen a case where the device is never recognized again. I asked developers about it and only root cause we know is that "it's USB cables fault" (and it's not 100%). So I'd recommend to try again and wait for the USB to recognize the device again after the reboot. If that doesn't happen try switching the USB cable if you have options.
Dec 21 2019 03:26 AM
So the starting point is that my devices is connected to WIFI and IoT Hub (Green LED Lights)
I'm running the .bat script.
After that my device disconnects (Sound appears)
USB connects again (Sound appears)
The device LED's are red now
Got the error message: ping command is wrong
Stocking at this screen:
After pressing any key:
Like you said no devices recognized...
When i reboot the device with the POWER Button --> disconnected Sound appears and connected sound again.
After a couple of seconds adb devices works again... & LED's are green
I will get an other USB and check it again.
Dec 22 2019 09:50 PM
I'd like to check with you for 2 things.
1. Are you using the inbox USB-c cable?
2. You script should be located "PEABODY_QCS603_LE_r37-v0.5330_Perf\PEABODY_QCS603_LE_r37-v0.5330_Perf\FW_UpgradeScript_Windows_v6_5\FastbootUpgrade_v6_5.bat" give that you are using Windows device. Please check if there is a line @SET fw_path=../v0.5330_Perf/ in FastbootUpgrade_v6_5.bat. If not, please add it after @echo "Check fastboot files..." or download the firmware again from Altek's site as you did. There was a minor bug in the script and we updated it earlier.
Dec 23 2019 05:11 AM
Yes i'm using the shipping USB.
Tried it like you said:
My .bat file:
Location:
Error:
abl.elf is missing
Already tried a lot... nothing works
Dec 23 2019 07:14 AM
@MarcoWirtl I found the reason. There is a mistake in the Altek AI Camera Reflash Firmware.pdf that you may have referred to. Please do not copy/paste the folder FW_UpgradeScript_Windows_v6_5 into v0.5330_Perf. Just leave it as is. Run the bat file directly. The bat file should be located at "\PEABODY_QCS603_LE_r37-v0.5330_Perf\PEABODY_QCS603_LE_r37-v0.5330_Perf\FW_UpgradeScript_Windows_v6_5\FastbootUpgrade_v6_5.bat"