Closed Mozzytec closed 4 years ago
Here is the binary for F103 I used to test. In fact, this is a demo from the USB library linked with 0x08001000 base address(linker script also attached). This is not a blinking led but USB CDC+HID example.
Also check config.h. To disable encryptionn set
#define DFU_CIPHER _DISABLE
Hello CIpher was disable for sure. I do the test immediatly and let you knwow (ps Thanks for PM)
I have renewed all my usb Device base. I have plugged device is recognized as a STM device in DFU mode, but there is also an unknown device on top. I uninstalled via windows device manager with checking box uninstall driver. Then I plugged again, skip the microsoft update search. Device not recognized. Went to device manager and forced driver to Maple DFU (in libusb drivers). Device is recognized. (why before DFU STM???) Burned your CDC-F103.bin file in it with DFU-Util-static -a 0 -D CDC_F103.bin. Reboot in user mode. Serial port has pointed out. Tried with Termite terminal and I'm having answer from the loopback. So everything seems working well with your HELP and Demo. I'll let you know if my blink works or not with the linker you sent in zip file.
Perhaps I need to check and update DFU descriptors to get more compatibility with Windows. Usually, Windows is more exacting to the device descriptors than Linux.
Tested the latest master on Win10Home V1703 build 15063.1387. No problems such as YB and unrecognized devices found. Bluepill (STM32F103C8T6) was detected as 'STM device in DFU mode' (STTub30.sys)
Hello, After lot's of pain, I succeded to make the bin file for the bootloader. I flash the memory and the STM32F103C8 is recognized as a STM DFU. To test I don't use the encrytpion yet. I remap the user programm to 0x08001000, compile with latest version of arduino ide. Download via DFU is not possible via Arduino. simple blink example led on PB13 and PC13 If I flash via DFU-Util on C:\dfu-util with admin right, the blink programm does not start at all. Any idea? COuld you provide a blink.bin to test the download with your file at least to test if the bootload operates correctly. I supect an error in my link file, but where ??? What should be done or use to compile all correctly?