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 How to generate (compile) eeprom data file (eep) ? (Read 7077 times)
Kovy
Newbies
*
Offline


Posts: 6
Joined: Sep 18th, 2016
How to generate (compile) eeprom data file (eep) ?
May 29th, 2017 at 9:00pm
Print Post  
Hello, please can you tell me how configure Visual Micro to compile "data" eeprom file in Intel Hex format beyond of ordinary HEX file for program flash ?

I have defined (and really used) in code some data in eeprom memory, but after compiling I don't see any eep or hex file carrying my initialized eeprom variables. However, compiler knows about existing eeprom data, because he reports size of eeprom data - in Micro Build output window and I'm able to successfully extract the eeprom data from compiled ELF file too - for example using avr-objcopy utility.



My eeprom initialized variables (later used in code) looks like this:


uint8_t EEMEM AllowedTelNumbersTable[]{ 20, 10, 85, 58, 25, 64 };


Thanks for reply Peter
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to generate (compile) eeprom data file (eep) ?
Reply #1 - May 29th, 2017 at 9:02pm
Print Post  
  
Back to top
WWW  
IP Logged
 
Kovy
Newbies
*
Offline


Posts: 6
Joined: Sep 18th, 2016
Re: How to generate (compile) eeprom data file (eep) ?
Reply #2 - May 29th, 2017 at 10:01pm
Print Post  
Hello, thanks for reply. On Arduino forum I not found solution exactly for this issue. But by chance I found, that desired *.eep file is generated by Visual Micro build. However - created *.eep file (by VM) is generated only in temporary folder %USERPROFILE%\AppData\Local\Temp\VMBuilds\<Project Name>\<Board type>\<Project configuration>\   and instead of other files - this one is not copied or moved to regular project folder.


Now, remains think up  - how solve this hitch...


Thanks

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to generate (compile) eeprom data file (eep) ?
Reply #3 - May 29th, 2017 at 10:03pm
Print Post  
Hi;

Which ide are you using and what is the version of visual micro that is shown in "tools>extensions and updates>installed>arduino/visual micro"
  
Back to top
WWW  
IP Logged
 
Kovy
Newbies
*
Offline


Posts: 6
Joined: Sep 18th, 2016
Re: How to generate (compile) eeprom data file (eep) ?
Reply #4 - May 30th, 2017 at 5:35am
Print Post  
Hello, I'm using:

Visual Studio 2017 Community (latest patch)
Arduino IDE (VM) 1705.8.0   (latest)
Selected IDE:  Arduino 1.6/1.8   ---->  directed to Arduino 1.8.2
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to generate (compile) eeprom data file (eep) ?
Reply #5 - May 30th, 2017 at 2:40pm
Print Post  
The final build files should be copied from the temp folder to the folder specified in the project final output folder.

In VS, normally this defaults to  "projectFolder\Configuration name" but sometimes it is "solutiuonFolder\configurationName"

You can also switch on "vMicro>Compiler>Show Build Folder" for a short cut to the main build temp in the compiler output.
  
Back to top
WWW  
IP Logged
 
Kovy
Newbies
*
Offline


Posts: 6
Joined: Sep 18th, 2016
Re: How to generate (compile) eeprom data file (eep) ?
Reply #6 - May 30th, 2017 at 3:18pm
Print Post  
OK, thanks for help  Wink


Have a nice day.


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