Update ReadMe.md

This commit is contained in:
2022-12-21 08:08:06 +00:00
parent 37cdda8f33
commit bbaa121fa2

View File

@ -9,7 +9,7 @@ This Code is for uploading the [TECware](https://gitlab.psi.ch/coldbox/tec/tecwa
- go into the python directory: `cd python`
- install python library: `python setup.py install`
- then go back to the home directory
- copy the srec file from the [TECware](https://gitlab.psi.ch/coldbox/tec/tecware) reop to this directory
- copy the srec file from the [TECware](https://gitlab.psi.ch/coldbox/tec/tecware) repo to this directory
- (If you are on windows, please change you CAN Interface in the uploadtec.py script) [here](https://www.feaser.com/en/blog/2018/07/libopenblt-python-bindings-tutorial/) some infos
## Usage
@ -18,8 +18,10 @@ to use this script the libopenblt.(so on linux)(dll on windows) library should b
on linux first reset the canbus with `./resetCAN.sh`.
now copy the .srec file to this directory
the use the script to upload the code:
`python uploadtec.py [all/1-8] [filename]`
`python uploadtec.py [all/1-8] [filename.srec]`
if the upload gets interrupted, the should restart the upload because th code on the TEC is now corrupted.
The Bootloader itself should not corrupt itself, so everything is save. These are 2 completly different and independent programms.
The Bootloader itself should not corrupt itself, so everything is save. These are 2 completly different and independent programms.