NUCLEO-F746ZG to STM32745VG struggling migration #15273
Replies: 2 comments 10 replies
-
In your // UART buses
#define MICROPY_HW_UART1_TX (pin_B6) // Arduino D1, pin 7 on CN9
#define MICROPY_HW_UART1_RX (pin_B7) // Arduino D0, pin 8 on CN9
#define MICROPY_HW_LPUART1_TX (pin_A2) // ST-link
#define MICROPY_HW_LPUART1_RX (pin_A3) // ST-link
#define MICROPY_HW_UART_REPL PYB_LPUART_1
#define MICROPY_HW_UART_REPL_BAUD 115200 I am trying to get a STM32WL5x board to run. There seems to be an issue on some of these variants with even trying to upload your .py files using the UART. I have had a quick look-around as I too wonder if SWD could be used to upload your .py files. |
Beta Was this translation helpful? Give feedback.
-
You deleted far too much from Have you edited the You will want storage for your programs. So add:
The SWD is fine for loading your binary into flash, but you will want some kind of REPL for development. The stock port uses a UART for the REPL. So you will want to define a UART for the REPL (here's the setup for using UART3; change pins and UART number as necessary):
If you provide connection to a USB port you can have the board appear as a USB MSC storage device. You would need to add definitions for the USB like this (change pins as needed):
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello community.
I am an amateur in MCU and I have managed some MP code on Nucleo and started to migrate it to the custom board based on STM32745VG.
First issue|challenge is that target board has only SWD so I could not read any output from the serial port.
Second issue|challenge is that target board has absolutely different pins mapping comparing to NUCLEO.
Steps I've done so far:
But nothing happens after I flashed it out.
Please help me in advance or point me to the documentation if I missed.
PS. just to be sure board is alive I tried such sample through cubeIDE and it blinks:
Beta Was this translation helpful? Give feedback.
All reactions