Hi Arthur,
I would recommend you taking a closer look at the attached document describing all the necessary steps for programming the FXTH87xx devices.
There is also a similar thread discussing this topic - e: FXTH870502DT1 programming
Regards,
Tomas
PS: If my answer helps to solve your question, please mark it as "Correct". Thank you.