Skip to content

loading update image via DFU to external flash stucks (Finder OPTA) #33

Open
@ddmesh

Description

@ddmesh

When following the example in readme.md Load an update sketch for OPTA device from Finder, the upload get stuck.

The external QSPI Flash is formated as follows (from examples):

std::vector<Partition> partitioningScheme  =
{
         {1*1024, FS_FAT}, // 1 MB for certificates
         {5*1024, FS_FAT}, // 5 MB for OTA firmware updates
         {8*1024, FS_LITTLEFS} // 8 MB for user data
};

dfu-utils -l:

Found DFU: [2341:0364] ver=0200, devnum=24, cfg=1, intf=0, path="3-2.3.2.4.1", alt=3, name="@Arduino  boot  v.25   /0x00000000/0*4Kg", serial="003400303132511639313731"
Found DFU: [2341:0364] ver=0200, devnum=24, cfg=1, intf=0, path="3-2.3.2.4.1", alt=2, name="@Ext File Flash  0MB   /0x00000000/0*4Kg", serial="003400303132511639313731"
Found DFU: [2341:0364] ver=0200, devnum=24, cfg=1, intf=0, path="3-2.3.2.4.1", alt=1, name="@Ext RAW  Flash 16MB   /0x90000000/4096*4Kg", serial="003400303132511639313731"
Found DFU: [2341:0364] ver=0200, devnum=24, cfg=1, intf=0, path="3-2.3.2.4.1", alt=0, name="@Internal Flash  2MB   /0x08000000/01*128Ka,15*128Kg", serial="003400303132511639313731"

flash command:

dfu-util --device 0x2341:0x035b -D update.ino.bin -a2 --dfuse-address=0xA0000000:leave

Tested with given address 0xA0000000 and also with the one given by dfu-util 0x00000000.

The flash stucks at 0% and the DFU MCUBoot is blocked afterwards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions