Getting inconsistent results between the ideCube and ST-Link Utility
I have two programmers ST-Link V2 clone and Blue Pill that was flashed with ST-Link V2. I was using the Blue Pill to program two other Blue Pills (BP).
When using the ideCube:
One of the BP would program as expected, but the second BP would throw this lock message.
When using ST-Link Utility and trying to connect to the second BP, it would say the memory was locked. I could clear the lock, blank the memory. Program the BP from the hex file that was built with the ideCube. Clear the memory. Try the ideCube again, get the lock error. Then going back to the ST-Link Utility the memory would be lock again. Is the second BP just bad?
I thought maybe the BP ST-Link flash was bad, so I bought a clone. I am getting the same results when using either the BP programmer or the clone. BTW, ideCube upgraded both of them so I am assuming they are flashed with the most current version.
ideCube about info:
STM32CubeIDE
Version: 1.4.1
Build: 7610_20200730_1509 (UTC)
(C) 2020 STMicroelectronics ALL RIGHTS RESERVED
ST-Link Utility about info:
STM32 ST-LINK Utility v4.5.0.0
STLinkUSBDriver.dll v5.1.2.0
ST-LINK-CLI.exe v3.5.0.0
