Comments (8)
There is no need for any special compiling or inclusion of libraries. The stvp toolset comes with a pre-compiled binary command-line executable called "STVP_CmdLine.exe". That will get your hex file burned to the chip out of the box. I was unable to find any specific on-line documentation for it but the help is quite comprehensive:
"C:\Program Files (x86)\STMicroelectronics\st_toolset\stvp\STVP_CmdLine.exe" -help
from stm8flash.
It is possible to cross-compile stm8flash under GNU/Linux to a Windows .exe.
You'll also need a libusb DLL: https://github.com/libusb/libusb/releases
Pre-compiled Windows binaries (with a libusb DLL included) are provided by the sduino project. Their current Windows tools release is https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_mingw32-2019.02.05.tar.bz2
from stm8flash.
I'm not a stm8flash developer and I am presuming alot here but I would suggest that the stm8flash is purely targeted to run natively under the linux environment. For windows, I would recommend the freely available stvp toolset from here: https://www.st.com/en/development-tools/stvp-stm8.html
from stm8flash.
I hope it can support compiling under Windows, such as mingw64 compiling, and outputting exe to burn the chip with the command line.
from stm8flash.
as @allanwmacdonald comments, for windows environment you can use the freely available stvp, check https://www.st.com/en/development-tools/stvp-lib-stm8.html documentation to see how you can burn your chips directly from commandline.
from stm8flash.
@joshuadavila ,Thanks!!!
from stm8flash.
https://www.st.com/en/development-tools/stvp-lib-stm8.html contains the source code used to create STVP_CmdLine.exe , of course you can use the pre-compiled binary, but it gives you the libraries to embed stvp functionality into your own applications.
from stm8flash.
STVP_ CmdLine.exe test is available, thank you very much!
from stm8flash.
Related Issues (20)
- Won't compile under Raspbian stretch. HOT 1
- Error while comparing S5 record HOT 3
- Wrong identification when using more tahn two ST-link v2 HOT 5
- Multiple Boards with same Serial Number HOT 9
- Issue with serial numbers HOT 1
- stm8flash fails to connect with the ST-Link/V2 HOT 1
- STM8L052C6 - Unable to write to flash and EEPROM, Tries exceeded HOT 7
- how to reset stm8 with stm8flash (with no power down) HOT 2
- add Windows support HOT 2
- eeprom+opt read/write on stm8s103?3 and stm8s105?4 is working ok HOT 1
- stlinkv3 and swim reset HOT 12
- Extension detection is a bit naive HOT 6
- SWIM error 0x16 when attempting to flash STM8L050J3 HOT 5
- Target is left in ICP mode after reading flash HOT 1
- Incorrect reading from the s-record format files HOT 12
- Eclipse IDE support HOT 6
- Better error handling HOT 1
- stlinkv2: flash programming mode selection is broken HOT 1
- Writing to Option Bytes not working 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 stm8flash.