Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
boards:stm32h7 [2024/10/07 01:52] – [Factory reset] darronboards:stm32h7 [2024/12/18 09:45] (current) darron
Line 19: Line 19:
 FLASH FLASH
 </code> </code>
 +
 +
 +The user manual explains that the SMPS must be enabled in
 +firmware otherwise there will no connection to the device over ST-LINK.
  
 ===Board layout=== ===Board layout===
Line 54: Line 58:
 RAM (xrw)      : ORIGIN = 0x10000000, LENGTH = 288K RAM (xrw)      : ORIGIN = 0x10000000, LENGTH = 288K
 </code> </code>
 +
 +
 +===RAM===
 +
 +^Address ^Type^Size^Alias^
 +|0x00000000 .. 0x0000FFFF|ITCM (CM7) |64KB | |
 +|0x20000000 .. 0x2001FFFF|DTCM (CM7) |128KB| |
 +|0x24000000 .. 0x2407FFFF|AXI SRAM |512KB| |
 +|0x30000000 .. 0x3001FFFF|SRAM1    |128KB|0x10000000 .. 0x1001FFFF|
 +|0x30020000 .. 0x3003FFFF|SRAM2    |128KB|0x10020000 .. 0x1003FFFF|
 +|0x30040000 .. 0x30047FFF|SRAM3    |32KB |0x10040000 .. 0x10047FFF|
 +|0x38000000 .. 0x3800FFFF|SRAM4    |64KB |
 +|0x38800000 .. 0x38800FFF|BACKUP SRAM| 4KB|
  
 ===Pinout=== ===Pinout===
Line 164: Line 181:
 </code> </code>
  
-===Disable backlight=== 
  
-Code to embed into ST demo.+===Board Support Packages===
  
 <code> <code>
-  __HAL_RCC_GPIOK_CLK_ENABLE(); +#! /bin/sh 
-  GPIO_InitTypeDef GPIO_InitStruct = {0}; +mkdir -p /opt/BSP && cd /opt/BSP 
-  GPIO_InitStruct.Mode  = GPIO_MODE_OUTPUT_PP; +git clone https://github.com/STMicroelectronics/stm32h745i-disco-bsp 
-  GPIO_InitStruct.Pull  = GPIO_NOPULL; +git clone https://github.com/STMicroelectronics/stm32-bsp-common 
-  GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_MEDIUM; +git clone https://github.com/STMicroelectronics/stm32-ft5336 
-  GPIO_InitStruct.Pin   = GPIO_PIN_0; +git clone https://github.com/STMicroelectronics/stm32-mt25tl01g 
-  HAL_GPIO_Init(GPIOK, &GPIO_InitStruct); +git clone https://github.com/STMicroelectronics/stm32-mt48lc4m32b2 
-  HAL_GPIO_WritePin(GPIOK, GPIO_PIN_0, GPIO_PIN_RESET);+git clone https://github.com/STMicroelectronics/stm32-rk043fn48h 
 +git clone https://github.com/STMicroelectronics/stm32-wm8994
 </code> </code>
 +
 +===FreeRTOS Demo===
 +
 +My [[https://wiki.kewl.org/projects:ewp|ewp.py]] application converts ST IAR projects to
 +work with GNU open source tools.
 +
 +See [[https://wiki.kewl.org/projects:ewp#stm32cubeh7_demo|here]] to find instructions on how to build the FreeRTOS demo
 +for the STM32H745.
 +
 ===Resources=== ===Resources===
  
Line 197: Line 223:
  
 [[https://www.st.com/resource/en/application_note/dm00306681-stm32h72x-stm32h73x-and-singlecore-stm32h74x75x-system-architecture-and-performance-stmicroelectronics.pdf|MCU architecture]] [[https://www.st.com/resource/en/application_note/dm00306681-stm32h72x-stm32h73x-and-singlecore-stm32h74x75x-system-architecture-and-performance-stmicroelectronics.pdf|MCU architecture]]
 +
 +[[https://www.st.com/resource/en/application_note/dm00733995-stm32h745755-and-stm32h747757-lines-dualcore-architecture-stmicroelectronics.pdf|MCU dual core architecture]]
  
 [[https://github.com/STMicroelectronics/STM32CubeH7|ST demos]] [[https://github.com/STMicroelectronics/STM32CubeH7|ST demos]]
  
 +/*
 [[https://www.freertos.org/STM32H7_Dual_Core_AMP_RTOS_demo.html|FreeRTOS dual core demo]] [[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]] [[https://github.com/FreeRTOS/FreeRTOS/tree/main/FreeRTOS/Demo/CORTEX_M7_M4_AMP_STM32H745I_Discovery_IAR|FreeRTOS dual core demo on github]]
 +*/