From bbaa121fa20cfee7570afe1327f67997bd370f4b Mon Sep 17 00:00:00 2001 From: pique_n Date: Wed, 21 Dec 2022 08:08:06 +0000 Subject: [PATCH] Update ReadMe.md --- ReadMe.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index 6fd0ecb..abcedca 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -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. \ No newline at end of file +The Bootloader itself should not corrupt itself, so everything is save. These are 2 completly different and independent programms.