A quick description how to set up the hardware and run the project. Further documentation about the build process can be found in bootloader build and in GUI build.
- Installation of Aurix Development Studio
- Installation of QT 6.8.0 Open Source with MSVC2019 64 and cmake. Under LGPLv3 license which content can be accessed in the LGPLv3 file.
- Install MSVC2022 (remember to add the compiler to the system variable PATH) and Microsoft SDK using e.g. Visual Studio
- Install cmake
- Vector Driver for CancaseXL
- XL Driver Library
- Canoe
- Aurix Memtool to read memory from the Aurix dev kit
- connect the cable for the serial port from the Cancase to the Aurix Microcontroller. On the Aurix TC375 the CAN pins are right next to the ethernet port. Make sure that the high and low pins are connected by the same cable e.g. the white cable connects high from the adapter on the Cancase to the high pin on the board.
- connect the microcontroller via a micro USB cable to your computer
- connect the Cancase via a USB cable to your computer
- select Cancase in Can Hardware Manager (comes bundled with Vector Drivers) or similar tool
- either build the bootloader and GUI yourself see bootloader build and GUI build or use the binaries from the latest release
- extract the zip file from the release
- to run the GUI the vxlapi.dll and vxlap64.dll are needed from the Vector Driver Library: either copy those files next to the WINDOWS_GUI.exe or add them to your path (
PATH=%PATH%;C:\Users\Public\Documents\Vector\XL Driver Library 20.30.14\bin
) - powershell:
call "WINDOWS_GUI.exe"
- extract the elf file from the latest release
- flash the elf file to the Aurix MCU
- the Flashing tool from the Aurix IDE can be used for this
C:\Infineon\AURIX-Studio-1.9.20\tools\AurixFlasherSoftwareTool_v1.0.8\AurixFlasher.exe -elf MCU_Aurix.elf
- or build and flash it yourself in the Aurix IDE
- the Licences can be found in the upper left corner
- in
Settings
you can switch between normal and rpofessional mode, to hide or show the log - the GUI is separated in different sections: ECU, File and Communication
- currently connected Microcontrollers are listed here in a table
- to refresh the currently connected microcontrollers, press the
refresh
button - by selecting a row in the table a microcontroller is selected to perform all operations with
- for a selected microcontroller the current status is shown below the table: green means connected and red connection lost
- if a microcontroller can not be found, it may be because it is currently running the application software
- the
reset to bootloader
button resets the MCU to the bootloader, if the application supports this feature - to reset the selected MCU press the
reset
button - for flashing a file must be choosed through the Flash File section
- to flash the file to the selected MCU press the
flash
button
- press choose file and select a file for flashing in the file explorer
- the metada of the file are listed underneath, like version, validity, extension, etc.
- for validity the file is checked to only contain addresses that the MCU allows
- the communication protocol with the MCU can be choosen, the default is CAN
- A log of the last CAN messages since opening the GUI is also shown in this section
- to clear the log press
clear console