Setting all bytes of flashProtect as 0xFF will change the protection setting of each row to Full Protection. So, the example is setting Full Protection to each row of flash.
In your case, if you have to set Unprotected flash setting each of the flash rows then please set the all bytes of flashProtect to 0x00.
Every bit defines the write-protection setting for the corresponding user row. So, if the value of flashProtect byte is 0x03 then the first two rows are with Full Protection setting.
Hope this helps,
Thanks and Regards,
Rakshith M B
"So, if the value of flashProtect byte is 0x03 then the first two bytes are with Full Protection setting."
Do you really mean the first two rows ?