Pages: [1]
Author Topic: Hot! Full Free Tricore Toolchain (Based on hightec GPL source)  (Read 12890 times)
360trev
Full Member
***

Karma: +68/-2
Offline Offline

Posts: 235


« on: February 02, 2022, 11:15:57 AM »

Just thought I would bring this to your attention. This is not my work but its quite new and will benefit a lot of people here working on MED17.x and SIMOS.
A fully built (and source-code with scripts to roll your own) version of the Infineon Tricore Toolchain (Based on hightec GPL GCC source-codes) has turned up on Github!

Here's what you need. It includes;
> GCC 4.9.4 Full Sources
> Newlib Full Sources
> Bintools Full sources
https://github.com/volumit/package_494/
(Full source-codes to everything)

There is also a GCC 4.9.4 Pre-built binaries version ready for use with Mingw/Windows of Tricore and Infineon AURIX series.
https://github.com/volumit/tricore_gcc494_mingw_bins
(Windows Pre-built MinGW binaries)

It contains the binaries of the Tricore/AURIX GCC 4.9.4 version. Build on Ubuntu for Windows.
extract the files e.g. with 7zip. (see https://www.7-zip.org/)

Furthermore it contains a very very useful "tricore_494_mingw_shell.zip" series of scripts.sh so you can build everything from source-code yourself.
Warning: This need a needs the compilation of the Linux versions first.

If you prefer Linix there is also a GCC 4.9.4 Pre-built binaries for Ubuntu too...
https://github.com/volumit/tricore_gcc494_linux_bins
(Ubuntu Linux Pre-built Binaries)

No more toolchain trials or limitations...

Logged
360trev
Full Member
***

Karma: +68/-2
Offline Offline

Posts: 235


« Reply #1 on: February 02, 2022, 11:21:34 AM »

And not forgetting GDB debugger..
https://github.com/volumit/gdb-tricore

Logged
d3irb
Full Member
***

Karma: +134/-1
Offline Offline

Posts: 195


« Reply #2 on: February 02, 2022, 11:27:21 AM »

This is quite handy - and for those who have written to get the GPL source dump from Hightec in the past, this seems above and beyond in that it includes newlib/libc as well as the GDB fork.

This mystery individual also appears to be making major strides in improving Tricore QEMU.

A huge win for those of us working Tricore overall.
« Last Edit: February 02, 2022, 11:28:57 AM by d3irb » Logged
360trev
Full Member
***

Karma: +68/-2
Offline Offline

Posts: 235


« Reply #3 on: February 02, 2022, 11:32:40 AM »

This is quite handy - and for those who have written to get the GPL source dump from Hightec in the past, this seems above and beyond in that it includes newlib/libc as well as the GDB fork.

This mystery individual also appears to be making major strides in improving Tricore QEMU.

A huge win for those of us working Tricore overall.

Yes, its awesome work.

And for completeness (although I'm sure you will also find the other repo's anyway)

QEMU for Tricore Smiley
https://github.com/volumit/qemu

The re-build shell scripts are particularly important and super useful as its now possible to upgrade/downgrade to any release of GCC you want with a bit of work. If you've ever tried to build GCC from scratch before, well lets just say its a big headache to get fully working and takes days out of your life...
« Last Edit: February 02, 2022, 11:34:39 AM by 360trev » Logged
360trev
Full Member
***

Karma: +68/-2
Offline Offline

Posts: 235


« Reply #4 on: February 02, 2022, 11:43:06 AM »

And to get started now the cost barrier has been reduced even further...

Infineon has produced a super cheap TC334 (Aurix) based 'learning' board.

If your in EU you can buy one for just 50 Euro's, no excuse not to get one now, its basically an Arduino on speed Smiley
https://www.ehitex.de/en/starter-kits/for-aurix/2718/kit-a2g-tc334-lite?c=157

Product information "KIT_A2G_TC334_LITE"
AURIX™ TC334 lite kit is equipped with a 32-Bit Single-Chip AURIX™ TriCore™ based-Microcontroller AURIX™ TC334.

Power:
    on-board miniWiggler Micro-AB USB interface
    external powering 5 V…40 V (recommended 7 V...14 V)

Connectors:
    Most AURIX™ pins available on expansion connectors (X1, X2)
    Two Infineon Shield2Go connectors
    Arduino compatible connectors for 3.3 V
    mikroBUS™ connector
    Micro-USB connector
    DAP Debug connector
    CAN connector
    RJ45 connector

Others:
    CAN transceiver TLE9251VSJ from Infineon
    1 user push-button, 3 user LEDs
    Reset push-button
    Potentiometer (10 kOhm) for variable analog input

« Last Edit: February 02, 2022, 11:49:25 AM by 360trev » Logged
360trev
Full Member
***

Karma: +68/-2
Offline Offline

Posts: 235


« Reply #5 on: February 02, 2022, 11:49:57 AM »

...or how about an even cheaper 30 euro version (!!!) based on a TC275

Description:
AURIX TC275 lite kit is equipped with a 32-Bit Single-Chip AURIX TriCore based-Microcontroller, a TC275. 
 
Summary of Features:
    Arduino Connector
    Arduino ICSP Connector
    Voltage Regulator 5V to 3.3V
    Optional 0-Ohm resistors (R39_opt/R40_opt in 1210 imperial)
    Arduino Connector (Digital)
    20 MHz Crystal for AURIX™ TM and 12 MHz Crystal for OCDS
    Mikrobus Connector for WIFI/BLE
    Infineon CAN Transceiver TLE9251VSJ & CAN Connector
    Pin Connector X2
    Power LED (D5)
    LEDs D1/D2 for ADBUS7/4 and LED3 for ESR0 Signal (low-active)
    Arduino Pin Connector (POWER & ANALOG IN)
    Potentiometer (10 kOhm) and solderable 0 Ohm resistor (R33 in 0805 imperial)
    Micro USB (USB3.0 recommended)
    10-pin DAP Connector
    Reset Button
    2 x Shield2GO Connector for Infineon Maker Shields
    EEPROM 1Kbit

https://www.ehitex.de/en/starter-kits/for-aurix/2694/kit-aurix-tc275-lite?c=98
 
Logged
360trev
Full Member
***

Karma: +68/-2
Offline Offline

Posts: 235


« Reply #6 on: February 02, 2022, 12:14:40 PM »

This is quite handy - and for those who have written to get the GPL source dump from Hightec in the past, this seems above and beyond in that it includes newlib/libc as well as the GDB fork.

This mystery individual also appears to be making major strides in improving Tricore QEMU.

A huge win for those of us working Tricore overall.


...Upset the wrong competent engineer and there will be consequences Smiley
Logged
prj
Hero Member
*****

Karma: +1072/-480
Online Online

Posts: 6035


« Reply #7 on: February 03, 2022, 03:57:07 PM »

Most likely source code was requested from Hightec with a bit more pushing than I did.
E-mail was ignored, however I called them in person and asked for it, and they sent it, though I only asked for the binutils because I did not care about the rest.

I needed the binutils as I didn't fancy writing a disassembler from scratch when someone already had done it on a GPL'd source.
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.019 seconds with 17 queries. (Pretty URLs adds 0.001s, 0q)