2024-09-13 09:34 PM
Hi, thank you for having access to this report.
Here is STM32CubeProgrammer's output text.
(0) > STM32_Programmer_CLI --connect port=swd -w .\board\art-pi\projects\applications\build\Debug\applications.elf 0x90000000 -v -el .\board\art-pi\ExternalLoader\ART-Pi_W25Q64.stldr
-------------------------------------------------------------------
STM32CubeProgrammer v2.17.0
-------------------------------------------------------------------
ST-LINK SN : 066BFF554957886687101038
ST-LINK FW : V2J42M27
Board : --
Voltage : 3.27V
SWD freq : 4000 KHz
Connect mode: Normal
Reset mode : Software reset
Device ID : 0x450
Revision ID : Rev V
Device name : STM32H7xx
Flash size : 128 KBytes
Device type : MCU
Device CPU : Cortex-M7
BL Version : 0x91
Warning: Write address is ignored for hex, Srec, s19 and elf files
Memory Programming ...
Opening and parsing file: applications.elf
File : applications.elf
Size : 996.35 KB
Address : 0x90000000
Erasing memory corresponding to segment 0:
Erasing external memory sectors [0 249]
Download in Progress:
��������������������������������������������������� 100%
File download complete
Time elapsed during download operation: 00:00:11.568
Verifying ...
Read progress:
��������������������������������������������������� 100%
Download verified successfully
This works fine, but he doesn't feel very well.
And I tried to use utf-8 encoding format, but it's still garbled.
2024-10-09 02:56 AM
Hello @totoro
I don't think this is a bug since STM32_Programmer_CLI is normally used in cmd shell on Windows or Terminals on MAC or Linux (With the default encoding (IBM850), the progress bar is displayed as expected).
Could you specify what you're using exactly ?
As I see it, this is most certainly a Terminal encoding issue. Could you try the following :
>chcp 850
Let me know if it solves the issue,
Aziz
2024-10-23 08:12 AM - edited 2024-10-23 08:24 AM
Hello @totoro
Did my previous comment resolve the issue ? If yes, could you please accept the answer as solution so that it could easily be found by other users ?
Thanks in advance,
Aziz
2024-10-23 08:17 AM
@Aziz BRIGUI wrote:mark the answer as best
Note that the option now appears as 'Accept as Solution' rather than "best":
https://community.st.com/t5/feedback-forum/need-an-other-tools-section/td-p/734522
2024-10-23 08:25 AM - edited 2024-10-23 08:26 AM
Hi @Andrew Neil
Yes, old habit from the old platform.
Comment edited accordingly,
Thanks a lot,
Aziz
2024-10-23 07:35 PM
Sorry, I forgot to reply, this method cannot solve that problem.
2024-10-24 01:07 AM
I agree with @Aziz BRIGUI - the problem there is the configuration of your terminal: it's not correctly displaying the graphic characters used by CubeProgrammer to display the progress bar.
2024-10-24 01:14 AM
I think I understand. It may be related to one of my settings.
2024-10-24 01:40 AM
So what happens if you change that?
2024-10-25 07:01 AM
It still does not display the progress bar's graphic characters correctly, but the result is different from before.