bbaa121fa20cfee7570afe1327f67997bd370f4b
Upload Tec Script
This Code is for uploading the TECware to the TEC in the Coldbox environemen via the CAN Bus.
Installation
- Please install python 3.6 on you PC / Raspberry PI
- then go to you terminal, jump to this directory
- 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 repo to this directory
- (If you are on windows, please change you CAN Interface in the uploadtec.py script) here some infos
Usage
to use this script the libopenblt.(so on linux)(dll on windows) library should be in the same directory.
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.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.
Description
Languages
Python
99.9%