2025-09-22 3:56 AM
I'm trying to connect my STM32H743IGTX controller with JLINK using cubeprogrammerCLI. I am able to connect jlink with cubeprogrammer gui and able to flash. but when i tried using CLI it shows
-------------------------------------------------------------------
STM32CubeProgrammer v2.20.0
-------------------------------------------------------------------
Error: Could not connect to the J-Link/Flasher, Library not found !
im trying to use external flash using my custom loader file generated from cubeide.
the command i used is,
/home/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32_Programmer_CLI -c port=JLINK ap=0 sn=601003130 freq=4000 reset=SWrst -el /home/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/ExternalLoader/XIP.stldr -w /home/project/build/test.hex 0x90000000 -v
2025-09-22 3:58 AM
Does it work without a custom loader?
Does the CLI work with an ST-Link ?
2025-09-22 4:10 AM
I'm able to flash the code using st-link in CLI with custom loader. only with jlink i find these issue
2025-09-22 6:17 AM
Hello @AbubakkarSiddiq ,
We are aware of this issue and it will be fixed in a future CubeProgrammer release. For the time being, please rely on the GUI version. We appreciate your patience.
Maryem.
2025-09-22 6:27 AM
@Maryem wrote:For the time being, please rely on the GUI version
Or, if CLI is required, use ST-Link ?