Skip to content

Commit

Permalink
stm32h743xx: Add AXI SRAM memory map
Browse files Browse the repository at this point in the history
  • Loading branch information
agausmann committed Feb 17, 2024
1 parent 5ab5c32 commit fc97acf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pyocd/target/builtin/target_STM32H743xx.py
Original file line number Diff line number Diff line change
@@ -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");
Expand Down Expand Up @@ -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),
Expand Down Expand Up @@ -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)



0 comments on commit fc97acf

Please sign in to comment.