Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Introduce STM32CubeProgrammer#514

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fpistm merged 1 commit intostm32duino:masterfromfpistm:STM32CP
May 3, 2019
Merged

Conversation

@fpistm
Copy link
Member

@fpistmfpistm commentedMay 3, 2019
edited
Loading

This PR add support ofSTM32CubeProgrammer tools:
https://www.st.com/en/development-tools/stm32cubeprog.html

Allows to unified tools used to flash STM32 based boards across supported host OS:

  • Linux
  • MacOS
  • Windows

Replace:

  • STLink
  • Serial

Add:

  • DFU method using the built-in ST bootloader

It depends ofstm32duino/Arduino_Tools#34
User will have to install theSTM32CubeProgrammer to be able to flash.
User can change the default install path but in this case, the new path have to be added in thePATH environment variable.

Only one definition of the tool is required in theplatform.txt.
{upload.protocol} allows to select the right interface to use:

  • 0: SWD
  • 1: Serial (using the built-in ST bootloader)
  • 2: DFU (using the built-in ST bootloader)
    SeeAN2606 for STM32 microcontroller system memory boot mode.

{upload.options} is used to pass extra options:

  • -rst for SWD to reset the device after the flash
  • {serial.port.file} -s for Serial

Note: I2C, SPI, CAN could be added as supported by theSTM32CubeProgrammer tool.

All methods have been tested on all supported host OS usingSTM32CubeProgrammer v2.0.0 and v2.1.0.

This also allow to support STLink V3 and flash the new series that were not supported (H7, G0, WB).

Fixes#445 andFixes#330
Replace PR#351

chrissbarr reacted with thumbs up emoji
Replace STLink and Serial.Add DFU.Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
@fpistmfpistm self-assigned thisMay 3, 2019
@fpistmfpistm added enhancementNew feature or request New feature labelsMay 3, 2019
@fpistmfpistm added this to the1.6.0 milestoneMay 3, 2019
@fpistmfpistm merged commit5e2e32a intostm32duino:masterMay 3, 2019
@fpistmfpistm deleted the STM32CP branchMay 3, 2019 13:21
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

@fpistmfpistm

Labels

enhancementNew feature or request

Projects

None yet

Milestone

1.6.0

Development

Successfully merging this pull request may close these issues.

Unified upload tools Request support for standard (ST) DFU bootloader upload

1 participant

@fpistm

[8]ページ先頭

©2009-2025 Movatter.jp