If you have this board and you can't program it, then this is the article for you.
After you have finished writing the code and compiling it, connect your board and power it on.
Before programming it, reset the board and then load the program to it.
This has to be done within a short amount of time in order for it to work.