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

USB not Recognized #214

Open
kapoorshivam100 opened this issue Aug 11, 2023 · 8 comments
Open

USB not Recognized #214

kapoorshivam100 opened this issue Aug 11, 2023 · 8 comments

Comments

@kapoorshivam100
Copy link

After flashing the firmware in blue pill, I try to connect it via USB which is not recognized by the computer. Kindly Help me out

@mupfdev
Copy link

mupfdev commented Aug 31, 2023

This is a very common problem. Could you check the pull-up resistors on the USB data lines? If you don't have the proper equipment, the marking would help.

It should be 1k5, however, some clones use 4k7 or 10k resistors.

Best regards,
Michael

@mupfdev
Copy link

mupfdev commented Aug 31, 2023

Also try to erase the chip prior to flashing it. This helped me once.

@al-ship
Copy link

al-ship commented Nov 20, 2023

If flashing through usb-uart bin file it fails to recognize. You need bootloader.bin, wich not included in release. You can build it from sources and flash. Doc is a bit outdated

@vostrenkov
Copy link
Member

@al-ship bootloader is included into .hex file.
So .bin is used for updating over config tool and .hex for initial flashing.
Both st-link and uart methods should use .hex file.
Although flashing bootloader from older releases is also acceptable it may not work with certain versions of bootloader

@al-ship
Copy link

al-ship commented Nov 21, 2023

OK, thank you! But wiki says that "Make sure to use the .bin version."

@vostrenkov
Copy link
Member

Yeah, there is a mistake in Linux guide
It is not frequently used and may be a bit outdated
Fixed now

@trasz
Copy link

trasz commented Mar 12, 2024

Just got bitten by this, and can confirm: if you're trying to flash FreeJoy into a fresh Blue Pill, you need to use:

st-flash --format ihex write FreeJoy_v1_7_1b3.hex

Using FreeJoy_v1_7_jb3.bin instead of hex resulted in BluePill that wouldn't get enumerated when connected to USB.

@butasi
Copy link

butasi commented Nov 10, 2024

Is it possible to get this running on non blue pill board? Like STM32F107RCT6

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

6 participants