Comments (13)
Too big to paste. You can find it here:
https://gofile.me/7bRXP/eCDrZIzCT
from stlink.
Well you can replace the characters in the mentioned files yourself locally and recompile. 😉
I'll likely not generate a separate commit solely for it.
It will be pushed bundled with other fixes instead, as soon as these are resolved as well.
from stlink.
Bug found and fixed locally. It will be pushed to the testing
branch soon.
However, as the Merge-Window for the upcoming Release v1.8.0 has already closed, it will not be part of this release.
from stlink.
It is the same during programming. The line overwrites the last line which is confusing.
from stlink.
Should be the same fix somewhere else in the code, I presume.
@lefebvresam Can you produce some debug output for the latter from which one can identify some source code filenames? This would ease debugging. Thx.
from stlink.
Ping @lefebvresam
from stlink.
Can you tell me the steps to create the right output? I tried with make debug and make install but don't see any debug information.
from stlink.
@lefebvresam Simply add the --debug
option to the st-flash
commands you are referring to.
You can upload the output to pastebin.
from stlink.
@lefebvresam I've downloaded it, so you can remove the share again, if you wish to.
It is now fixed for the erase
command.
Did it also affect the write
command?
from stlink.
This listing I provided is for the writing. There you see the message "writing page ..." in front of other messages.
Flash the chip with build/develop/source/hmc20.bin
st-flash 1.7.0-354-g32e8dcc
2024-02-04T23:56:45 INFO common.c: STM32U575_U585: 786 KiB SRAM, 1024 KiB flash in at least 8 KiB pages.
file build/develop/source/hmc20.bin md5 checksum: febabfdaa094210b9119395763fb7, stlink checksum: 0x01837946
2024-02-04T23:56:45 INFO common_flash.c: Attempting to write 250092 (0x3d0ec) bytes to stm32 address: 134217728 (0x8000000)
-> Flash page at 0x803c000 erased (size: 0x2000)
2024-02-04T23:56:45 INFO flash_loader.c: Starting Flash write for WB/G0/G4/L5/U5/H5/C0
30/30 pages writtenARN flash_loader.c: Data size is aligned to 16 byte
2024-02-04T23:57:04 INFO common_flash.c: Starting verification of write complete
2024-02-04T23:57:06 INFO common_flash.c: Flash written and verified! jolly good!
2024-02-04T23:57:06 INFO common.c: NRST is not connected --> using software reset via AIRCR
2024-02-04T23:57:06 INFO common.c: Go to Thumb mode
from stlink.
Ok, thx. I'll have a look in these specific files then.
from stlink.
This is fixed by now. All related output lines are in common_flash.c
and flash_loader.c
.
All carriage return \r
characters found have been replaced by newline \n
characters.
The ticket will be closed by automation upon reference in one of the next commits.
from stlink.
How can I test it?
from stlink.
Related Issues (20)
- stlink V3 mini not "usable" [Win7 64bit] HOT 1
- [feature] OTP Read/Write
- stlink-gui: failed to allocate 139988352155568 bytes HOT 1
- ST-LINK-V3MINIE: LIBUSB_ERROR_TIMEOUT only when debugger is powered without connection to target board HOT 2
- STLinkv3: UDEV rules in Debian not matching STLINK-V3MINIE HOT 1
- [STM32G0B1RE / Nucleo G0B1RE]: False chip id reading HOT 2
- [STM32F103] stlink programmers are disappearing after running probing twice. HOT 2
- [STM32U575RGT6]: Verification failed at offset 43008 HOT 9
- Latest release stlink-1.8.0-win32 doesn't run HOT 8
- Can't build stlink 1.8.0 for Fedora HOT 8
- [feature] Caching and diffing bin/hex HOT 1
- Update on #1357 HOT 1
- [feature] Read/write operations on external SPI Serial Flash Memory HOT 1
- STM32H7A: Flash write fails on second page HOT 2
- Compiling stlink with Raspberry Pi fails for v1.8.0 HOT 2
- Cmake minimal version mismatch HOT 1
- Debian 11 x64 doesn't work with v1.8.0 because of incompatible glibc HOT 3
- When I build stlink on windows, it says libusb not found HOT 1
- [feature] Just a question .. about next release and ... clones ... HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stlink.