Hi,
Other need to be configured too. Check the datasheet under Special Features of the CPU, bit by bit. The code protection for the program memory and EEPROM depends on you whether or not to set them. Usually high voltage programming (bit 7) is used, depends on your programmer. BOR and PWRTEN are good to be enabled. WDT is disabled.
It takes some time to understand, but for the first time, just copy other's example and test.
Hi,
Other need to be configured too. Check the datasheet under Special Features of the CPU, bit by bit. The code protection for the program memory and EEPROM depends on you whether or not to set them. Usually high voltage programming (bit 7) is used, depends on your programmer. BOR and PWRTEN are good to be enabled. WDT is disabled.
It takes some time to understand, but for the first time, just copy other's example and test.