Thanks guys for all your input. Problem found and solved with the torch switching on. Im an idiot - Silly me it was the charge pump pin and port config. I had it port 17 : pin 2 when in fact it was port 2 : pin 17.
I know I'm an idiot for 2 weeks battling with everything else and not noticing the obvious staring me in the face.
Anyway the supplier picked p the problem in 2 tick. Thanks to him and all here for their input.