Skip to content
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

Connecting to STM32 without ST-LINK #53

Open
Bartosz-Slowik opened this issue Apr 6, 2023 · 2 comments
Open

Connecting to STM32 without ST-LINK #53

Bartosz-Slowik opened this issue Apr 6, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@Bartosz-Slowik
Copy link
Collaborator

We have 2 STM boards that have broken ports for our standard connection.

I saw there are at least 2 alternative ways of flashing this STM but i dont think debugging would work.
Maybe someone can test or research this more.

@wiktorwieclaw
Copy link
Member

Run:

cargo install cargo-dfu

Connect your board to USB, hold BOOT0 button, press NRST button and release BOOT0 button. This should run the MCU in bootloader mode.

Change directory to the project you want to flash, e.g

cd crates/cansat-stm32f4

and run

cargo dfu

Troubleshooting

If your device is not properly recognized by your system, try to disconnect all serial peripherals and repeat.

@wiktorwieclaw
Copy link
Member

Let's leave this issue open, it's probably a good idea to update the cansat book #60 with this information.

@Bartosz-Slowik Bartosz-Slowik added documentation Improvements or additions to documentation and removed good first issue Good for newcomers priority:low labels May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants