Forum >HuskyLens Update to 0.5.1 from 0.4.7stable?
HUSKYLENSGeneral

HuskyLens Update to 0.5.1 from 0.4.7stable?

userHead alanmcdonley 2020-11-27 17:58:28 3349 Views3 Replies
Should I update my HuskyLens firmware with the 0.5.1norm file? (The current firmware is 0.4.7stable)
2021-03-24 02:40:43 The built-in HuskyLens in the AI Wearable is an easy-to-use AI vision sensor. It adopts the built-in machine learning technology which can identify human faces. By a simple click, HuskyLens can finish the AI training and start to learn and recognize the new face. Engineered with a built-in UART or I2C interface, HuskyLens can seamlessly dock with Arduino Nano. userHeadPic iraleksandrov.a1992
2021-03-09 07:20:31 I tried updating the firmware on my Raspberry 4 after updating through Windows 10 proved impossible.

When I enter $ sudo python3 kflash.py -b 2000000 HUSKYLENSWithModelV0.5.1Norm.kfpkg the response is no com port found.
userHeadPic p.bennett19
2020-11-28 15:47:39 First I tried using the Windows 10 GUI updater in the latest Windows 10 running over the latest VMWare Fusion on Mac OS X Big Sur 11.0.1 and the silabs CP210x USB to serial drivers. I could not get the device manager to "see" the HuskyLens.

Next I downloaded the HuskyLensUpdater to my Raspberry Pi 3B running the latest PiOS, and successfully updated the firmware to 0.5.1norm. Object Detection runs fast, everything seems to be working well.
Code: Select all
=== Firmware Update to 0.5.1 ===
$ mkdir HuskyLens
$ cd HuskyLens
$ wget https://github.com/HuskyLens/HUSKYLENSUploader/archive/master.zip
$ unzip master.zip
$ cd HuskyLensUploader-master
$ sudo python3 kflash.py -b 2000000 HUSKYLENSWithModelV0.5.1Norm.kfpkg
[INFO] COM Port Auto Detected, Selected /dev/ttyUSB0
[INFO] Default baudrate is 115200 , later it may be changed to the value you set.
[INFO] Trying to Enter the ISP Mode...
[INFO] Greeting Message Detected, Start Downloading ISP
Downloading ISP: |██████████████████████████████████████████████████| 100.0% Complete
[INFO] Booting From 0x80000000
[INFO] Wait For 0.3 second for ISP to Boot
[INFO] Boot to Flashmode Successfully
[INFO] Selected Baudrate: 2000000
[INFO] Selected Flash: On-Board
[INFO] Extracting KFPKG ...
[INFO] Writing HuskyLens.bin into 0x00000000
Downloading: |██████████████████████████████████████████████████| 100.0% Complete
[INFO] Writing HuskyLensBootUp.bin into 0x005da000
Downloading: |██████████████████████████████████████████████████| 100.0% Complete
[INFO] Writing clearFlash.bin into 0x00c60000
ownloading: |██████████████████████████████████████████████████| 100.0% Complete
[INFO] Writing clearFlash.bin into 0x00c62000
ownloading: |██████████████████████████████████████████████████| 100.0% Complete
[INFO] Writing clearFlash.bin into 0x00c64000
ownloading: |██████████████████████████████████████████████████| 100.0% Complete
[INFO] Writing clearFlash.bin into 0x00c66000
ownloading: |██████████████████████████████████████████████████| 100.0% Complete
[INFO] Writing clearFlash.bin into 0x00c68000
ownloading: |██████████████████████████████████████████████████| 100.0% Complete
[INFO] Writing clearFlash.bin into 0x00c6a000
ownloading: |██████████████████████████████████████████████████| 100.0% Complete
[INFO] Writing clearFlash.bin into 0x00c6c000
ownloading: |██████████████████████████████████████████████████| 100.0% Complete
[INFO] Writing clearFlash.bin into 0x00c6e000
ownloading: |██████████████████████████████████████████████████| 100.0% Complete
[INFO] Writing detect.kmodel into 0x00600000
Downloading: |██████████████████████████████████████████████████| 100.0% Complete
[INFO] Writing key_point.kmodel into 0x0065f000
Downloading: |██████████████████████████████████████████████████| 100.0% Complete
[INFO] Writing feature.kmodel into 0x00680000
Downloading: |██████████████████████████████████████████████████| 100.0% Complete
[INFO] Writing mobilenetv1_1.0.kmodel into 0x001bb000
Downloading: |██████████████████████████████████████████████████| 100.0% Complete
[INFO] Writing object_detect.bin into 0x009d4000
Downloading: |██████████████████████████████████████████████████| 100.0% Complete
[INFO] Rebooting...
[email protected]:~/DeskPi/Projects/HuskyLens/HUSKYLENSUploader-master $
userHeadPic alanmcdonley