cancel
Showing results for 
Search instead for 
Did you mean: 

Writing 8-bit data not working correctly in CLI

Simon Nilsson
Associate

Writing 8-bit eeprom data with STM32_Programmer_CLI only works when writing to 32-bit aligned addresses i.e. 0x08080000 or 0x08080004 but not with 0x08080001.

Example commands:

$ ./STM32_Programmer_CLI.exe -c port=SWD -w8 0x08080000 0x10
 
Downloading 8-bit data...
 
Writing 0x10 at 0x08080000... OK
 
 
$ ./STM32_Programmer_CLI.exe -c port=SWD -w8 0x08080001 0x10
 
Downloading 8-bit data...
 
Error: Writing 0x10 at 0x08080001... Error
If it's a Flash memory, it may be not erased or protected

Environment:

Windows 10

STM32CubeProgrammer v2.0.0

Programmer: ST-Link V2 and ST-Link V3SET

MCU: STM32L071

1 REPLY 1
Simon Nilsson
Associate

I can add that the same issue exists in the GUI.