Thanks Henrik,

I made a simple flip flop code; and even it did not work. So, I can not test whether your suggestion actually works or not.

There must be something specific with the programming of this chip.

Even though I get no error when programming, I can't get it work.