Package: ezFlashCLI
ezFlashCLICommand line tools to manage flash devices connected to the Dialog Smartbond™ device family.The tool relies on Segger J-Link™ library to control the Smartbond SWD interface. The J-Link probe is available on all Smartbond development kits.Supported platformsmacOSWindows 10Linux (tested on ubuntu 20.04LTS 64 bits)Supported devicesDA145XXDA14531DA14585Known flash devices:MX25R2035FDA1468X and DA1469XDA1468x:DA14680DA14681DA14682DA14683DA1469x:DA14691DA14695DA14697DA14699DA1470x:DA14701DA14705DA14706DA14708Known flash devices:AT25FF081AAT25FF161AAT25FF321AAT25SL321AT25XE021AEN25S16BEN25S20AGD25LE16GD25LE32IS25WP032MX25R2035FMX25U3235FMX25U6432MX66LM1G45GP25Q11UP25Q32LEP25Q80HW25Q128JWW25Q32JWW25Q64JWIMW25Q80EWW25X10CLW25X20CLW25X40CLInstallation> pip install ezFlashCLIWindows: It often happens during python installation that the Script folder isnotadded in the environment PATH. If ezFLashCLI is not found in your terminal, add<Python install dir>/Scriptsto your path.UsageList JLink probes> ezFlashCLI list

INFO:root:ezFlashCLI v1.0.x
INFO:root:By using the program you accept the SEGGER J-link™ license
INFO:root:JLink devices:
INFO:root:  - 483345692
INFO:root:  - 480698727Probe attached flash> ezFlashCLI probe

INFO:root:ezFlashCLI v1.0.X
INFO:root:By using the program you accept the SEGGER J-link™ license
INFO:root:Smartbond chip: DA14585/DA14586
INFO:root:Flash information:
INFO:root:  - Device Id: MX25R2035FMultiple devices> ezFlashCLI list

INFO:root:ezFlashCLI v1.0.X
INFO:root:By using the program you accept the SEGGER J-link™ license
INFO:root:JLink devices:
INFO:root:  - 483245871
INFO:root:  - 483124587

> ezFlashCLI -j 483245871 probe

INFO:root:ezFlashCLI v1.0.X
INFO:root:By using the program you accept the SEGGER J-link™ license
INFO:root:Smartbond chip: DA1469x
INFO:root:Flash information:
INFO:root:  - Device Id: MX25U3235F

> ezFlashCLI -j 483245871 probe

INFO:root:ezFlashCLI v1.0.X
INFO:root:By using the program you accept the SEGGER J-link™ license
INFO:root:Smartbond chip: DA14682/DA14683
INFO:root:Flash information:
INFO:root:  - Device Id: W25Q80EWerase Flash> ezFlashCLI erase_flash

INFO:root:ezFlashCLI v1.0.X
INFO:root:By using the program you accept the SEGGER J-link™ license
INFO:root:Flash erase successRead Flash> ezFlashCLI read_flash 0x0 128

INFO:root:ezFlashCLI v1.0.X
INFO:root:By using the program you accept the SEGGER J-link™ license
INFO:root:00000000: 50 70 00 20 00 00 00 20 00 00 eb 00 a5 a8 66 00
INFO:root:00000010: 00 00 aa 11 03 00 01 40 07 c8 4e ff ff ff ff ffProgram Flash> ezFlashCLI image_flash <path to bin file>

INFO:root:ezFlashCLI v1.0.X
INFO:root:By using the program you accept the SEGGER J-link™ license
INFO:root:[DA1469x] Program image
INFO:root:[DA1469x] Program successThe tool will automatically make the input file bootable if neededProgram Flash and add secondary bootloaderTo use SUOTA a secondary bootloader is required. This command adds a precompiled version to the image and writes it all to flash.> ezFlashCLI image_bootloader_flash <path to bin file>

INFO:root:ezFlashCLI v1.0.X
INFO:root:By using the program you accept the SEGGER J-link™ license
INFO:root:[DA14531] Program image
INFO:root:[DA14531] Program success