Keep getting message about device booting

I am trying to control a servo motor via the electric imp. The servo motor works fine when I am using an arduino but not via the imp. The electric imp decides to boot again as soon as I send a signal to the servo motor via the electric imp. Sample logs below.
Any idea why this is happening? I am powering the servo motor via the arduino and using the imp only for signalling the servo motor.
Also how do I find what firmware version my imp is running?
Logs and device code below.
Thanks,
Sangeetha

2014-01-19 23:24:18 UTC+5.5: [Status] Device booting; 1.83% program storage used
2014-01-19 23:24:50 UTC+5.5: [Status] Device booting; 1.83% program storage used
2014-01-19 23:26:22 UTC+5.5: [Agent] setting val to 0.05
2014-01-19 23:26:22 UTC+5.5: [Device] Set Servo: 0.05
2014-01-19 23:26:25 UTC+5.5: [Status] Device booting; 1.83% program storage used
2014-01-19 23:26:27 UTC+5.5: [Status] Device booting; 1.83% program storage used
2014-01-19 23:26:30 UTC+5.5: [Status] Device booting; 1.83% program storage used

Device Code :-
serv <- hardware.pin8; serv.configure(PWM_OUT, 0.020, 0.1); function setServo(servoState) { server.log("Set Servo: " + servoState); serv.write(servoState); } agent.on("servo", setServo);

Firmware version

nvm

I ran the code you posted in a loop while adding code to trigger “servo” and my Imp boots only once and seems to work fine.

Thanks. The firmware seems to be recent.
device firmware version: af0f28a - release-27.10 - Fri Dec 13 11:08:38 2013

The electric imp seems to reboot only when connected to the servo motor and right after the following command:-
serv.write(servoState); // Here servoState is a floating number like 0.08

If I disconnect the servo motor the electric imp does not reboot when the same command is executed. I am using V0006 servo motor

Any ideas on what could be wrong?

It sounds like you might be drawing too much current from your power supply.

You mentioned that the servo is powered via the arduino, but are the imp and arduino powered from the same source?

I figured out what the problem was. I was powering up the electric imp via the 5V output of the arduino. When I powered up the electric imp via USB I had no problem controlling the servo motor.
Most probably the arduino was not able to supply enough power to the servo motor as well as the imp…
Thanks everyone.

Thanks philmy…saw your message after posting mine!!