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) How To Generate A Map File (Read 13763 times)
RayLivingston
Full Member
***
Offline


Posts: 158
Location: California
Joined: Nov 24th, 2012
How To Generate A Map File
Jun 13th, 2014 at 9:18pm
Print Post  
I've got a nasty bug I'm trying to slay.  I need to know where things are in memory, but don't see a map file in the build directory.  Is there one?  If not, how do I generate one?

Regards,
Ray L.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How To Generate A Map File
Reply #1 - Jun 13th, 2014 at 10:07pm
Print Post  
Hi,

It doesn't look like the arduino 1.5 definition includes the map but you can add it yourself.

I think you would add this into the respective compiler pattern of arduinoide/hardware/avr/arduino/platform.txt

-Map,{build.path}/{build.project_name}.map
  
Back to top
IP Logged
 
RayLivingston
Full Member
***
Offline


Posts: 158
Location: California
Joined: Nov 24th, 2012
Re: How To Generate A Map File
Reply #2 - Jun 14th, 2014 at 1:14am
Print Post  
Tim,

I don't seem to have a file names platform.txt anywhere on my PC....

Regards,
Ray L.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How To Generate A Map File
Reply #3 - Jun 14th, 2014 at 2:15am
Print Post  
Have you got arduino 1.5.x installed?
  
Back to top
IP Logged
 
RayLivingston
Full Member
***
Offline


Posts: 158
Location: California
Joined: Nov 24th, 2012
Re: How To Generate A Map File
Reply #4 - Jun 14th, 2014 at 2:55am
Print Post  
Tim,

No, I currently have 1.05 but I need to update since I'll be using a Due in a few days.  I'll go ahead and install it now.

Thanks!

Regards,
Ray L.
  
Back to top
 
IP Logged
 
RayLivingston
Full Member
***
Offline


Posts: 158
Location: California
Joined: Nov 24th, 2012
Re: How To Generate A Map File
Reply #5 - Jun 14th, 2014 at 3:38am
Print Post  
Well, this is bizarre.  I tried downloading v1.5.6r2 Beta.  Downloaded both the Zip file and the Windows installer, and BOTH are corrupt and can't be opened....

Regards,
Ray L.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How To Generate A Map File
Reply #6 - Jun 14th, 2014 at 3:39pm
Print Post  
Hi Ray,

I tried today and got an error but it worked using the links on this page instead of the main arduino.cc download page

http://arduino.cc/en/main/software#toc3

I also downloaded the zip to here if the above link doesn't work http://www.visualmicro.com/downloads/arduino-1.5.6-r2-windows.zip

« Last Edit: Jun 14th, 2014 at 3:40pm by Tim@Visual Micro »  
Back to top
IP Logged
 
RayLivingston
Full Member
***
Offline


Posts: 158
Location: California
Joined: Nov 24th, 2012
Re: How To Generate A Map File
Reply #7 - Jun 14th, 2014 at 9:35pm
Print Post  
Tim,

I re-downloaded the installer from the Arduino software page, and this time it worked fine.  v1.5.6r2 is now installed, and working except....  VisualMicro is now unhappy - it can't find any descriptors.  It's for the correct "Application IDE Location", but when I select v1.5 in the drop-down list, then click OK, it reverts to v1.0.  Is there another setting somwhere I'm missing?  In Tools->VisualMicro, the Boards menu item is now disabled.  Everything works fine in the new Arduino IDE.

Regards,
Ray L.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How To Generate A Map File
Reply #8 - Jun 14th, 2014 at 9:39pm
Print Post  
Hi Ray,

If you overwrote the 1.0.5 you probably need to clear the Arduino 1.0.x location from Visual Micro and set the Arduino 1.5.x location instead
  
Back to top
IP Logged
 
RayLivingston
Full Member
***
Offline


Posts: 158
Location: California
Joined: Nov 24th, 2012
Re: How To Generate A Map File
Reply #9 - Jun 14th, 2014 at 10:04pm
Print Post  
Tim,

But HOW?  v1.5.6 installed to the same directory "ProgramFiles (x86)\Arduino", and 1.05 was uninstalled.  No matter what I do, the v1.5x drop-down gets re-set to v1.0 when I click Ok.

Regards,
Ray L.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How To Generate A Map File
Reply #10 - Jun 14th, 2014 at 10:11pm
Print Post  
Oh, I think the possible confusion is that Visual Micro supports multiple versions at the same time. 

Don't click OK immediately, use the dialog to configure the paths for the Ide's you want to use. 

For example, 

1) select 1.0.x and clear the Ide location, do not click OK
2) then drop down the list of Ide's and select 1.5.x, then enter the location

When you have done both of those things for each of the two Ide's then click OK

Does this help or am I missing the point?
  
Back to top
IP Logged
 
RayLivingston
Full Member
***
Offline


Posts: 158
Location: California
Joined: Nov 24th, 2012
Re: How To Generate A Map File
Reply #11 - Jun 14th, 2014 at 10:16pm
Print Post  
Tim,

OK, that did it.  But that UI is not at all intuitive....  Thanks.

Regards,
Ray L.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How To Generate A Map File
Reply #12 - Jun 14th, 2014 at 10:27pm
Print Post  
Hi Ray,

I have just realized that if people only have one Ide is is not intuitive. 

I work with many Ide's so it made perfect sense until this post and now I see it needs some extra message or help on the screen.

Thanks
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint