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/
Apache License 2.0
319 stars 82 forks source link

Blinky .hex does not work #22

Closed oschade closed 4 years ago

oschade commented 4 years ago

Hello,

i can't make the blinky example run on my nrf52840 mdk usb dongle. I followed the tutorial at:

https://wiki.makerdiary.com/nrf52840-mdk-usb-dongle/nrf5-sdk/ and https://wiki.makerdiary.com/nrf52840-mdk-usb-dongle/programming/

I compiled one blinky example by myself, but neither this one nor the one from this repository can be transfer to the usb dongle. Please see the picture below:

blinky app does not work

Where is the problem? I was able to transfer a soft device and the ble blinky example. But this doesn't show any ble signal in my smartphone. What am I doing wrong?

caizelin commented 4 years ago

@oschade Please check the blinky_gcc_nrf52.ld file to make sure using the right memory regions:

MEMORY
{
  FLASH (rx) : ORIGIN = 0x1000, LENGTH = 0xff000
  RAM (rwx) :  ORIGIN = 0x20000008, LENGTH = 0x3fff8
}
oschade commented 4 years ago

Cool, now it works! Thank you!