Added descriptive error message for unconfigured device.

Change-Id: I9b70045a697dd8790001700659ffe36ab5902765
Signed-off-by: Tom Swindell <t.swindell@rubyx.co.uk>