analogdevicesinc / adi-kuiper-imager

Other
6 stars 0 forks source link

ToF images write exceed 100%, download corrupt hash does not match #17

Closed jpineda3 closed 1 year ago

jpineda3 commented 2 years ago

Environment: OS: Windows 10 SW Version: v1.0.0-rc1 https://github.com/analogdevicesinc/adi-kuiper-imager/commit/217014db6e60b4a75bb6ddb68a1381387bb021e3

Describe the bug: Writing any ToF image exceeds 100% and ends up with Error "Download corrupt. Hash does not match." SD card is inaccessible after failure.

writing_morethan_100 tof_hash

Steps to reproduce: Write any ToF Image to SD card. Notice how writing exceeds 100% and eventually pop-up will appear.

Expected behavior: Writing should complete at 100% then proceed to Verifying. Write Successful pop-up should appear if the image was properly etched on the SD card.

jpineda3 commented 2 years ago

I also used a local file I downloaded from http://swdownloads.analog.com/cse/aditof/jetson_nano-latest-image.tar.xz. For this case, Writing did not exceed 100% but an Error showed up "Unable to prepare for image customization."

The SD is not accessible after that error.

tof_custom_unable_to_prepare_customization

AlexandraTrifan commented 1 year ago

Fixed ToF JSON files, hash and size so that it does not exceed 100%.

jpineda3 commented 1 year ago

Verified resolved.