Page 1 of 1

Microbit DAPlink or Computer or USB drive problem?

Posted: Mon Nov 02, 2020 4:35 am
by zfm076
my microbit code:

Code: Select all

while(1)
{
  microbit.serial.send(microbit.thermometer.getTemperature());
  microbit.sleep(50);    //Send the temperature to the computer every 50ms
}
Problem:
In my computer :
It worked all day, The yellow light behind the board also blinks.There is no problem.

But it's on my friend's computer:
Can only work normally for a few minutes or ten minutes,Time is not fixed. The yellow light behind the board is usually on, not flashing,My friend's computer can't get data via USB. Then I change the board back to my computer ,it was able to work a full day. Why? I've been searching for a week and I can't find the reason. Do you have this problem? What do you think is most likely the problem?

Re: Microbit DAPlink or Computer or USB drive problem?

Posted: Mon Nov 02, 2020 2:46 pm
by shaoziyang
You can try to turn off the power saving option of USB.

Re: Microbit DAPlink or Computer or USB drive problem?

Posted: Tue Nov 03, 2020 1:58 am
by zfm076
shaoziyang wrote:
Mon Nov 02, 2020 2:46 pm
You can try to turn off the power saving option of USB.
Hi, Should not be usb energy saving problem.Because my friend's computer is working all the time, The computer monitor is on all the time, there is no dormant state. Can be the problem that DAPlink:0249 internal interrupt is stuck dead?