Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 8 Replies) Intellisense for the AURIX TC275 not working correctly (Read 7292 times)
gwiken
Junior Member
**
Offline


Posts: 34
Location: Sweden
Joined: Apr 1st, 2014
Intellisense for the AURIX TC275 not working correctly
Apr 6th, 2018 at 8:54am
Print Post  
Tim@Visual Micro wrote on Mar 5th, 2018 at 2:25pm:
The fact that CTRL+J shows the correct options means that Visual Micro has set the includes and #defines correctly which is the only job is does for the IDE / UI


Hi.
I'm using Aurduino AURIX TC275.
It appears in the board list, it builds fine, and uploads the code to the board just fine. Cheesy

The only think is that Ctrl+J does not leave any options, nor does it seems to find the TC275 includes for the UI. Huh
Is there anything I can do to fix it?
Or can you help me in any way?

\Wiken Smiley
« Last Edit: Apr 6th, 2018 at 12:55pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
gwiken
Junior Member
**
Offline


Posts: 34
Location: Sweden
Joined: Apr 1st, 2014
Re: Intellisense for the AURIX TC275 not working correctly
Reply #1 - Apr 11th, 2018 at 7:29am
Print Post  
Hi.

When I started my IDE this morning, this happens:

I didn't expect it to start failing on standard code. Huh

This feels a little silly, the system seems to deteriorate.  Undecided

It's also hard for me to do anything myself as only a user.
You guys are also very busy.

Is there anything I can do myself?
\Wiken Smiley









  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12155
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense for the AURIX TC275 not working correctly
Reply #2 - Apr 11th, 2018 at 12:13pm
Print Post  
You mean the VS intellisense has started to fail or the Visual Micro compile?

"Guys" is just me

You are working with a very new, different and expensive board that few people will be using.

It's no problem but new boards that are non arduino take a short time to test and cater for especially on the intellisense front.

Visual studio 2017 also has a few bugs but it's getting better slowly.

If you want this board tested you should always provide details of how to install the tool chain that you have installed in boards manager.
« Last Edit: Apr 11th, 2018 at 12:25pm by Tim@Visual Micro »  
Back to top
IP Logged
 
gwiken
Junior Member
**
Offline


Posts: 34
Location: Sweden
Joined: Apr 1st, 2014
Re: Intellisense for the AURIX TC275 not working correctly
Reply #3 - Apr 11th, 2018 at 12:53pm
Print Post  
Ok I hear you, I don't want to be blunt, sorry if I offended you. Sad

The board is installed by software from Hitex and Hitec.
From: www.hitex.co.uk/fileadmin/uk-files/downloads/ShieldBuddy/ShieldBuddyMulticoreIDE...
It does all stuff for Arduino, so I haven't done anything.

The tool chain is from Hitec: https://free-entry-toolchain.hightec-edv.com/
This include an Eclipse environment and an UDE.
And one gets a free license for the tool-chain.

Except from that you need Arduino installed, and can use the Arduino IDE to write code.

I like VS and VM far better than Arduino IDE, so that's why I'm using it. Cool

Here what I can't really grasp:
It works very well with includes for the build and download, so VM has done an awesome job there. Cheesy
What I don't get is why it can't find the rest, it should be basically the same thing, right?  Huh
\Wiken Smiley
« Last Edit: Apr 11th, 2018 at 12:54pm by gwiken »  
Back to top
 
IP Logged
 
gwiken
Junior Member
**
Offline


Posts: 34
Location: Sweden
Joined: Apr 1st, 2014
Re: Intellisense for the AURIX TC275 not working correctly
Reply #4 - Apr 12th, 2018 at 7:40am
Print Post  
Tim@Visual Micro wrote on Apr 11th, 2018 at 12:13pm:
If you want this board tested you should always provide details of how to install the tool chain that you have installed in boards manager.


Hi.
You gave me the idea to look into the board manager.
And it's not present there.
I have to give it an hour to dig into this and see how far I can get.

Is this bad, VM-system-wise?

If so, first of is to add it manually I guess.

\Wiken Smiley


  
Back to top
 
IP Logged
 
gwiken
Junior Member
**
Offline


Posts: 34
Location: Sweden
Joined: Apr 1st, 2014
Re: Intellisense for the AURIX TC275 not working correctly
Reply #5 - Apr 12th, 2018 at 8:15am
Print Post  
Hi.
I have compared the installations and  TC275 has it's own path.
I guess that's making it work worse?

« Last Edit: Apr 12th, 2018 at 8:17am by gwiken »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12155
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense for the AURIX TC275 not working correctly
Reply #6 - Apr 12th, 2018 at 8:55pm
Print Post  
So let me understand this correctly.

You want me to install the new ide that is not the arduino ide?

You want to install the unsigned .exe from your download?

It asks for a password that I do not have?

It installs a different ide to the arduino ide with new features and capabilities?

Then you want me to install a tool chain outside of the arduino ide that doesn't comply with the standard arduino way of doing things and that tool chain wants me to copy a license file to a particular location after registering on their website?

and your questions is if visual micro is arduino compatible and why doesn't it work with standard arduino projects?  Smiley

