|
Post by wphrwm on Apr 20, 2017 20:54:32 GMT
Hi I am now in the situation where,
1. The Shieldbuddy is recognised by the OS but generates only a single com port as above. There is a USB debug entry but no corresponding com port.
2. I can run the EOL_Test and this appears to download the binary to the Shield Buddy. I cannot interact with the device due to the lack of a com port. I can run Memtest manually and connect to the ShieldBuddy.
3. The installation of the Multicore IDE does not seem to have patched the Arduino IDE as I cannot find the Shieldbuddy listed under boards. I am running version 1.8.2 of the Arduino IDE. Is the Multicore IDE fussy about the Arduino version?
Help please.
|
|
|
Post by Admin on Apr 20, 2017 21:16:11 GMT
Sorry,do not understand! Does Windows say that there is a com port for the ShieldBuddy?
Does the Arduino IDE see the ShieldBuddy com port?
Look in c:/program files (x86)/arduino/hardware/ and see if there is a subdirectory "aurduino".
IDE 1.8.2 is OK
|
|
|
Post by wphrwm on Apr 21, 2017 9:02:55 GMT
Under Ports(Com & LPT) there is: 1. Infiniteon DAS JDS COM (COM7) Under Universal Serial Bus Controllers there is 1. Infiniteon DAS JDS COM 2. Infiniteon DAS JDS Debug
Should there be two com ports as indicated in the docs?
The Arduino compiler defaults to an Arduino Board on startup on Com 1 (not present). There is no infiniteon board listed to select but lots of Arduino ones.
In c:/program files(x86)/Arduino/hardware there is an Arduino entry containing an Aurix Directory with lots of files - I've attached some. In c:/program files(x86)/Arduino there is also a directory "Arduino_Dx" that contains files.
Is it possible that this directory (c:/program files(x86)/Arduino ) has got corrupted with all of my re-installations? I guess that it might be best to delete all and reinstall from the start. Hey-ho. The order that I would use to install would be.
1. Arduino 2. Toolchain 3. Multicore IDE
Is that best.
Sorry to be a bother Attachments:boards.txt (474 B)
boards_Dx.txt (477 B)
platform.txt (11.33 KB)
|
|
|
Post by Admin on Apr 21, 2017 9:08:37 GMT
There is only one COM port on the latest ShieldBuddy. From what you are saying, the DAS driver has installed and is working, which is good. I would deinstall everything, including the Arduino IDE. Your suggested installation order is OK.
|
|
|
Post by wphrwm on Apr 21, 2017 16:40:10 GMT
Progress is being made but only a little.
1. I reinstalled all of the apps as suggested. 2. I got the board working using the batch app to load the Hex. Got output on the serial line. Whoopee. 3. The fresh Arduino IDE still did not want to know the shieldbuddy but did recognise something was on the serial port. 4. Deleted the Arduino IDE and downloaded the manually loadable version of the IDE. It ran but still could not find any shieldbuddy info. 5. Patched the ArduinoIDE hardware directory with the Arduino_Dx folder from the ProgramFiles(x86)/Arduino/Hardware directory and whoopee it finds the board and the compliles the example - Joy oh Joy! 6. Now sorrow! It fails in Memtool when it tries to download. Can find the target file. Weakening but will try to fix this tomorrow.
It looks as though the setup is not patching the Arduino IDE. Not sure why as I haven't yet figured out where the IDE stores things when it is installed fully.
Any further advice or help welcomed.
|
|
|
Post by Admin on Apr 21, 2017 17:28:12 GMT
Are you using installation directories other than the default ones?
|
|
|
Post by wphrwm on Apr 21, 2017 20:14:23 GMT
Not consciously. I've taken the defaults on everything. The only exception is the version of the Arduino IDE that I have been fudging.
|
|
|
Post by Admin on Apr 22, 2017 8:34:09 GMT
One obvious question is do you have admin rights?
|
|
|
Post by Admin on Apr 22, 2017 8:44:41 GMT
A properly installed Arduino IDE for ShieldBuddy use should look like:
|
|
|
Post by wphrwm on Apr 22, 2017 9:59:26 GMT
Yep. I have admin rights. Should I explicitly run the installation programs as "administrator" as well?
|
|
|
Post by Admin on Apr 22, 2017 10:34:28 GMT
Normally this is not necessary but as something strange is clearly going on I would.
|
|
|
Post by wphrwm on Apr 22, 2017 12:59:46 GMT
I've got it all working - thanks to your last posts.
1. I checked the Arduino directory against the list you gave and it was not all there. The Arduino IDE does not seem to mind where it lives in the system and had installed itself, I know not where - neither did your installers?
2. I am pretty certain that my system was protecting itself (?Kapersky AV) and not allowing your installers to write to the C:Program Files (x86) directory. My earlier fudge got things going by me manually authorising the writes.
I have now got it working without the fudge and I lay out here what I did in case anyone has the same trouble.
1. I deleted my existing Arduino installation. This will not be necessary if it is already properly installed in the C:\Program Files (x86) directory. 2. I downloaded the Zip version of the Arduino IDE. I did this because the other versions auto install where it suits and do not give the option of running the installer as Administrator. 3. I unzipped the Arduino IDE to a convenient location and then copied the Arduino directory wholesale to the C:\Program Files (x86) directory. NB the 1.8.2 unzipper creates and Arduino 1.8.2 directory - I renamed it to Arduino as I suspect that is what the infiniteon installers look for. 4. I created a shortcut and ran the Aduino IDE to make sure that it was functional. 5. I checked the permissions on the C:\Program Files (x86)\Arduino directory and found that the files were flagged as read only - I undid this. I also gave access permission to Administrators. These steps are probably unnecessary as well as being potentially risky. Try without them. 5. I ran the Toolchain installer as Administrator. 6. I ran the Multicore IDE as administrator.
Bingo - it works!
I am sure not all of the steps above are routinely necessary but they do save the boredom of multiple installs. PS if you do have to do multiple installs, just delete the files in the HighTec (Not the licence sub-directory) and Hitex directories (in C:\) and then the installers will invite you to do a "repair".
Bye the bye. You need to hold the reset button down for about a second to get the reset - a quick jab wont do it!
Thanks for all your patience and help. As you can see, I'm a trouble causer and you will not doubt hear from me again.
Thank you for your help with this
|
|
|
Post by wphrwm on Apr 22, 2017 13:02:21 GMT
While you're here. Can I assume that the ShieldBuddy are all 5V tolerant. There is only a hint at this (Manual 3.1.1 p32) Ta
|
|
|
Post by Admin on Apr 22, 2017 16:20:29 GMT
Yes the entire processor is running at 5V.
|
|
|
Post by vinicius on Jul 16, 2018 14:06:25 GMT
Hello,
I'm having exactly the same problem.
Also with KIT_AURIX_TC297_TFT and ShieldBuddy.
Where can I download drivers for both boards? The Microcontrollers / AURIX Customer Documentation site is very hard to find information.
|
|