From 67c4ff10a66c5fe58e9e945c3910a73b5b584fc7 Mon Sep 17 00:00:00 2001 From: Niek Ilmer Date: Tue, 4 Mar 2025 14:00:28 +0100 Subject: [PATCH] Add the DA14594, rename the eflash dummy value and add a debug line --- ezFlashCLI/ezFlash/pyjlink.py | 1 + ezFlashCLI/ezFlash/smartbond/supportedDevices.py | 1 + ezFlashCLI/flash_database.json | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ezFlashCLI/ezFlash/pyjlink.py b/ezFlashCLI/ezFlash/pyjlink.py index d7a2e47..97aa2a9 100644 --- a/ezFlashCLI/ezFlash/pyjlink.py +++ b/ezFlashCLI/ezFlash/pyjlink.py @@ -316,6 +316,7 @@ def connect(self, serialno): try: self.logger.debug("Read " + device.pretty_identifier + " identifier") id = self.rd_mem(device.access_size, device.id_register, device.id_size) + self.logger.debug("Result: " + str(id)) if str(id) == device.id: "Extra info deals with the 531_01 rom spin" if len(device.extra_info) > 0: diff --git a/ezFlashCLI/ezFlash/smartbond/supportedDevices.py b/ezFlashCLI/ezFlash/smartbond/supportedDevices.py index 2955402..9f35646 100644 --- a/ezFlashCLI/ezFlash/smartbond/supportedDevices.py +++ b/ezFlashCLI/ezFlash/smartbond/supportedDevices.py @@ -42,6 +42,7 @@ def __init__( smartbond_device("da1470x", "DA1470x", "[50, 55, 57, 56]", 0x50040000, 4, 32), smartbond_device("da1470x", "DA1470x", "[51, 49, 48, 55]", 0x50040000, 4, 32), smartbond_device("da14592", "DA14592", "[50, 54, 51, 52, 2]", 0x50050200, 5, 32), + smartbond_device("da14592", "DA14594", "[50, 54, 51, 52, 3]", 0x50050200, 5, 32), smartbond_device("da14531", "DA14535", "[51, 0, 51, 0, 48]", 0x50003200, 5, 8), smartbond_device( "da14531_00", diff --git a/ezFlashCLI/flash_database.json b/ezFlashCLI/flash_database.json index b680954..99e7793 100644 --- a/ezFlashCLI/flash_database.json +++ b/ezFlashCLI/flash_database.json @@ -1,7 +1,7 @@ { "date": "1566474590175", "flash_configurations": [{ - "name": "DA14592_eflash", + "name": "DA1459x_eflash", "flash_manufacturer": "1", "flash_device_type": "2", "flash_density": "3",