Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

target memory segment string descriptor #233

Open
mzltn opened this issue Apr 10, 2022 · 0 comments
Open

target memory segment string descriptor #233

mzltn opened this issue Apr 10, 2022 · 0 comments

Comments

@mzltn
Copy link

mzltn commented Apr 10, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant