You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/12/12 14:14:56 UTC

[GitHub] [incubator-nuttx] spiriou commented on pull request #2495: stm32f103-minimum: add defconfig example for ADB

spiriou commented on pull request #2495:
URL: https://github.com/apache/incubator-nuttx/pull/2495#issuecomment-743762337


   > Hi, @spiriou
   > 
   > I'm trying to test this configuration without success.
   > 
   > ```
   > $ make distclean
   > $ tools/configure.sh stm32f103-minimum:adb
   > $ make
   > $ # (flash to blue pill board)
   > ```
   > 
   > On host PC, dmesg reports the following:
   > 
   > ```
   > [17280.043036] usb 2-3: new full-speed USB device number 17 using xhci_hcd
   > [17280.171063] usb 2-3: device descriptor read/64, error -71
   > [17280.411066] usb 2-3: device descriptor read/64, error -71
   > [17280.647000] usb 2-3: new full-speed USB device number 18 using xhci_hcd
   > [17280.775028] usb 2-3: device descriptor read/64, error -71
   > [17281.015025] usb 2-3: device descriptor read/64, error -71
   > [17281.123069] usb usb2-port3: attempt power cycle
   > ```
   > 
   > So obviously, neither `lsusb` nor `adb devices` show anything.
   > Is there anything else expected to make this work? Does it work for you on a blue pill board? Am I doing something wrong?
   > Thanks!
   
   Hi Diego, thanks for your feedback. This config enables the CONFIG_STM32_DFU config so it requires a bootloader and the image is not mapped to 0x8000000 as usual. Maybe this is the issue if you are flashing using JTAG. Can you share more information regarding the flashing method you use ? Can you disable STM32_DFU if you use JTAG ?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org