Same error as above. I've also tried all these steps to no avail. Both LD1 and LD2 are GREEN now. LD1 was flashing green and red during the Firmware Flash stage. LD3 is red.In Device Manager I do see the "ST-Link Debug" and "STLink Virtual Com port (...
Looks like a CubeID's but for STM32L432KC as well. I've been manually changing the value after genereating code. But I like your approach of the #define better. #define RCC_HSICALIBRATION_DEFAULT 0x10U