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 EEMEM not initialzed (Read 1016 times)
Red Baron
Member
***
Offline


Posts: 112
Location: Germany
Joined: Jul 29th, 2015
EEMEM not initialzed
Nov 5th, 2022 at 11:17am
Print Post  
In my code I want to use EEPROM:  uint8_t EEMEM i2cAddress[] = { 0x30 };

I use a programmer (stk500) to program an ATtiny85.

VM does not genrate a file for the EEPROM and avrdude has no upload option in the command line whem bulding the project.

Is there a possibility for initializing the EEPROM during upload?
  
Back to top
 
IP Logged
 
Red Baron
Member
***
Offline


Posts: 112
Location: Germany
Joined: Jul 29th, 2015
Re: EEMEM not initialzed
Reply #1 - Nov 5th, 2022 at 12:16pm
Print Post  
... and how to set the fuses?

In the VM menu you can select the speed (1 Mhz, 8 MHz, ...). But fuses are not set when uploading the program.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2697
Joined: Feb 13th, 2019
Re: EEMEM not initialzed
Reply #2 - Nov 8th, 2022 at 10:12am
Print Post  
Thanks for the report, can you upload your full build and upload output with the options shown at the top of the page so we can replicate your environment accurately to provide better help on the EEPROM elements?

The fuses are only set when you use the vMicro > Uploader > Burn Bootloader, which will set the CPU frequency on chip. This is a separate operation to uploading your code.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint