From 8d07c760112f8aa24d36c10d9af4229d79479fe4 Mon Sep 17 00:00:00 2001 From: Daniel Calaver Date: Tue, 15 Nov 2022 19:31:00 +0200 Subject: [PATCH] fix ffc-4p flash --- batch/eeprom/DD2090_R5M1E5_oak_ffc_4p.json | 2 +- batch/oak_ffc_4p.json | 2 +- test_ui.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/batch/eeprom/DD2090_R5M1E5_oak_ffc_4p.json b/batch/eeprom/DD2090_R5M1E5_oak_ffc_4p.json index c457b8284..4715c7629 100644 --- a/batch/eeprom/DD2090_R5M1E5_oak_ffc_4p.json +++ b/batch/eeprom/DD2090_R5M1E5_oak_ffc_4p.json @@ -7,6 +7,6 @@ "productName": "OAK-FFC-4P", "boardCustom": "", "hardwareConf": "F0-FV00-BC001", - "boardOptions": 3, + "boardOptions": 0, "version": 7 } diff --git a/batch/oak_ffc_4p.json b/batch/oak_ffc_4p.json index 289c0d45c..4e04e759f 100644 --- a/batch/oak_ffc_4p.json +++ b/batch/oak_ffc_4p.json @@ -2,7 +2,7 @@ "title": "OAK FFC-4P", "description": "OAK FFC-4P", "image": "images/oak_d_ffc_4p.jpg", - "test_type": "OAK-FFC-4P", + "test_type": "OAK-FFC-4P-NOR", "variants": [ { "title":"OAK-FFC 4P (DD2090 R4M1E4)", diff --git a/test_ui.py b/test_ui.py index e72164c2f..88308cd67 100755 --- a/test_ui.py +++ b/test_ui.py @@ -1155,7 +1155,7 @@ def connexion_slot(self, signal): self.print_logs('Writing EEPROM...') eeprom_success, eeprom_msg, eeprom_data = self.flash_eeprom(device) eeprom_written = True - elif 'FFC' in test_type: + elif ('FFC' in test_type) and ('NOR' not in test_type): self.update_bootloader() with dai.Device() as device: self.print_logs("Writing EEPROM... ")