It's totally normal, STM32 USB device doesn't support both of those protocols, either one or other.
Search found 13 matches
- 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: 17790
- 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: 39905
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.
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.
- 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: 39905
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 ...
#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 ...
- 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: 39905
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 ...
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 ...
- 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: 39905
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 ...
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 ...
- 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: 39905
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 ...
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 ...
- 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: 39905
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 ...
- 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: 39905
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 ...
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 ...
- 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: 17321
Re: 'make' is not recognized as an internal or external command, operable program or batch file.
Thanks but I would like to do without it.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
- Wed Jun 30, 2021 9: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: 17321
Re: 'make' is not recognized as an internal or external command, operable program or batch file.
I also needed to download
http://gnuwin32.sourceforge.net/packages/coreutils.htm
https://developer.arm.com/tools-and-sof ... /downloads
Since rm and arm-none-eabi-gcc commands do not exist under windows
http://gnuwin32.sourceforge.net/packages/coreutils.htm
https://developer.arm.com/tools-and-sof ... /downloads
Since rm and arm-none-eabi-gcc commands do not exist under windows