|
Post by mjb on Dec 12, 2016 7:00:25 GMT
If you get this warning the good thing is that it means your compiler and linker are working!
|
|
|
Post by slobodan123 on Dec 12, 2016 14:16:49 GMT
Hi everyone, Still messing with arduino ide compiler with thiese errors when trying to compile the Bareminimum sketch frpm Aurduino: WARNING: Category '' in library SPI is not valid. Setting to 'Uncategorized' WARNING: Category '' in library Wire is not valid. Setting to 'Uncategorized' C:\Program Files (x86)\Arduino\arduino-builder returned 1,073,741,855 Error compiling for board ShieldBuddyTC275. I tried to install in order explained in Arduino User Manuel from Hitex, and still nothing. Licence variables work without problem. Please help, I would like to start to use this wonderfull board...
|
|
|
Post by mjb on Dec 12, 2016 14:32:15 GMT
Hi, The warning about the SPI and Wire libraries is not critical and will be fixed in the next release. Please can you post a screenshot of what the Arduino IDE is reporting. Can you run the IDE in verbose mode (arduino_debug.exe) as this might reveal more. Looking on the arduino forum, it looks like you have some kind of problem with administrator rights. This is very unusual. forum.arduino.cc/index.php?topic=403102.0
|
|
|
Post by slobodan123 on Dec 12, 2016 14:47:17 GMT
I have admin rights, I am nsystem admin at my work :/ Here is the verbous output after compilation:
Arduino: 1.6.13 (Windows 7), Board: "ShieldBuddyTC275"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\administrateur.CEPM\OneDrive\arduino\libraries -fqbn=aurduino:aurix:aurduino -vid-pid=0X058B_0X0043 -ide-version=10613 -build-path C:\Users\ADMINI~1.CEP\AppData\Local\Temp\arduino_build_675082 -warnings=none -prefs=build.warn_data_percentage=75 -verbose C:\Hitex\AURduinoIDE\Tools\examples\01.Basics\BareMinimum\BareMinimum.ino C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\administrateur.CEPM\OneDrive\arduino\libraries -fqbn=aurduino:aurix:aurduino -vid-pid=0X058B_0X0043 -ide-version=10613 -build-path C:\Users\ADMINI~1.CEP\AppData\Local\Temp\arduino_build_675082 -warnings=none -prefs=build.warn_data_percentage=75 -verbose C:\Hitex\AURduinoIDE\Tools\examples\01.Basics\BareMinimum\BareMinimum.ino Using board 'aurduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\aurduino\aurix Using core 'aurduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\aurduino\aurix WARNING: Category '' in library SPI is not valid. Setting to 'Uncategorized' WARNING: Category '' in library Wire is not valid. Setting to 'Uncategorized' Detecting libraries used... "C:/HighTec/toolchains/tricore/v4.6.6.0-infineon-1.1/bin/tricore-g++" -c -fno-common -O2 -g3 -W -Wextra -Wdiv-by-zero -Warray-bounds -Wcast-align -Wignored-qualifiers -Wformat -Wformat-security -DTRIBOARD_TC275C -DUSE_IRQ -include Variant.h -fshort-double -mcpu=tc27xx -mversion-info -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/cores/arduino" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Scu/Std" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Stm/Std" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Cpu/Irq" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/_Lib/DataHandling" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Cpu/Std" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/cores/arduino/avr" -I "../h" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/libraries/Ethernet/src" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/libraries/Ethernet/src/utility" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/libraries/LiquidCrystal" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/libraries/SD/src" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/libraries/SD/src/utility" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/libraries/SPI" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/libraries/TFTV2" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/libraries/Wire" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/_Build" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/system/libaurix/include" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/_Impl" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/_Lib" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/_PinMap" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/_Reg" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Asclin" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Ccu6" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Cif" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Cpu" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Dma" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Dsadc" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Dts" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Emem" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Eray" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Eth" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Fce" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Flash" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Gtm" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Hssl" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/I2c" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Iom" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Msc" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Mtu" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Multican" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Port" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Psi5" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Psi5s" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Qspi" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Scu" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Sent" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Src" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/SrvSw" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Stm" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Vadc" -w -x c++ -E -CC "-IC:\Program Files (x86)\Arduino\hardware\aurduino\aurix\cores\aurduino" "-IC:\Program Files (x86)\Arduino\hardware\aurduino\aurix\variants\TC275" "C:\Users\ADMINI~1.CEP\AppData\Local\Temp\arduino_build_675082\sketch\BareMinimum.ino.cpp" -o "nul" Generating function prototypes... "C:/HighTec/toolchains/tricore/v4.6.6.0-infineon-1.1/bin/tricore-g++" -c -fno-common -O2 -g3 -W -Wextra -Wdiv-by-zero -Warray-bounds -Wcast-align -Wignored-qualifiers -Wformat -Wformat-security -DTRIBOARD_TC275C -DUSE_IRQ -include Variant.h -fshort-double -mcpu=tc27xx -mversion-info -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/cores/arduino" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Scu/Std" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Stm/Std" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Cpu/Irq" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/_Lib/DataHandling" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Cpu/Std" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/cores/arduino/avr" -I "../h" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/libraries/Ethernet/src" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/libraries/Ethernet/src/utility" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/libraries/LiquidCrystal" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/libraries/SD/src" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/libraries/SD/src/utility" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/libraries/SPI" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/libraries/TFTV2" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/libraries/Wire" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/_Build" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/system/libaurix/include" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/_Impl" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/_Lib" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/_PinMap" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/_Reg" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Asclin" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Ccu6" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Cif" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Cpu" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Dma" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Dsadc" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Dts" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Emem" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Eray" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Eth" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Fce" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Flash" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Gtm" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Hssl" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/I2c" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Iom" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Msc" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Mtu" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Multican" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Port" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Psi5" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Psi5s" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Qspi" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Scu" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Sent" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Src" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/SrvSw" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Stm" -I "C:\Program Files (x86)\Arduino\hardware\aurduino/aurix/variants/tc275/iLLD/Include/Vadc" -w -x c++ -E -CC "-IC:\Program Files (x86)\Arduino\hardware\aurduino\aurix\cores\aurduino" "-IC:\Program Files (x86)\Arduino\hardware\aurduino\aurix\variants\TC275" "C:\Users\ADMINI~1.CEP\AppData\Local\Temp\arduino_build_675082\sketch\BareMinimum.ino.cpp" -o "C:\Users\ADMINI~1.CEP\AppData\Local\Temp\arduino_build_675082\preproc\ctags_target_for_gcc_minus_e.cpp" C:\Program Files (x86)\Arduino\arduino-builder returned 1,073,741,855 Error compiling for board ShieldBuddyTC275.
|
|
|
Post by mjb on Dec 12, 2016 15:05:18 GMT
Please check that the ShieldBuddy add-in is really installed in the Arduino IDE directory . This is what the Arduino IDE directory should look like (see attachment):
Attachments:
|
|
|
Post by slobodan123 on Dec 13, 2016 7:04:43 GMT
Hello all, I tested with older versions of arduino (1.0.6), I can't even see the board on the list. So I reinstalled everything with the recommanded version, and still nothing. mjb -> I have that folder, it's look like that.
|
|
|
Post by mjb on Dec 13, 2016 8:41:59 GMT
Please set the board type to Arduino Uno and try to compile a normal arduino sketch. We need to see whether it is the IDE that is failing.
|
|
|
Post by slobodan123 on Dec 13, 2016 14:54:07 GMT
Hi all, Well, here's some news. I had obviously some problems with Arduino version. I tested all version from the latest 1.6.13 to 1.6.8 and all those dont work when compile a simple sketch for Arduino Nano. The version wich works and olders was 1.6.7 and btw, I have Windows 7 SP1 x64. After installing ShieldBuddy and ToolChain, I can still compile simple sketch for Arduino Nano, but I get error when compiling the Basic sketch for ShieldBuddy, the error is this: WARNING: Category '' in library SPI is not valid. Setting to 'Uncategorized' WARNING: Category '' in library Wire is not valid. Setting to 'Uncategorized' warning: 1.incompatible section flags core\cint_tc2x.c.o:
input section'.inttab' = 'axl'
output section '.CPU0.inttab' ='axwlc0'
|
|
|
Post by mjb on Dec 13, 2016 15:08:23 GMT
This is good news. You are now compiling and linking! Can you identify the exact reason that it failed?
|
|
|
Post by slobodan123 on Dec 14, 2016 16:34:17 GMT
Hello everyone,
Still working on my ShieldBuddy to get it functionning. I read the AurduinoUserManual and I wrote the sketch as it was described in the document. I had to declare setup and loop for all 3 cores. And something changed when I started the Arduino compiler. I had this Memtool windows appearing, I suppose it is writing on the board, but at the end in Arduino console, I had this error:
WARNING: Category '' in library SPI is not valid. Setting to 'Uncategorized' WARNING: Category '' in library Wire is not valid. Setting to 'Uncategorized' warning: 1.incompatible section flags core\cint_tc2x.c.o:
input section'.inttab' = 'axl'
output section '.CPU0.inttab' ='axwlc0'
And then I try to see in Serial Monitor the result, there was nothing.
The sketch look like this:
//Core 0 //------------------------------------------------------------------------------------ void setup() { // initialize Serial.begin(9600); } void loop() { // the loop function runs over and over again forever Serial.println("Hello world"); }
//Core 1 //------------------------------------------------------------------------------------ void setup1() { // initialize } void loop1() { // the loop function runs over and over again forever }
//Core 2 //------------------------------------------------------------------------------------ void setup2() { // initialize } void loop2() { // the loop function runs over and over again forever }
|
|
|
Post by slobodan123 on Dec 14, 2016 16:35:18 GMT
Sorry, here's the screenshot. Attachments:
|
|
|
Post by mjb on Dec 14, 2016 16:36:25 GMT
This is not an error. Unlike the Arduino Uno, the board is not reset after programming so you have to press the reset button on the ShieldBuddy!
|
|
|
Post by slobodan123 on Dec 15, 2016 7:06:28 GMT
Hello,
I did reset with the button, but still nothing on the serial monitor. I uploaded the same sketch on the Arduino Nano and it's work. I realy don't get it what it's wrong...
|
|
|
Post by slobodan123 on Dec 15, 2016 7:10:51 GMT
And what it is strange, when programming in Arduino, the setup() and loop() are in color, but setup1(), setup2(), loop1() and loop2() are in black, like not recognized.
|
|
|
Post by mjb on Dec 15, 2016 8:31:06 GMT
On the ShieldBuddy, the default serial port that goes to the USB is "SerialASC". Here is an extract from the manual: 2.3 Serial Ports The Arduino has the Serial class for sending data to the UART which ultimately ends up as a COM port on the host PC. The ShieldBuddy has 4 potential hardware serial ports so there are now 4 Serial classes. The default Serial class that is directed to the Arduino IDE Serial Monitor tool becomes SerialASC on the ShieldBuddy. Thus Serial.begin(9600) becomes SerialASC.begin(9600) and Serial.print(“Hi”) becomes SerialASC.print(“Hi”) and so on.
The serial channels are allocated as per:
SerialASC Arduino FDTI USB-COM micro USB Serial1 RX1/TX1 Arduino J403 pins 17/16 Serial0 RX0/TX0 Arduino J403 pins 15/14 Serial RX/TX Arduino default J402 pins D0/D1
Any of the serial channels can be used from any core but it is not a good idea to access the same serial port from more than one core at the same time – see the later section on multicore programming.
BTW: we will make it so that if you do not have the setup1, setup2, loop1, and loop2 functions in your sketch, the compilation will still succeed.
|
|