Skip to content

target memory segment string descriptor #233

@mzltn

Description

@mzltn

Hi,

In the following files:
examples/stm32/f1/lisa-m-1/usb_dfu/usbdfu.c
examples/stm32/f1/other/usb_dfu/usbdfu.c
examples/stm32/f1/stm32-h103/usb_dfu/usbdfu.c
examples/stm32/f1/stm32-h103/usb_iap/usbiap.c

I found a the following comment:
/* The ST Microelectronics DfuSe application needs this string.
* The format isn't documented... */
.iInterface = 4,

This index refers to the following USB descriptor string:
/* This string is used by ST Microelectronics' DfuSe utility. /
"@internal Flash /0x08000000/8
001Ka,56*001Kg",

I have found a description of the string in the following document and it seems to fit the one above:
UM0290 User manual: STR7/STR9 USB developer kit /
section 4.3.2 DFU mode descriptor set
"DFU mode configuration descriptor"

However, I could not confirm that this applies to the sources mentioned above and do not want to add misleading info. The dev kits that are mentioned in the above document seem to use another chip. If someone could confirm, this could be added as a comment.

Best regards,
Zoltán

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