Open maxgerhardt opened 4 years ago
Hi @maxgerhardt, thanks for reporting the issue. I think the problem is caused by the memory region definitions in the CMSIS pack. I've seen some issues in other STM32 packs, so I'll double check the L476 pack when I get a chance and report back. (I also need to make pyOCD more resilient to these kinds of issues.)
0.27.1.dev63
When attempting to flash a firmware using CLion's "Embedded GDB server" configured to call into
pyocd
, a fatal error occurs. The following CLion configuration is used:Where as the file comes from https://www.keil.com/dd2/pack/ ("STMicroelectronics STM32L4 Series Device Support, Drivers and..").
The verbose pyocd logs are as follows:
Using it without the explicit chip target works without problems. Log with
-t cortex_m
instead:So this isn't super criticial but it's still kinda bothersome and maybe interesting to you that debugging with an explicit chip target from that pack fails, while the general
cortex_m
mode works.