-
Notifications
You must be signed in to change notification settings - Fork 1k
Question: how can I determine the parameters for dfu-util to load .bin standalone #492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @johncblacker, Note that 1EAF:003 is the USB PID:VID. |
Succeed programming Bluepill with STM32duino-bootloader. I'll leave my experience here if you're interested. Basically we need to borrow upload tools and menus from Arduino_STM32 and modify the linker scripts. First get the tools. I myself install the Arduino_STM32 cores and Arduino IDE can automatically find them even on another core. Then make a copy of linker script (in my case it is 64c64
< FLASH (rx) : ORIGIN = 0x8000000, LENGTH = LD_MAX_SIZE
---
> FLASH (rx) : ORIGIN = 0x08002000, LENGTH = LD_MAX_SIZE Finally place the borrowed menus. Create boards.local.txt
platform.local.txt
They are modified from boards.txt and platform.txt. We create Now I can select I hope ST may officially support more upload methods, namely |
I'm not sure why you have done this, support for the stm32duino bootloader is already in the dev branch of the core see pr #525 |
Sorry, didn't see that. |
No worries. |
I want to use the maple_loader as a standalone, external tool under ChibiStudio to flash my maple-mini after compiling a program with ChibiStudio. After looking at a verbose output of an Arduino sketch load to a maple-mini that has the STM32duino bootloader, I noticed that there is a parameter: "1EAF:003" which I presume is the device identifier. I see that this parameter is supplied at the time the maple_loader.bat file is called. How is this parameter derived? I'm presuming that it is not constant; therefore in order for me to use the maple_loader.bat in ChibiStudio, I need to be able to insert the correct parameter. Can someone explain how I can determine the correct value for this parameter?
Thanks.
The text was updated successfully, but these errors were encountered: