Inverter building using Wiseguys Power board and the Nano drive board


Author Message
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1768
Posted: 03:40am 12 Jun 2024      

2: Setting and Reading the Nano configuration Fuses:

Nano Fuses are "programmable nonvolatile registers", one is used to stop EEprom data "Inverter settings", from being overwritten, "lost" when Nano Flash is erased or when uploading New inverter HEX code to the Nano.

1: Press the lower Read button on the "Fuse & lock bits" frame.

2: Press the long "Bit selector" button. See Last post for the location:  

The following image is likely what you will see for a New Nano board. The two blue boxes BLB12, BLB11, are the boot loader protect bits.

They stop that area of Flash memory from being overwritten when uploading standard Arduino code files via the boot loader and USB port in the Arduino IDE.

Below: New Nano with boot-loader Config bits.


 
Below is what we want the bits to look like.



Now, there is something strange going on when reading and setting these Bits but doing the following works.

1: Read the Top "L" block    
2: Set the Bit boxes to look like the last image above.
3: Press "OK" to close the popup window.
4: Press the Top write button.
5: Press the Lower "LB" write button.

Now repeat with the lower block

1: Read the Lower "LB" block.  If it EESAVE is not equal to 0, do the following:

2: Set the Bit boxes to look like the last image above.
3: Press "OK" to close the popup window.
4: Press the Lower write button.

Now confirm both read the same.

The Main setting we really need correct is EESAVE "it must be 0"

Saving and restoring Inverter configuration and setup to follow
.