makerdiary / nrf52840-mdk

An Open-Source, Micro Development Kit for IoT Applications using the nRF52840 SoC
https://wiki.makerdiary.com/nrf52840-mdk/
169 stars 42 forks source link

mdk board connected to usb port, but can't be found by pyocd-flashtool #39

Closed wangyanjiong163 closed 4 years ago

wangyanjiong163 commented 4 years ago

Hi Experts,

I wanna to flash my mdk board, but my board can't be found by pyocd-flashtool.

WARNING:pyocd.tools.flash_tool:pyocd-flashtool is deprecated; please use the new combined pyocd tool. No available debug probes are connected

Maybe the bin is not the original one. Any way I can do to make sure the board could be seen by pyocd-flashtool?

Thanks.

xiongyihui commented 4 years ago

Did you see a USB drive when the device was connected to your computer? If no USB drive is found, the device is detected by the computer.

wangyanjiong163 commented 4 years ago

What dev node should be seen under /dev after mdk connect to pc running ubuntu? If such node not exist, what should I do to fix it?

xiongyihui commented 4 years ago

You can use lsusb or dmesg to check if the device is detected on Ubuntu.

wangyanjiong163 commented 4 years ago

Yes,I have checked with lsusb. Nothing changed before and after the device connected. It seem not detected.

Is that possible the fw in the mdk board not supporting fw update?

xiongyihui commented 4 years ago

Did you use a USB hub with it? The nRF52840 MDK has a built-in USB hub. Too many levels of USB hubs may cause problems.

Or use an other computer to have a try.

wangyanjiong163 commented 4 years ago

Thanks Yihui. It is the USB hub issue.