Hello Jorge
Many thanks for getting back to me and apologies for the delay in responding to your answer....
I found the root cause of the problem I was experiencing being a file that I had somehow included in the build - usb_init.c - which included the setup for a USB_HID. Once this was removed, the problem went away.
I appreciate your responding though.....
Regards
Ken