Skip to content

sync dev #15

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

Merged
merged 3 commits into from
Mar 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,19 @@ The white and black values will be written into ESP32 EEPROM.
Since this [issue](https://github.com/stm32duino/Arduino_Core_STM32/issues/2292), Arduino® Alvik Carrier is not integrated yet into STM32duino's boards.

<br>

At the moment, it is possible to:
- flash `bridge_firmware_updater` example into Arduino Nano ESP32 mounted on Alvik
- use [STM32CubeProgrammer](https://www.st.com/en/development-tools/stm32cubeprog.html) to flash the new firmware.

<br>

- Open the **Bridge** example in the Arduino IDE by going to **File > Examples > Arduino_Alvik > bridge_firmware_updater**. (For this, the board's [firmware must be reset](https://support.arduino.cc/hc/en-us/articles/9810414060188-Reset-the-Arduino-bootloader-on-the-Nano-ESP32) to work in the Arduino IDE.)
![Bridge Firmware Updater](assets/bridgeFirmware.png)
- Open [STM32 Cube Programmer](https://www.st.com/en/development-tools/stm32cubeprog.html).
- Set the connection to **UART** mode, the **Port** to whichever port the board is connected to, and **DTR** to HIGH. You can now press **Connect**. Make sure the robot is ON.
![Settings for STMCube](assets/stmCubeSetup.png)
- Go to the **Erasing & Programming** tab and set the **File path** to the firmware (this will be a .bin file) you are trying to program. The updated releases can be found [here](https://github.com/arduino-libraries/Arduino_Alvik/releases/). You can find the latest release [here](https://github.com/arduino-libraries/Arduino_Alvik/releases/tag/1.0.1). You can now press **Start Programming**.
![Programming STM Cube](assets/ProgrammingstmCube.png)

In particular these settings are needed:
- UART communication with DTR setted to 1 in STM32CubeProgrammer
- robot must be turned on.

<br>
<br>
<br>


## Useful links
- [arduino-alvik-mpy](https://github.com/arduino/arduino-alvik-mpy): MicroPython library required to program Alvik
Expand Down
Binary file added assets/ProgrammingstmCube.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/bridgeFirmware.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/stmCubeSetup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.