STM32L475 DBGMCU register addresses.
https://github.com/pyocd/pyOCD/blob/a064d8fb99c44f32123e51d91331859b9030b5c0/pyocd/target/builtin/target_STM32L475xx.py#L29

Should the register address for APB1FZR2 be 0xE004200C?

APB1FZR2 = 0xE004200C

and

APB2FZR = 0xE0042010

I am attempting to use this driver for an STM32L496VGT3 which fails to load the flash even if I make the changes but that might be because of some difference between STM32L475 and STM32L496 so I can't confirm the above with a test. If anyone has a working STM32L496 setup I would be interested to know how you setup pyOCD for it.
diff --git a/pyocd/target/builtin/target_STM32L475xx.py b/pyocd/target/builtin/target_STM32L475xx.py
index 0665b22d..7279572a 100644
--- a/pyocd/target/builtin/target_STM32L475xx.py
+++ b/pyocd/target/builtin/target_STM32L475xx.py
@@ -26,10 +26,10 @@ class DBGMCU:
     APB1FZR1 = 0xE0042008
     APB1FZR1_VALUE = 0x86e01c3f
 
-    APB1FZR2 = 0xE0042008
+    APB1FZR2 = 0xE004200C
     APB1FZR2_VALUE = 0x00000022
 
-    APB2FZR = 0xE004200C
+    APB2FZR = 0xE0042010
     APB2FZR_VALUE = 0x00072800
 
 FLASH_ALGO = { 'load_address' : 0x20000000,
['pyocd/target/builtin/target_STM32L475xx.py']