makerdiary / nrf52840-mdk-usb-dongle

An open-source, small and low-cost USB Dongle that supports Bluetooth 5.4, Bluetooth mesh, Thread, Zigbee, 802.15.4, ANT and 2.4 GHz proprietary protocols
https://wiki.makerdiary.com/nrf52840-mdk-usb-dongle/
Other
326 stars 83 forks source link

nRF connect #49

Open andrewtholt opened 3 years ago

andrewtholt commented 3 years ago

Not an issue more of a question.

Will nRF connect for desktop work with this device ?

Thanks, should be a nice simple question for you .

Regards, Andrew

Raboo commented 3 years ago

Yes.

andrewtholt commented 3 years ago

Hi,

Whilst your answer gets 10/10 for being concise it was not particularly helpful.

I have connected it to a Linux computer.

Started the nrf connect for desktop app. Clicked on "Bluetooth Low Energy" and the following errors:

Received status with code 0 PKT_SEND_MAX_RETRIES_REACHED, message: 'No response from device. Tried to send packet 6 times.'

serial port /dev/ttyACM0 closed.

Error occured when opening port. Errorcode: NRF_ERROR_TIMEOUT (0xd)

Do I need specific firmware loaded into the dongle ? where would I find it ?

Thanks Andrew

Raboo commented 3 years ago

You have two bootloaders available (probably more). Open Bootloader and U2F. Open Bootloader was shipped with the devices previously, now I believe they might ship the device with U2F. Open Bootloader is used with nRF Connect.

You can read a bit about it here https://wiki.makerdiary.com/nrf52840-mdk-usb-dongle/programming/. So you might have to switch to Open Bootloader if you want to use nRF Connect.

andrewtholt commented 3 years ago

Hi,

Sorry to keep bothering you, Please see below. I select a Hex, file connect to device and I get. Any suggestions?

[image: image.png]

On Mon, 11 Jan 2021 at 09:30, Elias Abacioglu notifications@github.com wrote:

You have two bootloaders available (probably more). Open Bootloader and U2F. Open Bootloader was shipped with the devices previously, now I believe they might ship the device with U2F. Open Bootloader is used with nRF Connect.

You can read a bit about it here https://wiki.makerdiary.com/nrf52840-mdk-usb-dongle/programming/. So you might have to switch to Open Bootloader if you want to use nRF Connect.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/makerdiary/nrf52840-mdk-usb-dongle/issues/49#issuecomment-757794538, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYVWSOK3VPUBEXLDMQJAMDSZLALTANCNFSM4VYVPLGQ .

Raboo commented 3 years ago

Just an FYI, I'm no expert, I just own a nrf52840-mdk-usb-dongle myself.

Anyways your image is not attached. Don't think attachments via email work on GitHub.

andrewtholt commented 3 years ago

Hi,

Thanks for the response.

Pressing the reset, then powering doesn't put the device into DFU mode. Any ideas about how I can recover it ?

On Wed, 13 Jan 2021 at 11:47, Elias Abacioglu notifications@github.com wrote:

Just an FYI, I'm no expert, I just own a nrf52840-mdk-usb-dongle myself.

Anyways your image is not attached. Don't think attachments via email work on GitHub.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/makerdiary/nrf52840-mdk-usb-dongle/issues/49#issuecomment-759397230, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYVWSKL7CPE5U5Y4J7WXN3SZWB6ZANCNFSM4VYVPLGQ .

Grazfather commented 3 years ago

@andrewtholt , hold reset while plugging in the device, and hold the button until the second LED turns green.

You should now have a new disk mounted. You can put uf2 files there.

You probably want to put a uf2 for the OpenBootloader there. See #41 for the basic idea, but with circuit python.

andrewtholt commented 3 years ago

Hi,

Thanks that cured my problem:

CURRENT.UF2 INDEX.HTM INFO_UF2.TXT

I presume that CURRENT.UF2 is the bootloader

and INFO_UF2.TXT contains:

Model: nRF52840 MDK USB Dongle Board-ID: nRF52840-Dongle-v1 Date: Feb 3 2020

Thanks again. Andrew

On Fri, 22 Jan 2021 at 00:56, Grazfather notifications@github.com wrote:

@andrewtholt https://github.com/andrewtholt , hold reset while plugging in the device, and hold the button until the second LED turns green.

You should now have a new disk mounted. You can put uf2 files there.

You probably want to put a uf2 for the OpenBootloader there. See #41 https://github.com/makerdiary/nrf52840-mdk-usb-dongle/issues/41 for the basic idea, but with circuit python.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/makerdiary/nrf52840-mdk-usb-dongle/issues/49#issuecomment-765040183, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYVWSLYWWSA3HJGPJZEXITS3DEMDANCNFSM4VYVPLGQ .

chuckixia commented 3 years ago

I would like to downgrade this device and use the nrf connect utility instead. How can go back to open boot loader?