I tried the pinout for the D1....D3 but I couldn't get the adapter to work, most probably because I don't know how to use it. However, I noticed that after disconnecting the adapter and switching the router back on, the power light momentarily blinked green before going amber and continued to blink. Just for the sake of it, I retried to enter the Emergency Room Web interface and it worked, although the firmware update did not.
After this firmware update failed I tried to get to the Emergency Room Web interface but without any luck. I reconnected my adapter, powered it up then disconnected it again; I was then able to access the Emergency Room Web interface again.
Obviously, connecting my adapter causes the router to reset or drop a condition that a normal reset will not do, most bizarre. Any way I've now managed to update the router with DDwrt which seems to be working fine.
I'll contact D-Link to see if they will give me the pin outs for the serial connector.
Many thanks.