====STM32 H745 discovery==== {{boards:coremark.jpg?200|Demo app}} \\ \\ {{boards:stm32h745.jpg?200|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=== [[https://www.st.com/en/evaluation-tools/stm32h745i-disco.html|Product page]] [[https://www.st.com/resource/en/data_brief/stm32h745i-disco.pdf|Data brief]] [[https://www.st.com/resource/en/user_manual/um2488-discovery-kits-with-stm32h745xi-and-stm32h750xb-mcus-stmicroelectronics.pdf|User manual]] [[https://www.st.com/resource/en/user_manual/um2695-stmod-fanout-expansion-board-for-stm32-discovery-kits-and-evaluation-boards-stmicroelectronics.pdf|STMOD break-out board manual]] [[https://www.st.com/resource/en/schematic_pack/mb1381-h745xi-b02-schematic.pdf|Schematic]] [[https://www.st.com/en/microcontrollers-microprocessors/stm32h745xi.html|MCU product page]] [[https://www.st.com/resource/en/datasheet/stm32h745xi.pdf|MCU data-sheet]] [[https://www.st.com/resource/en/reference_manual/rm0399-stm32h745755-and-stm32h747757-advanced-armbased-32bit-mcus-stmicroelectronics.pdf|MCU reference manual]] [[https://www.st.com/resource/en/application_note/dm00306681-stm32h72x-stm32h73x-and-singlecore-stm32h74x75x-system-architecture-and-performance-stmicroelectronics.pdf|MCU architecture]] [[https://github.com/STMicroelectronics/STM32CubeH7|ST demos]] [[https://www.freertos.org/STM32H7_Dual_Core_AMP_RTOS_demo.html|FreeRTOS dual core demo]] [[https://github.com/FreeRTOS/FreeRTOS/tree/main/FreeRTOS/Demo/CORTEX_M7_M4_AMP_STM32H745I_Discovery_IAR|FreeRTOS dual core demo on github]]