Search found 13 matches

by Rekog
Sat Jul 24, 2021 11:45 am
Forum: STM32 HID bootloader
Topic: STM32 Virtual COM Port not detected after HID Bootloader uploaded on STM32F407G-DISC1
Replies: 4
Views: 8959

Re: STM32 Virtual COM Port not detected after HID Bootloader uploaded on STM32F407G-DISC1

It's totally normal, STM32 USB device doesn't support both of those protocols, either one or other.

Untitled.png
Untitled.png (38.89 KiB) Viewed 8761 times
by Rekog
Sat Jul 10, 2021 9:17 am
Forum: STM32 HID bootloader
Topic: This HID bootloader does not load the Arduino sketch, why
Replies: 13
Views: 21253

Re: This HID bootloader does not load the Arduino sketch, why

Finally I am able to achieve what I want with STM32CubeIDE and STM32CubeProg
https://www.st.com/en/development-tools ... beide.html
https://www.st.com/en/development-tools ... eprog.html

Far simple to use than Arduino IDE.
by Rekog
Thu Jul 08, 2021 6:57 pm
Forum: STM32 HID bootloader
Topic: This HID bootloader does not load the Arduino sketch, why
Replies: 13
Views: 21253

Re: This HID bootloader does not load the Arduino sketch, why

So what's the address, according to the source it's at 0x08000000 #define FLASH_BASE ((uint32_t)0x08000000) /*!< FLASH base address in the alias region */ #define BOOTLOADER_SIZE (2 * 1024) // Bootloader size #define USER_PROGRAM (FLASH_BASE + BOOTLOADER_SIZE) // HID Bootloader takes 2 kb flash func...
by Rekog
Thu Jul 08, 2021 2:31 pm
Forum: STM32 HID bootloader
Topic: This HID bootloader does not load the Arduino sketch, why
Replies: 13
Views: 21253

Re: This HID bootloader does not load the Arduino sketch, why

Yes, the st-link upload the bootloader at 0x08000000 https://i.imgur.com/Qv0qcmG.png https://i.imgur.com/nZqVQSC.png It shouldn't be that address ? Also the arduino upload it to the correct address, just after the bootloader #define FLASH_BASE ((uint32_t)0x08000000) /*!< FLASH base address in the al...
by Rekog
Thu Jul 08, 2021 1:48 pm
Forum: STM32 HID bootloader
Topic: This HID bootloader does not load the Arduino sketch, why
Replies: 13
Views: 21253

Re: This HID bootloader does not load the Arduino sketch, why

Still not working else the sketch is actually written in the device memory after upload with Arduino, but it just mess all the board that make it unrecognizable. https://i.imgur.com/BdEvzSU.png And what do you mean by not using Serial in my sketch, why should I use serial function if I only want an ...
by Rekog
Wed Jul 07, 2021 8:47 am
Forum: STM32 HID bootloader
Topic: This HID bootloader does not load the Arduino sketch, why
Replies: 13
Views: 21253

Re: This HID bootloader does not load the Arduino sketch, why

Yes it was I used, HID bootloader 2.0. The board is a STM32F103C8Tb. I do not use USB serial in the sketch as you can see, I just try to turn on/off a digital port. This board do accept the upload of HID bootloader, also my customized HID bootloader, but it doesn't accept my Arduino sketch. I wonder...
by Rekog
Tue Jul 06, 2021 12:52 pm
Forum: STM32 HID bootloader
Topic: This HID bootloader does not load the Arduino sketch, why
Replies: 13
Views: 21253

Re: This HID bootloader does not load the Arduino sketch, why

You have to select the corresponding bootloader in Arduino menu when uploading the sketch. Where is that option ? Else I forgot to says that it makes the board unfunctional after uploading the sketch with hid flash dfq.png Also is there a way to merge the Arduino sketch with this HID bootloader, li...
by Rekog
Thu Jul 01, 2021 1:56 pm
Forum: STM32 HID bootloader
Topic: This HID bootloader does not load the Arduino sketch, why
Replies: 13
Views: 21253

This HID bootloader does not load the Arduino sketch, why

Ive downloaded this bootloader from https://github.com/Serasidis/STM32_HID_Bootloader How can I make it work with Arduino sketch ? Else this bootloader configured with serial communication does load the Arduino sketch: https://github.com/rogerclarkmelbourne/STM32duino-bootloader Here's my sketch: #d...
by Rekog
Wed Jun 30, 2021 10:23 am
Forum: STM32 HID bootloader
Topic: 'make' is not recognized as an internal or external command, operable program or batch file.
Replies: 6
Views: 8339

Re: 'make' is not recognized as an internal or external command, operable program or batch file.

ag123 wrote: Wed Jun 30, 2021 9:58 am one way is to install / use WSL
https://docs.microsoft.com/en-us/windows/wsl/about
you could literally have 'everything in a bundle' make, compilers etc
Thanks but I would like to do without it.

Go to advanced search