From fc97acf467764c445d90503c2b5affb032adf844 Mon Sep 17 00:00:00 2001 From: Adam Gausmann Date: Sat, 17 Feb 2024 14:55:00 -0600 Subject: [PATCH] stm32h743xx: Add AXI SRAM memory map Reference: RM0433, Table 7 (Memory map) https://www.st.com/resource/en/reference_manual/rm0433-stm32h742-stm32h743753-and-stm32h750-value-line-advanced-armbased-32bit-mcus-stmicroelectronics.pdf Signed-off-by: Adam Gausmann --- pyocd/target/builtin/target_STM32H743xx.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pyocd/target/builtin/target_STM32H743xx.py b/pyocd/target/builtin/target_STM32H743xx.py index 841c4c734..213a0d664 100644 --- a/pyocd/target/builtin/target_STM32H743xx.py +++ b/pyocd/target/builtin/target_STM32H743xx.py @@ -1,5 +1,6 @@ # pyOCD debugger # Copyright (c) 2023 David van Rijn +# Copyright (C) 2024 Adam Gausmann # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -168,6 +169,10 @@ class STM32H743xx(CoreSightTarget): RamRegion( start=0x20000000, length=0x20000, is_cachable=False, access="rw"), + + # AXI SRAM + RamRegion( start=0x24000000, length=0x80000), + #sram1 RamRegion( start=0x30000000, length=0x20000, is_powered_on_boot=False), @@ -321,6 +326,3 @@ def mass_erase(self, flash_banks=[0,1]): while self.read32(bank.flash_sr) & 1: time.sleep(0.1) LOG.info("mass_erase bank %i done", bank.bank) - - -