FreeJoy-Team/FreeJoy

USB enumeration issues with verions after v1_5_1b7

Tjeerdie opened this issue · 2 comments

Using FreeJoy_v1_5_1b7 there is no issue with the usb enumeration. If i install any version after v1_5_1b7 the USB enumeration fails. It is possible that i am using a fake STM32F103 i am not sure, but if it works for older versions of the software what would be the cause of issues with newer versions?

I have same problem when use BIN file for flash using serial adapter and flash loader. Try to use HEX fle

II fixed the issue:

It seems the manual for serial upload is out of date. Or the binaries in the releases are not complete (app + bootloader together in one *.bin. The application *.bin in the releases does not include the bootloader. But it needs the bootloader to start at the correct entry point. So uploading the application *.bin only does not work.

You first need to upload the FreeJoy bootloader. This one is not published so i build it using the repo and uploaded the *.bin. After that the device is recognized via usb in boot loader mode.

When it is in bootloader mode you can upload the application *.bin using the freeJoyQT application.