cancel
Showing results for 
Search instead for 
Did you mean: 

ST-Link Utility CLI for STM32L151

PPK
Associate II

Environment

Installed software:

STM32 ST-LINK utility (STSW-LINK004) v 4.4.0.0 ; (with its ST-LINK_CLI). 

STM32CubeProgrammer (STM32CubeProg) v 2.0.0 (with its STM32_Programmer_CLI). 

Hardware:

MCU: STM32L151CB.

Debugger: STLink/V2 hardware.

I am using ST-LINK utility to erase Data EEPROM of the MCU, as CubeProg can't do this over Command prompt (STM32_Programmer_CLI). (I am automating programming. So need to use CLI). And ST-LINK_CLI fails to disable RDP byte, before I need to upgrade the MCU firmware. So I need to use STM32_Programmer_CLI.

ST-LINK_CLI with "-Log" option does not store the log though it says so !

"Trace.log generated in the following folder :

C:\Users\<my_windows_user_ID>" where the log is not found though !

As per the document it should have been in C:\Users\<my_windows_user_ID>\STMicroelectronics\ST-LINK Utility\ . Log is not found here too !

My Q's:

ST-LINK_CLI doe not work well for Option Bytes section of this MCU AND, STM32_Programmer_CLI not enabled to erase the Data EEPROM. 

Log is not working in ST-LINK_CLI.

Thanks ! 

0 REPLIES 0