Problems with ecosystem & STM32MP157C-EV1 and how to get STM32CubeProgrammer working with it
I'm trying to get STM32MP157C-EV1 board working with the STM32Cube ecosystem.
I've had a lot of issues - the documentation isn't well "connected" re. no "getting started" guide with the board. I eventually found the wiki pages - would be *very* useful if these were mentioned on the STM32MP1 resources webpage!).
The wiki pages describe using the now deprecated SW4STM32 rather than STM32CubeIDE, and whilst it describes setting the boot pins to boot from SDCARD the section on developing on the M4 doesn't say to set them to "engineering mode" (confusingly referred to as "Reserved (No Boot)" in the STM32MP1 reference manual. The board was also supplied without the jumpers being in the documented default settings, but that's another issue ;)
I've eventually got a partially working system using an external J-Link and also with the internal ST-Link (despite the ST-Link firmware version being wrongly reported in many of the tools which confused me at first, and the ST-Link GDB server having a command mismatch with the CubeIDE MI commands - using the OpenOCD connection seems to work fine though).
Thus I can use CubeIDE to access the board (albiet only with J-Link or the inbuilt ST-Link in OpenOCD configuration only.
However, I can't set STM32CubeProgrammer to work at all - connecting via the inbuilt ST-Link always reports "Error: No STM32 target found!".
It also doesn't terminate properly - nothing happens when trying to close the main window, so I have to kill the Java process.
I'm using V2.3.0 on Windows 10 and as above, the ST-Link seems to work otherwise (with caveats as above).
Please can you suggest what the problem might be and what do try to get it working.
Cheers!
