|
Post by afuessl on Jul 11, 2020 12:29:57 GMT
Hi all, I got just the TC375 ShieldBuddy and installed the tool chain. With the HighTec SDK is works fine. I'm able to code, falsh and debug. But with the Arduino SDK i have some problems. I can use the monitor, so i get the messages on the serial interface (DAS has dedected the TC375 ShieldBuddy), but i can not choose any AURIX based ShieldBuddy. (see attached file). It seems, that the installation was sucessfull, cause there is a folder Arduino\hardware\ShieldBuddyTC375\aurix in the Arduino IDE folder. What is going wrong? Thanks for your answers. Andreas
|
|
sinai1
Junior Member
Posts: 81
|
Post by sinai1 on Jul 27, 2020 13:08:52 GMT
TC375 will be supported on arduino IDE?
|
|
|
Post by Admin on Jul 27, 2020 13:30:15 GMT
|
|
chris
New Member
Posts: 3
|
Post by chris on Oct 8, 2021 19:29:30 GMT
I am having an issues to compile the TC375 in the Arduino IDE. I am using 1.8.16 and when I compile I get the following errors:
In file included from c:\tools\hightec\toolchains\tricore\v4.9.4.1\tricore\include\yvals.h:3:0, from c:\tools\hightec\toolchains\tricore\v4.9.4.1\tricore\include\stdint.h:5, from C:\tools\Arduino\hardware\ShieldBuddyTC375\aurix\cores\aurduino/Arduino.h:13, from C:\tools\Arduino\hardware\ShieldBuddyTC375\aurix\variants\tc375/Variant.h:27, from <command-line>:0: c:\tools\hightec\toolchains\tricore\v4.9.4.1\tricore\include\xkeycheck.h:122:5: error: #error keyword defined before including C++ standard header #error keyword defined before including C++ standard header ^ exit status 1 Error compiling for board ShieldBuddyTC375. ------------------ Can you tell me what is my problem?
|
|
|
Post by Admin on Oct 9, 2021 8:42:23 GMT
It looks like you are not using the standard Free Hightec toolchain v4.9.3.0, which is what the Arduino IDE expects. If this the case then you will need to edit the platform.txt file. In C:\Program Files (x86)\Arduino\hardware\ShieldBuddyTC375\aurix, please edit the platform.txt first line:
compiler.path=C:/HighTec/toolchains/tricore/v4.9.3.0-infineon-1.0/bin/
To:
compiler.path=C:/HighTec/toolchains/tricore/v4.9.4.1/bin/
|
|
chris
New Member
Posts: 3
|
Post by chris on Oct 11, 2021 11:50:37 GMT
Thank you for the reply and I had already changed the path in the platform.txt file.
for example if I change the path to "D" drive which doesn't exist then I get the following error message:
exec: "d:/tools/HighTec/toolchains/tricore/v4.9.4.1/bin/tricore-g++": file does not exist Error compiling for board ShieldBuddyTC375.
My path for the HighTec toolchain is located on my machine at compiler.path=C:/tools/HighTec/toolchains/tricore/v4.9.4.1/bin/ and reflects that in the file yvals.h and stdint.h from c:\tools\hightec\toolchains\tricore\v4.9.4.1\tricore\include\yvals.h:3:0, from c:\tools\hightec\toolchains\tricore\v4.9.4.1\tricore\include\stdint.h:5
I also tried to load the example workspace in the HighTec Eclipse environment with the same but more errors: 07:46:47 **** Incremental Build of configuration iROM for project ShieldBuddyTC375User **** "C:\\Tools\\HighTec\\toolchains\\tricore\\v4.9.4.0\\bin\\make.exe" all 'Building file: ../aurix/variants/tc375/net.cpp' 'Invoking: TriCore C++ Compiler' "C:\Tools\HighTec\toolchains\tricore\v4.9.4.0/bin/tricore-gcc" -c -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\Port\Std" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\system\libaurix\include\TC375" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\Pms\Std" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Infra\Ssw\TC37AED\Tricore" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\Scu\Std" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Service\CpuGeneric" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Infra\Platform" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Infra\Sfr\TC37AED\_Reg" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\libraries\SoftwareSerial" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\libraries\USB_Host_Shield_Library_2.0" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\Dma\Std" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\libraries\Ethernet\src" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\libraries\Ethernet\src\utility" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\libraries\Ethernet\src" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\cores\aurduino" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\Sketches" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\libraries\EEPROM\src" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\libraries\Servo\src" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\libraries\Servo\src\aurix" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\libraries\MIDI\src" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\Scu" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\Stm\Std" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\Cpu\Irq" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\_Lib\DataHandling" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\Cpu\Std" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\cores\aurduino\avr" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\libraries\LiquidCrystal" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\libraries\SD\src" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\libraries\SD\src\utility" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\libraries\SPI" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\libraries\TFTV2" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\libraries\Wire" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\_Build" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\system\libaurix\include" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\_Impl" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\_Lib" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\_PinMap" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\Asclin" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\Ccu6" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\Cif" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\Cpu" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\Dma" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\Dts" -I"C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375\iLLD\Include\Emem" -fno-common -Os -g3 -W -Wall -Wextra -Wdiv-by-zero -Warray-bounds -Wcast-align -Wignored-qualifiers -Wformat -Wformat-security -pipe -DTRIBOARD_TC37XA -D_NO_BMHD_ -DUSE_IRQ -DARDUINO_ARCH_AURIX -D__TC37XX__ -include Variant.h -fshort-double -mcpu=tc37xx -mversion-info -MMD -MP -MF"aurix/variants/tc375/net.d" -MT"aurix/variants/tc375/net.o" -o "aurix/variants/tc375/net.o" "../aurix/variants/tc375/net.cpp" In file included from c:\tools\hightec\toolchains\tricore\v4.9.4.0\tricore\include\yvals.h:3:0, from c:\tools\hightec\toolchains\tricore\v4.9.4.0\tricore\include\stdint.h:5, from C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\cores\aurduino/Arduino.h:13, from C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375/Variant.h:27, from <command-line>:0: c:\tools\hightec\toolchains\tricore\v4.9.4.0\tricore\include\xkeycheck.h:122:5: error: #error keyword defined before including C++ standard header #error keyword defined before including C++ standard header ^ In file included from C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\variants\tc375/Variant.h:935:0, from <command-line>:0: C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\cores\aurduino/WCharacter.h: In function 'boolean isAscii(int)': C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\cores\aurduino/WCharacter.h:64:22: error: 'isascii' was not declared in this scope return ( isascii (c) == 0 ? false : true); ^ C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\cores\aurduino/WCharacter.h: In function 'int toAscii(int)': C:\tools\Hitex\AURduinoIDE\Eclipse\ShieldBuddyTC375User\aurix\cores\aurduino/WCharacter.h:146:20: error: 'toascii' was not declared in this scope return toascii (c); ^ aurix/variants/tc375/subdir.mk:44: recipe for target 'aurix/variants/tc375/net.o' failed make: *** [aurix/variants/tc375/net.o] Error 1
I appreciate any help to find out what my issues are...
|
|
|
Post by Admin on Oct 11, 2021 11:57:50 GMT
Unfortunately we do not support the use of the ShieldBuddy Arduino IDE add-in with any other version but v4.9.3.0-infineon-1.0 (the free version). It looks like the two header files are not present in the v4.9.4.1 compiler.
|
|
chris
New Member
Posts: 3
|
Post by chris on Oct 12, 2021 13:52:25 GMT
Thank you for the reply. I created the code for the two functions and can get the HighTec Eclipse sketch "BoardEOLtestPTC375 to work fine. However if I try to compile any sketch in the Arduino IDE I get an error from the "libAurduino.a" library related to the Print.o.
C:\tools\Arduino\hardware\ShieldBuddyTC375\aurix\variants\TC375/libAurduino.a(Print.o): In function `Print::printFloat(double, unsigned char)': Print.cpp:(.text+0x1fe): error: undefined reference to `__fpclassifyf' Print.cpp:(.text+0x212): error: undefined reference to `__fpclassifyf' collect2.exe: error: ld returned 1 exit status exit status 1 Error compiling for board ShieldBuddyTC375.
|
|
|
Post by brainbomber on Jan 18, 2022 22:46:12 GMT
Hi,
I'm using the Arduino IDE to program multiple ShieldBuddy TC375s that are attached to the same computer. However, when I upload, the last ShieldBuddy programmed receives the program regardless of which ShieldBuddy's COM port is selected. How can I select which of the 4 ShieldBuddies I program without unplugging the ShieldBuddies I don't want to program?
Thanks
|
|
|
Post by Admin on Feb 7, 2022 16:06:46 GMT
Unfortunately only one ShieldBuddy can be connected at any one time for programming.
|
|
|
Post by jaytor on May 29, 2022 21:07:39 GMT
I am trying to get the TC375 to work with the Arduino IDE (ver 1.8.19). I think I installed the HighTec software correctly, but I can't select the TC375 from the Board Manager. I must be missing a step, but not sure what.
The HighTec software is installed on the C: drive. I have a folder C:\HighTec\toolchains\tricor\v4.9.3.0-infineon-1.0 installed.
There is also a ShieldBuddyTC375 folder installed in my Arduino\hardware folder.
What do I need to do to be able to select this board type from within the Arduino IDE?
|
|