norbert-walter / esp32-nmea2000-obp60

nmea2000 gateway with ESP32
GNU General Public License v2.0
14 stars 10 forks source link

Updating firmware fails due to 'magic byte' error for all xxxx-all.bin #84

Open W-Geronius opened 4 months ago

W-Geronius commented 4 months ago

image

xxxxx-all.bin never get installed due to this error, irrespective of their origin (github or gitpod) xxxxx-update.bin install without problems.

Don't try to 'emulate' an -all update by factory reset! See previous issue!

norbert-walter commented 4 months ago

I'm not sure if the problems are related to a corrupt flash memory. See Issue #81

Liese2007 commented 3 months ago

I get the same error with the test file. Screenshot_2024-08-17-18-19-22-442_com.android.chrome.jpg

norbert-walter commented 3 months ago

Please unzip the file and use the bin file.

W-Geronius commented 1 month ago

opened issue wellenvogel/esp32-nmea2000/issues/89

W-Geronius commented 1 month ago

Andress responded: https://github.com/wellenvogel/esp32-nmea2000/issues/89#issuecomment-2424080702

this should be included in OBP60 documentation.

norbert-walter commented 1 month ago

I have noticed that the update problems are also caused by security settings in Android. New Android versions modify a downloaded bin file so that it cannot damage the system. Bin files are considered a potential threat. The file type is undesirably changed by Android so that the bin file cannot be loaded correctly. The problems do not occur when the update is done via a PC.