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 New Arduino project -> Attempt to read or write protected memory (Read 3604 times)
Ticard
Newbies
*
Offline


Posts: 2
Joined: Mar 3rd, 2013
New Arduino project -> Attempt to read or write protected memory
Mar 5th, 2013 at 1:56pm
Print Post  
Hi guys, I recently got my new arduino uno and I played with it a bit, uploaded some sketches. Then I wanted to debug with VS, but here is the problem. I've WIN 7 and VS 2008 Professional, Arduino-1.5.2 for windows and then I installed VisualMicroDebugUpgrade1211_11. I made the arduino.exe setting but when I try to make a new arduino project I got the message:   

Unable to create new sketch.
Attempt to read or write protected memory. This is often an indication that other memory is corrupt.

If I open a previously saved project from arduino - I just see a solution with no projects and cannot do anything. 
I've searched the web and tried some solutions, but nothing helped. What could be the possible fix for the problem?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: New Arduino project -> Attempt to read or write protected memory
Reply #1 - Mar 5th, 2013 at 3:32pm
Print Post  
Hi,

Two possible reasons

1) We don't support arduino 1.5 yet. Will do soon, it contains a massive structure change but will be a more flexible solution. Due in a few weeks. In the meantime use arduino 1.0.3

2) Your problem creating a new sketch might be resolved by using arduino 1.0.3 otherwise you need to try to create a new empty win32 C++ project in VS to see if you get the same problem. (File>New>Project>Empty Win32 C++ Project>Not using ATL) If you get the same problem creating a standard win32 c++ project it means that C++ is not installed into your VS or has some corruption.

Let us know the result. If it is point 2) I can give you more help

Thanks
  
Back to top
IP Logged
 
Ticard
Newbies
*
Offline


Posts: 2
Joined: Mar 3rd, 2013
Re: New Arduino project -> Attempt to read or write protected memory
Reply #2 - Mar 6th, 2013 at 2:49pm
Print Post  
Hi,
The problem was that C++ was not installed into my VS.

Thank you very much Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint