STM32 H745 discovery

Demo app

Architecture

The STM32H745I discovery kit contains a dual core STM32H745XIH6 processor with various internal and external peripherals.

External peripherals include the following

4.3" touchscreen
Audio codec
Microphone
SDRAM
EMMC
FLASH

Board layout

Top view
       MICROPHONE   POWER     USB    USB
       LINE OUT/IN  HEADER    STLINK POWER
      --------------------------------------
JTAG  |                                    |
      |   4.3" 480x272 WQVGA TOUCHSCREEN   | LEDS
STMOD |                                    |
      -------------------------------------|
       USER     RESET             ETHERNET
       BUTTON   BUTTON

The STMOD interface supports MikorBUS, ESP-01 and GROVE I2C/UART.

Memory layout

The default linker scripts for FLASH define the following

CM7
FLASH (rx)      : ORIGIN = 0x08000000, LENGTH = 1024K
RAM (xrw)      : ORIGIN = 0x20000000, LENGTH = 128K
ITCMRAM (xrw)      : ORIGIN = 0x00000000, LENGTH = 64K
CM4
FLASH (rx)      : ORIGIN = 0x08100000, LENGTH = 1024K
RAM (xrw)      : ORIGIN = 0x10000000, LENGTH = 288K

Pinout

LED
PI13 LD6 RED
PJ2  LD7 GREEN
PD3  LD8 GREEN

BUTTON
PC13  B1
RESET B2

X1 25 MHz OSC MODULE
OSC_IN

X2 NX3215SA-32.768K
OSC32_IN
OSC32_OUT

OpenOCD

/mnt/c/Apps/OpenOCD-20230712-0.12.0/bin/openocd.exe -f "interface/stlink.cfg" -c "transport select hla_swd" -f "target/stm32h7x.cfg"
Open On-Chip Debugger 0.12.0 (2023-07-12) [https://github.com/sysprogs/openocd]
Licensed under GNU GPL v2
libusb1 09e75e98b4d9ea7909e8837b7a3f00dda4589dc3
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
hla_swd
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 1800 kHz
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : STLINK V3J13M4 (API v3) VID:PID 0483:3754
Info : Target voltage: 3.265339
Info : [stm32h7x.cpu0] Cortex-M7 r1p1 processor detected
Info : [stm32h7x.cpu0] target has 8 breakpoints, 4 watchpoints
Info : starting gdb server for stm32h7x.cpu0 on 3333
Info : Listening on port 3333 for gdb connections

Resources

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information