FreeJoy
FreeJoy copied to clipboard
USB not Recognized
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
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
Also try to erase the chip prior to flashing it. This helped me once.
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
@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
OK, thank you! But wiki says that "Make sure to use the .bin version."
Yeah, there is a mistake in Linux guide It is not frequently used and may be a bit outdated Fixed now
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.