Core M4 can't access calibrated ADC values (VREF, int. temp)

I tried to use the functions:

__HAL_ADC_CALC_VREFANALOG_VOLTAGE(__VREFINT_ADC_DATA__,ADC_RESOLUTION_16B);

and

__HAL_ADC_CALC_TEMPERATURE(__VREFANALOG_VOLTAGE__, __TEMPSENSOR_ADC_DATA__,__ADC_RESOLUTION__)

Both functions use stm factory calibrated values, which are stored in memory between 0x1FF00000 -
0x1FF1FFFF. M7 has access to this part but M4 hasn't. So the board crashes when you are trying to use these functions with the M4 core.

The addresses can be found in: stm32h7xx_ll_adc.h line 370-391.
The ADC version is ADC_VER_V5_X.

To solve the issue i read those values with the M7 core and defined them as my "own calibration" values. Maybe you can activate those reserved regions for the M4 core, but reading the values with the M4 core and defining them in my sketch was the fastet way for me.

Maybe someone else has this problem and this post will help.

Solution in first post