Motivation to write up - well unfortunately money running out didn't seem to make any difference to me :o( What worked for me: having someone else set my deadline for me (but i'm no good at sticking to my own deadlines), having something to look forward to afterwards (holiday), setting myself a daily and weekly schedule (good for getting started even if you don't stick to it), and setting mini targets that you can tick off and feel good about seeing the progress, making sure you take regular breaks (e.g. harry potter) or exercise (e.g thrash out frustration on a squash court). Limiting internet/email time (not worked for me today, not done any work yet!!)