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
Normal Topic Scan I2C at Startup (Read 6079 times)
Dennis Mabrey
Junior Member
**
Offline


Posts: 19
Location: Branchburg, NJ
Joined: Oct 22nd, 2013
Scan I2C at Startup
Oct 22nd, 2013 at 9:26pm
Print Post  
On the project properties page there is a property called "Scan I2C at Startup".    

Is this implemented?  If so, where is the scan's output? 

I assume it scans for all valid I2C addresses on the bus to see if a device is connected and returns the addresses available.   

Sorry if this was answered somewhere else... I did perform a search on the site and forum but did not see it.

By the way, this is a really well thought out product.   

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Scan I2C at Startup
Reply #1 - Oct 23rd, 2013 at 10:25am
Print Post  
Hi,

Thanks for your supporting words. Appreciated.

All the automated reports such as the I2c scan become active when the debugging is enabled for a project. The reason being that the reports use the transport mechanism of the debugger to send the data to the pc.

When the report is enabled you should see the scan results in the "Micro Message" output window that should automatically appear when the debug starts.

You are right it needs more documention, I hope this helps. Did you set (Micro Debug)=Full or did you start the debugger trial?
  
Back to top
IP Logged
 
Dennis Mabrey
Junior Member
**
Offline


Posts: 19
Location: Branchburg, NJ
Joined: Oct 22nd, 2013
Re: Scan I2C at Startup
Reply #2 - Oct 23rd, 2013 at 3:13pm
Print Post  
Hi and thanks for the response.  

I am currently running the trial version.  Is it disabled in the trial version?

I do have (Micro Debug) = Full and I set Scan I2C at Startup = True.   I also tried adding a breakpoint when hit to print {@ReportI2C}.

When you say "...you should see the scan results in the "Micro Message" output" you do mean the Micro Debug Message window, correct?

The only thing that appears in the Micro Debug Message window is the text "Starting..." and that is because I set the Startup Message property to print that text.

I just downloaded Visual Micro on Monday so I am still on the trial but I will buy a license today.   I want to show it to our students this weekend to see if they would prefer using it to the Arduino IDE.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Scan I2C at Startup
Reply #3 - Oct 23rd, 2013 at 3:26pm
Print Post  
Hi Dennis,

Sorry I was being thick. You have done everything correctly and the trial does not limit any features.

I suspect there is a bug that has crept into the system and will test over the next few days.

Sorry for the hassle.

Tim
  
Back to top
IP Logged
 
Dennis Mabrey
Junior Member
**
Offline


Posts: 19
Location: Branchburg, NJ
Joined: Oct 22nd, 2013
Re: Scan I2C at Startup
Reply #4 - Oct 23rd, 2013 at 3:48pm
Print Post  
Oh ok I just purchased it to see if that was the issue but it still didn't work for me.   

It isn't a big deal I was just curious what I was doing wrong.  We have students who are a bit "I2C sensor happy" when it comes to their robots and having this feature would be neat.

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Scan I2C at Startup
Reply #5 - Oct 23rd, 2013 at 6:56pm
Print Post  
Well thanks for buying a license. We will look into it over the next few days and post if there is a quick fix
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint