User Activity

 The STM32H5 use SWD port 1 for flash/debug  (other old families as F4, F7, G0, G4...) uses port 0.I can compile the code for M33 with TrueSTUDIO, but I can't flash the application because I don't know how to specify the port number.I couldn't find h...
Using an STM32H5 I recently came across a problem: triggering a hard fault when accessing data in FLASH (read FLASHSIZE_BASE).It turns out in this thread that the ICACHE being validated, it is necessary to configure the MPU to make “uncacheable” the ...
When I generate code for the MPU region 0 wit HAL I get:void MPU_Config(void) { MPU_Region_InitTypeDef MPU_InitStruct = {0}; MPU_Attributes_InitTypeDef MPU_AttributesInit = {0}; /* Disables the MPU */ HAL_MPU_Disable(); /** Initializes an...
I'm using a Nucleo-H563ZI in non-secure mode.When I access the FLASHSIZE_BASE address:#define FLASHSIZE_BASE (0x08FFF80CUL) /*!< Flash size data register base address */I get a hard fault (16 or 32 bit access).In the debugger the memory dum...
I wanted to use a Nucleo-H563ZI but I can’t program it:STMicroelectronics ST-LINK GDB server. Version 7.5.0 Copyright (c) 2023, STMicroelectronics. All rights reserved. Starting server with the following options: Persistent Mode :...
Kudos given to