If the downloaded exe that you will give me the password for updates the arduino ide program files then it is no longer the arduino ide.

It looks like a good thing and worth some time to explore which I will do if you give me the password but let's not over simply the request and not expect that anything you have installed matches anything normally found for arduino.

btw: It is okay for the file layout in your image, I suspect the issue is the multiple cores which is why you have to jump through so many hoops to install this board.






  
Back to top
IP Logged
 
gwiken
Junior Member
**
Offline


Posts: 34
Location: Sweden
Joined: Apr 1st, 2014
Re: Intellisense for the AURIX TC275 not working correctly
Reply #7 - Apr 13th, 2018 at 6:22am
Print Post  
Sorry that I forgot the password: ShieldBuddy

They made an API for Arduino IDE that compiles with another tool-chain.
My thinking is that this would be the same difference as the ESP-chip.

The problem is that I can't get the Eclipse IDE to work on either machine.
On my work laptop and my private one were I made a clean installation.

The only thing that works for me is the VS with VM.
I'm basically on my own in this project and is pressed for time.
I had hoped that the IDE would help a bit.

Sorry if my questions are an inconveniece.  Embarrassed

I'm trying to reach were I can. Undecided

\Wiken
« Last Edit: Apr 13th, 2018 at 6:22am by gwiken »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12155
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense for the AURIX TC275 not working correctly
Reply #8 - Apr 13th, 2018 at 12:24pm
Print Post  
No problem, I will try it.

You can set "file>preferences>external editor" in the arduino ide then open the same project you have open in vs. Then build and upload in arduino ide is easy and auto reloads the code prior to build. This is a build and upload solution for the short term that gets you ability to code in VS but upload via arduino.

I can look at the intellisense issues more quickly than the build issues.
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12155
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense for the AURIX TC275 not working correctly
Reply #9 - Apr 14th, 2018 at 12:11pm
Print Post  
I tried the exe but it attempts to install a memory resident or drivers via the command window.

I need to see the source code of what the exe is attempting to install or to see a detail explanation of what the software is doing otherwise it's a huge security hole for me.
  
Back to top
IP Logged
 
gwiken
Junior Member
**
Offline


Posts: 34
Location: Sweden
Joined: Apr 1st, 2014
Re: Intellisense for the AURIX TC275 not working correctly
Reply #10 - Apr 14th, 2018 at 8:59pm
Print Post  
Hi.

Ok, I understand, don't take any risks, that you feel is too high.
I respect that. 
You have to protect your installations, environment and data.

Since I don't have the source code, I can't give it to you.
This is what I know:
The system installs the Infineon Memtool 4.8 for flashing the TC275 cores.
I think the rest is a copy of an Eclipse version and an UDE (Unified Debug Environment) for Eclipse.
There is a USB driver for Serial and JTAG that's installed too.
Also A DAS is installed that scanns the board for ID and revision, used by Memtool.

Further:
Visual Micro is amazing, I can code and upload using VS/VM, it's only the code helper/intellisense is not working for this perticular board, otherwize it works great.

You have tried, I can't ask for more.

Maybe over time, more data will be available, and I learn more about Intellisense.
If you have any ideas, and need data that I can provide, you are very welcome to ask me and I will provide all I can.

Thanks, you are the best.
\Wiken Smiley
« Last Edit: Apr 14th, 2018 at 9:04pm by gwiken »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12155
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense for the AURIX TC275 not working correctly
Reply #11 - Apr 15th, 2018 at 11:37am
Print Post  
Thanks for the info.

That might be good news.

If it's only the intellisense I can just install the hardware core and give it a go.

So the problem is to get the tool chain we need to apply with a mac address and other details.

Unless you can give me the core I will have to email them
« Last Edit: Apr 15th, 2018 at 11:40am by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12155
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense for the AURIX TC275 not working correctly
Reply #12 - Apr 16th, 2018 at 1:15pm
Print Post  
Ignore my PM request

Try the latest release from the post linked below.

Intellisense should be a lot better with aurix but not perfect.

It will probably improve some more when the tool chain is available but some underlying syntax won't be recognized by VS.

That said, very few boards are 100% perfect for intellisense in VS but hopefully you should not see errors in your own code, only in some underlying system code files.


> Work in progress
« Last Edit: Apr 16th, 2018 at 1:16pm by Tim@Visual Micro »  
Back to top
IP Logged
 
gwiken
Junior Member
**
Offline


Posts: 34
Location: Sweden
Joined: Apr 1st, 2014
Re: Intellisense for the AURIX TC275 not working correctly
Reply #13 - Apr 17th, 2018 at 9:39am
Print Post  
Hi.
Yohoo.  Tongue

This is much better.
Now I get help from Ctrl-J and more hints. Awesome. Cheesy

As I said, you are the best.
\Wiken Smiley
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12155
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense for the AURIX TC275 not working correctly
Reply #14 - Apr 17th, 2018 at 12:13pm
Print Post  
Great, thanks for letting me know.

I have looked at the Aurix hardware some more and see it is essentially produced by a known source so I am not so cautious about installing their software now.

I will try to look at the toolchain side over the coming months. There are more "include paths" in it that will help intellisense in some of the underlying system files.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint