This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Help running BLE APP ATT MTU THROUGHPUT example

Hi,

I am trying to replicate the "Throughput and long range demo" from devzone.nordicsemi.com/.../

I have two nRF52840 boards. I am using IAR studio. I can compile, build and run the blinky demo without any problems. However whenever I try to do anything with Bluetooth I am running into a brick wall.

First question. How do the Softdevices work. Are they something that is flashed onto the device or is it a library that is linked against during build. I have SDK 13 and I also have downloaded s140 5.0.0.3-alpha.

If I have the blinky program running and then download and run a build of a Bluetooth program then the LEDs keeping running, almost as if the board didn't get reprogrammed, but IAR says there is a debug sessions running.

Is that normal? Any clues about what I could be doing wrong?

Also, is there a way to get logging information from NRF_LOG_INFO without wiring up a serial cable? Over USB? Is that what the nRF USB port is for?

Thanks. Gary.

Parents
  • Follow-up (2). None of the BLE programs that I build either with IAR or with GCC work. I can build the blinky program with GCC OK and it runs. But no luck with the BLE ones.

    Also when trying to use "make flash" to download the .hex file to the board I get:

    Flashing: _build/nrf52840_xxaa.hex nrfjprog --program _build/nrf52840_xxaa.hex -f nrf52 --sectorerase ERROR: The --family option given with the command (or the default from nrfjprog.ini) ERROR: does not match the device connected.

Reply
  • Follow-up (2). None of the BLE programs that I build either with IAR or with GCC work. I can build the blinky program with GCC OK and it runs. But no luck with the BLE ones.

    Also when trying to use "make flash" to download the .hex file to the board I get:

    Flashing: _build/nrf52840_xxaa.hex nrfjprog --program _build/nrf52840_xxaa.hex -f nrf52 --sectorerase ERROR: The --family option given with the command (or the default from nrfjprog.ini) ERROR: does not match the device connected.

Children
No Data
Related