Hello, I'm sorry you haven't had an answer sooner.
To reprogramme the remote fob on a 2002 to 2007 P12 Nissan Primera is given below.
Attachments are only available to registered users.
The immobiliser section can only be programmed using a suitable diagnostic tool.
Let me know if I can assist further.