Thanks! I just noticed there may be a problem : the software might writeMSB (Most Significant Byte) first whereas it should write LSB (Least Significant Byte) first. I'll check this afternoon!
Have a nice day!
EDIT : i fixed everything, I also added configuration word support. But I have an internet problem so I can't upload my code and .exe yet :s