cancel
Showing results for 
Search instead for 
Did you mean: 

2.16 says CLI outputs has changes it now says "sector does not exists"

arro239
Senior

I am trying to migrate from cubeProgrammer 2.15 to 2.16

I am using same exact command with both versions

bin/STM32_Programmer_CLI.exe -c port=usb1 -w "rusefi.bin" 0x08000000 -v -s

with 2.15 output is

Memory Programming ...
Opening and parsing file: rusefi.bin
  File          : rusefi.bin
  Size          : 695.21 KB 
  Address       : 0x08000000 


Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 9]
erasing sector 0000 @: 0x08000000 done
erasing sector 0001 @: 0x08004000 done
erasing sector 0002 @: 0x08008000 done
erasing sector 0003 @: 0x0800c000 done
erasing sector 0004 @: 0x08010000 done
erasing sector 0005 @: 0x08020000 done
erasing sector 0006 @: 0x08040000 done
erasing sector 0007 @: 0x08060000 done
erasing sector 0008 @: 0x08080000 done
erasing sector 0009 @: 0x080a0000 done
Download in Progress:
±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±± 0%

 

but with 2.16 same exact bin same exact command says

Device name : STM32F405xx/F407xx/F415xx/F417xx
Flash size : 1 MBytes (default)
Device type : MCU
Revision ID : --
Device CPU : Cortex-M4

Memory Programming ...
Opening and parsing file: rusefi.bin
File : rusefi.bin
Size : 694.37 KB
Address : 0x08000000

Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 9]
sector 0000 does not exist
sector 0001 does not exist
sector 0002 does not exist
sector 0003 does not exist
sector 0004 does not exist
sector 0005 does not exist
sector 0006 does not exist
sector 0007 does not exist
sector 0008 does not exist
sector 0009 does not exist
Download in Progress:
±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±± 0%

 

is this a bug or a feature?

5 REPLIES 5
LLMuc
Associate

Hi there,

i am facing a very similar issue after upgrading to STM32CubeProgrammer v2.16.0.

When downloading an .elf file with USB connection to an STM32F407 (using the STM32CubeProgrammer GUI), I get the error "sector 0000 does not exist". The download ends successfully, but the program is not loaded correctly.

With v2.15.0, the download is successful and the program runs as expected.

v2.16.0 output:

 

13:53:08 : Memory Programming ...
13:53:08 : Opening and parsing file: stmecutest.elf
13:53:08 : File : stmecutest.elf
13:53:08 : Size : 26.48 KB
13:53:08 : Address : 0x08000000
13:53:08 : Erasing memory corresponding to segment 0:
13:53:08 : Erasing internal memory sectors [0 1]
13:53:08 : sector 0000 does not exist
13:53:08 : sector 0001 does not exist
13:53:08 : Download in Progress:
13:53:08 : File download complete
13:53:08 : Time elapsed during download operation: 00:00:00.464

 

Could you advise?

Mkotb
Associate II

I'm facing the same issue with v2.16.0
and somehow this is related to (Erase selected sectors) button, which is doesn't work and giving the same messages (sector 0000 does not exist ... etc), but (Full chip erase) works.

Aziz BRIGUI
ST Employee

Hello Everyone,

Regression is detected internally and tracked under 178135 (This is an internal tracking number not accessible to customers on community).

As mentioned by @Mkotb, issue is related to sector erase through USB and will be fixed in a future release.

Thanks for understanding.

Aziz  


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
LLMuc
Associate

Hi Dev Team,

 

can you please prioritize and fix that? This bug can lead to failed SW updates for our customers, which is a severe issue!

 

Thanks

Give them more specific instructions or own the software update software / experience. 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..