Thank you, i have fixed a problem, and now my code is being written to the board. However one last problem appeared. I wrote a code that blinks the leds with 0.5 seconds interval. However after running the program and after connecting the leds to the port, the leds do not seem to blink. They light up the whole time? My code is 100% correct. What do uou think the problem is?