|
Post by mjb on Nov 22, 2016 9:28:30 GMT
|
|
|
Post by mjb on Nov 23, 2016 13:47:42 GMT
---------------------------------------
|
|
|
Post by ptqfp144 on Nov 25, 2016 10:29:18 GMT
Hello,
I'm trying to start using the aurduino shieldbuddy. Following the Hitex shieldbuddy getting started guide I've installed (in this order) :
1) the hightec free entry toolchain. (version in about section : 1.6.1.2015117 , version in download mentioned as 4.6.6.0) 2) the 1.6.11 Arduino IDE 3) the ShieldBuddy multicore IDE. version 1.16
Must admit that I'm usually not very lucky when it comes to using Eclipse in general.
After that I'm running into several problems :
1) Although the compiler does succesfully compiles the AurduinoMultiCoreUser - BoardEOLtest , It first comes up with a message that the Validation Service Check action was unsuccessful. Details : Check HTC_DEVELOPMENT system environment variable. and Check HTC_LICENCES system environment variable.
2) Starting the PLS , UDE desktop after that , starts ok but after a short while always comes up with a licensing problem : UDELicenseServer check aborted. With the license manager I can see severalStarterkit licenses entry's.
3) When using the Arduino IDE , the compiler comes up with :
Arduino: 1.6.11 (Windows 7), Board: "ShieldBuddyTC275"
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'
C:\Program Files (x86)\Arduino\hardware\aurduino\aurix\variants\TC275/libAurduino.a(main_Cpu1.o): In function `main_CPU1':
main_Cpu1.cpp:(.text+0x4): error: undefined reference to `setup1()'
main_Cpu1.cpp:(.text+0x8): error: undefined reference to `loop1()'
main_Cpu1.cpp:(.text+0xc): error: undefined reference to `loop1()'
collect2: ld returned 1 exit status
exit status 1 Error compiling for board ShieldBuddyTC275.
This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
Can you pleasy give me some hints at where to look for a solution ?
In the past I've learned using microcontrollers with the C167 in combination with the keil IDE. Later that went on to the XE167 which I still use in one of my products.
Seeing this Aurix microcontroller now made me very interested in it. Bit frustrating that I cannot get the tools working now.
Gr. Sander
|
|
|
Post by mjb on Nov 25, 2016 10:36:03 GMT
Hi,
It looks like the licence for the free entry toolchain has a problem. This will stop everything else working. Did you get a "license.lic" file back from Hitech EDV by email? If so, did you put it in "C:\HIGHTEC\licenses"?
If you do not have admin rights on your PC you may have a problem with the "HTC_LICENCES" system environment variable in Windows.
|
|
|
Post by ptqfp144 on Nov 25, 2016 21:28:24 GMT
Thanks ,
Started working on it by reinstaling on another PC (now W10 PC , was W7 laptop). Comparing the Environment variables , now ok : HTC_DEVELOPMENT c:\Hightec was %HTC_DEVELOPMENT% on w7 laptop. same HTC_LICENSES c:\Hightec\Licences was %HTC_LICENSES% on w7 laptop.
Did manually edit these two Environment variables on the laptop and now the initial error is gone on both machines. Why this went wrong on the laptop ? i don't know.
Compiling now ok on both machines but still a problem when starting the UDE desktop. When loading the? delivered target configuration : UDEDefEclipseWorkspace an error :
Target configuration file C:\Users\mbeach.HITEXUK\Documents\pls\UDE4.4\Targets\AppKit_TC275C_mcd.cgf cannot be loaded! - Please select onather location!
How can I 'work around' this location dependency ?
I'm not very familiar with the tools yet. Is it all right that I start the UDE debugger from outside Eclipse ? or should I do that an other way ? Was just following the getting started tutorial.
Don't know yet or the Arduino IDE problem is still there.
Gr. Sander
|
|
|
Post by ptqfp144 on Nov 25, 2016 21:41:29 GMT
Hello,
Arduino IDE seems to run without problems now. Compiling is OK and uploading to the target also.
No sign of License problem anymore :-)
Gr. Sander
|
|
|
Post by ptqfp144 on Nov 29, 2016 11:50:37 GMT
Hello, The Arduino IDE is working fine now but with still licensing problems when the UDE is started. Same error's when starting from within or from outside the Eclipse IDE. And on both machines , I followed registration and license files seperately with according MAC adresses. ShieldBuddy is visible with both serial ports with W10 device manager. No clue how to get any further with this.
|
|
|
Post by mjb on Nov 29, 2016 12:28:21 GMT
Hi, You seem to be using a strange .cfg file. The UDE licence for the ShieldBuddy only works with a very limited number of target config files. You need to use "AppKit_TC275TU.cfg". This is in:
C:\Hitex\AURduinoIDE\Eclipse\AurduinoMulticoreUser\.ude\.target
If you use the UDE from outside Eclipse, it might be easier. Create a new workspace and manually select "C:\Hitex\AURduinoIDE\Eclipse\AurduinoMulticoreUser\.ude\.target\AppKit_TC275TU.cfg". The licence should then work.
|
|
|
Post by slobodan123 on Dec 9, 2016 13:56:11 GMT
Hi everyone,
I just recieve the ShieldBuddy board, and already I have a problem as ptqfp144, but my system variables are obviously correct:
Variable name: HTC_DEVELOPMENT Variable value: %HTC_DEVELOPMENT%
Variable name: HTC_LICENSES Variable value: %HTC_LICENSES%
When I start the compilation in Arduino (1.6.13) iI still get the error:
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.
Any one any clue why is that?
|
|
|
Post by mjb on Dec 9, 2016 14:44:18 GMT
|
|
|
Post by mjb on Dec 9, 2016 15:11:30 GMT
Hi,
We have now tested the ShieldBuddy add-in with Arduino IDE v1.6.13 under Windows7 and it works OK. It looks like the compiler is not running as there is probably still an environment variable problem. Do you have administrator rights to install programs?
|
|
|
Post by slobodan123 on Dec 9, 2016 16:07:59 GMT
Hello mjb,
Thank you for the quick answer, but I still have the problem with compilling. I configured the system variables and now the Eclipse is not show any error about that. I installed the Arduino ver 1.6.11 with Hightec Free Entry Toolchain v4.6.6.0 and ShieldBuddyMulticoreIDE and still not working... I will try this we on another computer.
|
|
|
Post by slobodan123 on Dec 11, 2016 16:23:54 GMT
Hi everyone, I just installed in this order (with admin rights): Arduino IDE v1.6.13 on Windows 10, with the Toolchain v4.6.6.0 and ShieldBuddyMulticoreIDE, and still not working. Variables are set lke this: Variable name: HTC_DEVELOPMENT Variable value: C:\HighTec
Variable name: HTC_LICENSES Variable value: C:\HighTec\licenses I still have the same error when compiling.
|
|
|
Post by slobodan123 on Dec 11, 2016 16:32:12 GMT
Hello again, I tried to compile one simple sketch from arduino and i get this error: warning: 1.incompatible section flags C:\Users\Slobodan\AppData\Local\Temp\arduino_build_352307\core\cint_tc2x.c.o: I see this error with details activated in Preferences in Arduino, maybe that helps to find the problem. Thanks to all.
|
|
|
Post by mjb on Dec 11, 2016 18:15:23 GMT
We know about this warning. It is not critical and will be fixed in the next release. It appeared with the latest 4.6.6.0 compiler.
|
|