Skip to content

Can not write flash with DA14681 #46

@fanticat

Description

@fanticat

Hi,

The read_flash/erase_flash commands are okay but image_flash/image_bootloader_flash both failed as follwing.
and, would you please share the source code of segger_flash_loader_68x.elf?

20240404214251

INFO:root:ezFlashCLI v1.0.21
INFO:root:By using the program you accept the SEGGER J-link™ license
INFO:root:Smartbond chip: DA14680/DA14681
INFO:root:Flash information:
INFO:root:  - Device Id: W25Q32JW

C:\Users\fanticat>ezFlashCLI read_flash 0x0 128
INFO:root:ezFlashCLI v1.0.21
INFO:root:By using the program you accept the SEGGER J-link™ license
INFO:root:00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
INFO:root:00000010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
INFO:root:00000020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
INFO:root:00000030: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
INFO:root:00000040: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
INFO:root:00000050: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
INFO:root:00000060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
INFO:root:00000070: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

C:\Users\fanticat>ezFlashCLI image_flash E:\diy\epd\DA14681\DA1468x_DA15xxx_SDK_1.0.14.1081\projects\dk_apps\templates\freertos_retarget\DA14681-01-Release_QSPI\freertos_retarget.bin
INFO:root:ezFlashCLI v1.0.21
INFO:root:By using the program you accept the SEGGER J-link™ license
INFO:root:[DA1468x] Program binary
ERROR:root:Download failed with code: @8000000 -5```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions