Inverter building using Wiseguys Power board and the Nano drive board


Author Message
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1768
Posted: 04:16am 12 Jun 2024      

Backing up the Nano inverter settings:

Once you have setup the Inverter and calibrated inputs, It is a good idea to backup your settings just in case, a lot easier then having to re-calibrate and set everything up again.

Below is the setup screen we used to upload the Inverter HEX file.

Select the  round "Read" option in the "EEPROM" frame.



When you Click on the [...] button at the end of the EEPROM file line, you will open a window something like the following:

If a file exists it will be overwritten, type a new file name and it will be created when the EEprom from the Nano is read.
 



To Backup: Press the "Go" Button below the EEPROM Backup File entry line on AVRDUDESS. It's surrounded in a blue border in the Image below.  

This is what you should see after an EEprom read / backup, check the Black output window at the bottom.



Below: To restore The Inverter backup EEprom file:

Same as above but Select the File to restore from, select the "Write" option below the File name line, press the "Go" button.



Restoring EEprom configuration Data does not affect the Main Code in the Nano.

Once restored you should delete the File path in from File line, this stops any accidental writing or reading to the EEprom or your Backup file.

Note: The format selection below the end of each File entry Line must always be HEX.    
.

Footnote added 2024-06-12 18:12 by KeepIS
Correction  Under the first Image:

  Quote  If a file exists it will be overwritten, type a new file name and it will be created when the EEprom from the Nano is read


You may have to use your chosen Directory viewer and create a Directory to keep the EEprom backup files in, then create an empty text file with a .HEX extension IE: "EEbackup.hex" in that directory. Load that file into ARVdudess for you first EEprom backup.

That file will be overwritten when you "Read" the EEprom. From then on the ARVdudess program will remember that directory path and file name.

To makes another backup file, just select the same file and change the file name in the EEprom file name line in Avrdudess.

I hope that makes sense.
.