Comments (9)
Hi,
thank you for your feedback.
You are not missing anything, flashing is currently very slow due to the
way it is implemented. I did not want to spend time on it since I dealt with
relatively small binaries (even there, slowness is noticeable). It is likely
that I will work on bigger projects in the coming months; I may work on
this issue. But as usual, your (or someone else) contribution is more than
welcome! :)
Regards,
Fabien.
2011/11/24 EtiennePhillips
[email protected]:
Hi All
THANKYOU for providing this utility. It's really appreciated!
I'm running Snow Leopard, and am finding the flash utility (last week's version) really slow when writing to STM32F4Discovery board. I'm playing with the audio example, which generates a 1MB binary, which takes about 20mins to download to the device. When using the ST-Link utility (the official ST one) on Windows, it downloads in 1-2 mins.
Is there a compilation flag, or something I'm missing that would speed things up?
Thanks!
Etienne
Reply to this email directly or view it on GitHub:
#32
from stlink.
Thanks Fabien
I've just started working with ST/Arm, so it's all a bit new to me. I'm unlikely to work on large projects for a while, so I'm more than happy to use it as is. I was just wondering if I had compiled using a debug symbol by accident, or something!
If I do come up with any improvements, I will definitely contribute them :)
Thanks again for sharing such a useful tool.
Etienne
from stlink.
Interesting. For me it takes about 40 seconds to load a 184kB image, but it is working on OS X 10.7 for me as well (plus or minus pointing the makefiles to the location where libusb could be found from Homebrew, https://github.com/mxcl/homebrew).
It's nice to have this tool in addition to seeing dfu-util adding support for DfuSe extensions in 0.5.
from stlink.
This have been fixed and merged in pull request #93. A 1M image now loads for me in just over 40 seconds.
from stlink.
thanks for your contribution
from stlink.
Awesome! Thanks very much!
from stlink.
Etienne: If you're happy now, can we please close this?
from stlink.
I'm afraid I haven't had a chance to test it! I'm happy to close it though...
Thanks
from stlink.
As it is 4 years ago some activity was going on in this issue and things have changed over time i'm closing this. Please test with v1.2.0
or master
. Feel free to open a new issue when there are still problems. Thank you for your contribution!
from stlink.
Related Issues (20)
- 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
- CH32F103C8T6: Flashing fails because of timeout HOT 1
- [feature] Nucleo-H563ZI Board not recognized HOT 6
- [STM32L4R5ZI]: gdb-multiarch uses wrong osabi
- [STM32L471RG]: STLINKV3 : can't flash the device. Programmer not supported ? HOT 2
- st-util is very slow when stepping through code HOT 2
- [feature] Workflow w/ RAM uploads and SWO
- v1.8.0 is very slow stepping through code HOT 1
- [feature] Adding a graceful way for st-util to exit
- [doc] STM32H573 reports chipid 0x000 HOT 1
- [STLINK-V3-SET]: If the device fails to enter SWD mode, the usb device is not released HOT 4
- [st-trace] Bug in function static bool read_trace( ) HOT 1
- [STM32H753ZIT6]: ERROR common_flash.c: Failed to unlock flash option! HOT 1
- [STM32 F407VET6]: WARN usb.c: skipping ST device: 0x483:0x5720 HOT 2
- STM32G491: Programming flash error, non-erased value (was #1310) HOT 3
- [installation]: Unable to install stlink in ubuntu based devcontainer HOT 1
- [STM32L41x_L42x]: Read option bytes is getting into error unexpectedly
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.